Profiling results ----------------- Total cpu time observed: 17940ms (out of 18280ms) Number of samples taken: 81 (once every 221ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [27] 100.0% [1] 17524(97.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% --------------------------------------------------------------------- ??? [27] 100.0% [2] 8000(44.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [7] 73.2% for-loop [8] 26.8% --------------------------------------------------------------------- copying-mergesort [43] 100.0% [3] 2242(12.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [51] 100.0% --------------------------------------------------------------------- loop [53] 9.6% ??? [27] 90.4% [4] 1908(10.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [9] 50.9% simplify-expr [10] 39.4% iterate-egraph!5 [13] 9.6% --------------------------------------------------------------------- hash-ref! [55] 100.0% [5] 216(1.2%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 simplify [58] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 17524(97.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [27] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 5860(32.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [11] 96.9% extract-alt [15] 3.1% --------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 2140(11.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [12] 100.0% --------------------------------------------------------------------- simplify [4] 100.0% [9] 972(5.4%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [13] 79.4% loop [14] 20.6% --------------------------------------------------------------------- simplify [4] 100.0% [10] 752(4.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [13] 100.0% --------------------------------------------------------------------- get-final-combination [7] 100.0% [11] 5676(31.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [16] 100.0% --------------------------------------------------------------------- for-loop [8] 100.0% [12] 2140(11.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [17] 80.6% gen-series! [19] 19.4% --------------------------------------------------------------------- simplify [4] 10.8% simplify-expr [10] 44.0% for-loop [9] 45.2% [13] 1708(9.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [18] 100.0% --------------------------------------------------------------------- for-loop [9] 100.0% [14] 200(1.1%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [20] 100.0% --------------------------------------------------------------------- get-final-combination [7] 100.0% [15] 184(1.0%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [53] 100.0% --------------------------------------------------------------------- split-table [11] 100.0% [16] 5676(31.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [21] 75.3% loop [53] 24.7% --------------------------------------------------------------------- run-iter! [12] 100.0% [17] 1724(9.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [22] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [13] 100.0% [18] 1708(9.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [23] 88.8% loop [26] 11.2% --------------------------------------------------------------------- run-iter! [12] 100.0% [19] 416(2.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [24] 100.0% --------------------------------------------------------------------- loop [14] 100.0% [20] 200(1.1%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [25] 100.0% --------------------------------------------------------------------- loop [53] 24.7% infer-splitpoints4 [16] 75.3% [21] 5676(31.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [28] 93.3% pick-errors [31] 6.7% --------------------------------------------------------------------- simplify! [17] 100.0% [22] 1724(9.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [27] 100.0% --------------------------------------------------------------------- for-loop [23] 50.0% one-iter [18] 50.0% [23] 1516(8.5%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [23] 50.0% match-e [29] 50.0% --------------------------------------------------------------------- gen-series! [19] 100.0% [24] 416(2.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [30] 100.0% --------------------------------------------------------------------- pass [20] 100.0% [25] 200(1.1%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [32] 100.0% --------------------------------------------------------------------- one-iter [18] 100.0% [26] 192(1.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [33] 100.0% --------------------------------------------------------------------- for-loop [22] 3.4% run [6] 48.0% [27] 17724(98.8%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.0% loop [34] 27.4% run-improve58 [2] 21.1% simplify [4] 3.4% --------------------------------------------------------------------- option-on-expr [21] 100.0% [28] 5296(29.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [35] 100.0% --------------------------------------------------------------------- for-loop [41] 6.1% for-loop [23] 93.9% [29] 1516(8.5%) 958(5.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [36] 36.8% for-loop [41] 6.1% --------------------------------------------------------------------- for-loop [24] 100.0% [30] 416(2.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [37] 100.0% --------------------------------------------------------------------- option-on-expr [21] 100.0% [31] 380(2.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [38] 100.0% --------------------------------------------------------------------- for-loop [25] 100.0% [32] 200(1.1%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [39] 100.0% --------------------------------------------------------------------- loop [26] 100.0% [33] 192(1.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 for-loop [40] 100.0% --------------------------------------------------------------------- ??? [27] 100.0% [34] 9724(54.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [46] 53.7% loop [42] 46.3% --------------------------------------------------------------------- sort-context-on-expr [28] 100.0% [35] 5296(29.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 69.3% loop [48] 30.7% --------------------------------------------------------------------- match-e [29] 100.0% [36] 558(3.1%) 186(1.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 loop [53] 66.7% --------------------------------------------------------------------- taylor-alt [30] 100.0% [37] 416(2.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [44] 100.0% --------------------------------------------------------------------- pick-errors [31] 100.0% [38] 380(2.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [54] 100.0% --------------------------------------------------------------------- argmin [32] 100.0% [39] 200(1.1%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [45] 100.0% --------------------------------------------------------------------- apply-match [33] 100.0% [40] 192(1.1%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 loop! [65] 100.0% --------------------------------------------------------------------- match-e [29] 100.0% [41] 184(1.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [29] 100.0% --------------------------------------------------------------------- loop [34] 100.0% [42] 4498(25.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [47] 82.7% make-exacts* [46] 17.3% --------------------------------------------------------------------- sort [35] 42.4% copying-mergesort [43] 57.6% [43] 3670(20.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 57.6% loop [48] 27.1% jloop [3] 15.3% --------------------------------------------------------------------- for-loop [37] 100.0% [44] 416(2.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [49] 100.0% --------------------------------------------------------------------- expression-cost [39] 100.0% [45] 200(1.1%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [55] 100.0% --------------------------------------------------------------------- loop [42] 12.9% loop [34] 87.1% [46] 6002(33.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [53] 56.0% map [50] 44.0% --------------------------------------------------------------------- loop [42] 100.0% [47] 3722(20.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [50] 100.0% --------------------------------------------------------------------- copying-mergesort [43] 46.8% sort [35] 53.2% [48] 3054(17.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [51] 100.0% --------------------------------------------------------------------- location-do [44] 100.0% [49] 416(2.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [52] 100.0% --------------------------------------------------------------------- f293 [76] 3.0% make-exacts* [46] 40.2% loop [47] 56.7% [50] 6560(36.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [53] 92.4% ??? [57] 4.5% simplify-node [56] 3.0% --------------------------------------------------------------------- jloop [3] 42.3% loop [48] 57.7% [51] 5296(29.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [54] 92.8% ??? [57] 7.2% --------------------------------------------------------------------- approximate9 [49] 100.0% [52] 416(2.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [55] 100.0% --------------------------------------------------------------------- ??? [57] 0.0% make-exacts* [46] 0.0% loop! [65] 0.2% for-loop [36] 0.3% map [50] 0.5% extract-alt [15] 1.6% infer-splitpoints4 [16] 12.1% loop [53] 85.3% [53] 11578(64.5%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [53] 85.3% option-on-expr [21] 12.1% simplify [4] 1.6% ??? [57] 0.5% curried [66] 0.2% loop! [65] 0.2% foldl [68] 0.1% real->bigfloat [69] 0.0% ??? [86] 0.0% --------------------------------------------------------------------- for-loop [38] 7.2% ??? [51] 92.8% [54] 5294(29.5%) 4076(22.7%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [60] 7.7% parse-app [61] 7.6% new-lambda [62] 4.2% ??? [67] 3.5% --------------------------------------------------------------------- ??? [63] 8.1% ??? [64] 16.2% compile [45] 16.2% loop [52] 16.9% ??? [59] 42.5% [55] 616(3.4%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [59] 42.5% ??? [64] 32.5% taylor-invert [5] 8.8% ??? [63] 8.1% simplify [58] 8.1% --------------------------------------------------------------------- map [50] 100.0% [56] 200(1.1%) 0(0.0%) simplify-node ...k/herbie/src/core/reduce.rkt:41:0 f293 [76] 100.0% --------------------------------------------------------------------- map [50] 2.9% ??? [51] 3.8% loop [53] 93.3% [57] 10106(56.3%) 1116(6.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [70] 33.7% real->bigfloat [69] 27.2% loop [53] 14.3% ??? [86] 7.2% ...e/case-arrow.rkt:150:50 [71] 4.6% ->flonum [75] 2.0% --------------------------------------------------------------------- hash-ref! [55] 48.1% taylor-invert [5] 51.9% [58] 416(2.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [74] 51.9% f293 [76] 48.1% --------------------------------------------------------------------- hash-ref! [55] 100.0% [59] 416(2.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [55] 100.0% --------------------------------------------------------------------- eval-prog [54] 100.0% [60] 406(2.3%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [72] 100.0% --------------------------------------------------------------------- eval-prog [54] 100.0% [61] 404(2.3%) 404(2.3%) parse-app .../collects/racket/private/kw.rkt:903:2 --------------------------------------------------------------------- eval-prog [54] 100.0% [62] 222(1.2%) 0(0.0%) new-lambda ...ollects/racket/private/kw.rkt:631:11 loop [73] 100.0% --------------------------------------------------------------------- hash-ref! [55] 100.0% [63] 200(1.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [55] 100.0% --------------------------------------------------------------------- hash-ref! [55] 100.0% [64] 200(1.1%) 200(1.1%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 hash-ref! [55] 50.0% --------------------------------------------------------------------- loop [53] 50.0% for-loop [40] 50.0% [65] 192(1.1%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 loop [53] 50.0% set [77] 50.0% --------------------------------------------------------------------- loop [53] 100.0% [66] 190(1.1%) 190(1.1%) curried ...cket/collects/racket/function.rkt:71:18 --------------------------------------------------------------------- eval-prog [54] 100.0% [67] 186(1.0%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [78] 100.0% --------------------------------------------------------------------- loop [53] 100.0% [68] 182(1.0%) 0(0.0%) foldl ...et/collects/racket/private/list.rkt:229:4 merge2 [79] 100.0% --------------------------------------------------------------------- loop [53] 26.6% ??? [57] 73.4% [69] 3740(20.8%) 2502(13.9%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [81] 33.1% --------------------------------------------------------------------- ??? [57] 100.0% [70] 3406(19.0%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [80] 44.4% ...higher-order.rkt:373:33 [82] 33.2% ??? [84] 22.4% --------------------------------------------------------------------- ??? [57] 100.0% [71] 466(2.6%) 466(2.6%) ...e/case-arrow.rkt:150:50 (unknown source) --------------------------------------------------------------------- loop [72] 24.6% go [60] 75.4% [72] 406(2.3%) 406(2.3%) loop ...llects/racket/private/qq-and-or.rkt:101:61 loop [72] 24.6% --------------------------------------------------------------------- loop [73] 50.0% new-lambda [62] 50.0% [73] 222(1.2%) 222(1.2%) loop .../collects/racket/private/stxcase.rkt:112:7 loop [73] 50.0% --------------------------------------------------------------------- simplify [58] 100.0% [74] 216(1.2%) 216(1.2%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 --------------------------------------------------------------------- ??? [57] 100.0% [75] 204(1.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [83] 100.0% --------------------------------------------------------------------- simplify-node [56] 50.0% simplify [58] 50.0% [76] 200(1.1%) 200(1.1%) f293 .../collects/racket/match/compiler.rkt:499:40 map [50] 50.0% --------------------------------------------------------------------- loop! [65] 100.0% [77] 192(1.1%) 192(1.1%) set ...collects/racket/private/set-types.rkt:982:0 --------------------------------------------------------------------- ??? [67] 100.0% [78] 186(1.0%) 186(1.0%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 --------------------------------------------------------------------- foldl [68] 100.0% [79] 182(1.0%) 182(1.0%) merge2 ...ztatlock/herbie/src/core/ematch.rkt:31:0 --------------------------------------------------------------------- ??? [70] 100.0% [80] 1512(8.4%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [84] 100.0% --------------------------------------------------------------------- real->bigfloat [69] 100.0% [81] 1238(6.9%) 1238(6.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [70] 100.0% [82] 1130(6.3%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [85] 82.7% ??? [86] 17.3% --------------------------------------------------------------------- ->flonum [75] 100.0% [83] 204(1.1%) 204(1.1%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [70] 33.6% bf* [80] 66.4% [84] 2276(12.7%) 518(2.9%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [87] 56.0% ??? [88] 21.3% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [82]100.0% [85] 934(5.2%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [86] 100.0% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [82] 8.5% loop [53] 19.5% ??? [57] 31.4% ??? [85] 40.5% [86] 2304(12.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [88] 100.0% --------------------------------------------------------------------- ??? [84] 100.0% [87] 1274(7.1%) 1274(7.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 --------------------------------------------------------------------- ??? [84] 17.4% ??? [86] 82.6% [88] 2788(15.5%) 1218(6.8%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [89] 41.0% ??? [90] 15.3% --------------------------------------------------------------------- ??? [88] 100.0% [89] 1144(6.4%) 458(2.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [91] 60.0% --------------------------------------------------------------------- ??? [88] 100.0% [90] 426(2.4%) 426(2.4%) ??? ...ects/racket/contract/private/prop.rkt:489:4 --------------------------------------------------------------------- ??? [89] 100.0% [91] 686(3.8%) 686(3.8%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------