Profiling results ----------------- Total cpu time observed: 36926ms (out of 37456ms) Number of samples taken: 157 (once every 235ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 102 hidden) ========================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ========================================================================= ??? [36] 100.0% [1] 36722(99.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [11] 100.0% ------------------------------------------------------------------------- ??? [36] 100.0% [2] 8050(21.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [12] 78.4% get-final-combination [17] 19.2% loop [44] 2.4% ------------------------------------------------------------------------- location-do [53] 100.0% [3] 3934(10.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [13] 100.0% ------------------------------------------------------------------------- hash-ref! [74] 100.0% [4] 3734(10.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [14] 56.2% parse-loop50 [65] 43.8% ------------------------------------------------------------------------- hash-ref! [74] 100.0% [5] 2262(6.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [15] 100.0% ------------------------------------------------------------------------- hash-ref! [74] 100.0% [6] 1838(5.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [16] 100.0% ------------------------------------------------------------------------- hash-ref! [74] 100.0% [7] 1430(3.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:483:23 for-loop [18] 100.0% ------------------------------------------------------------------------- ??? [36] 100.0% [8] 1250(3.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [23] 64.8% simplify-expr [19] 35.2% ------------------------------------------------------------------------- hash-ref! [74] 100.0% [9] 464(1.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [69] 100.0% ------------------------------------------------------------------------- copying-mergesort [54] 100.0% [10] 422(1.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [63] 100.0% ------------------------------------------------------------------------- profile-thunk14 [1] 100.0% [11] 36722(99.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [36] 100.0% ------------------------------------------------------------------------- run-improve58 [2] 100.0% [12] 6312(17.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [20] 100.0% ------------------------------------------------------------------------- approximate9 [3] 100.0% [13] 3934(10.7%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [74] 100.0% ------------------------------------------------------------------------- parse-loop50 [65] 8.8% map [62] 11.0% loop [69] 11.0% simplify [4] 69.3% [14] 2300(6.2%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [62] 100.0% ------------------------------------------------------------------------- ??? [5] 100.0% [15] 2262(6.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [21] 100.0% ------------------------------------------------------------------------- ??? [6] 100.0% [16] 1838(5.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [74] 100.0% ------------------------------------------------------------------------- run-improve58 [2] 100.0% [17] 1546(4.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [22] 100.0% ------------------------------------------------------------------------- ??? [7] 100.0% [18] 1430(3.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:487:35 parse-loop50 [65] 100.0% ------------------------------------------------------------------------- simplify [8] 100.0% [19] 440(1.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [23] 100.0% ------------------------------------------------------------------------- for-loop [12] 100.0% [20] 6312(17.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 gen-series! [24] 62.3% simplify! [26] 19.8% finalize-iter! [28] 11.2% choose-best-alt! [29] 6.7% ------------------------------------------------------------------------- for-loop [15] 100.0% [21] 2262(6.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [74] 100.0% ------------------------------------------------------------------------- get-final-combination [17] 100.0% [22] 1546(4.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [25] 100.0% ------------------------------------------------------------------------- simplify-expr [19] 35.2% simplify [8] 64.8% [23] 1250(3.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [27] 82.4% map-enodes [30] 17.6% ------------------------------------------------------------------------- run-iter! [20] 100.0% [24] 3934(10.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% ------------------------------------------------------------------------- split-table [22] 100.0% [25] 1546(4.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [32] 100.0% ------------------------------------------------------------------------- run-iter! [20] 100.0% [26] 1250(3.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [33] 100.0% ------------------------------------------------------------------------- iterate-egraph!5 [23] 100.0% [27] 1030(2.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [35] 100.0% ------------------------------------------------------------------------- run-iter! [20] 100.0% [28] 706(1.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [34] 100.0% ------------------------------------------------------------------------- run-iter! [20] 100.0% [29] 422(1.1%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:120:0 ??? [34] 100.0% ------------------------------------------------------------------------- iterate-egraph!5 [23] 100.0% [30] 220(0.6%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [69] 100.0% ------------------------------------------------------------------------- gen-series! [24] 100.0% [31] 3934(10.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [37] 100.0% ------------------------------------------------------------------------- infer-splitpoints4 [25] 100.0% [32] 1546(4.2%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [38] 85.6% err-lsts->split-indices [43] 14.4% ------------------------------------------------------------------------- simplify! [26] 100.0% [33] 1250(3.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [36] 100.0% ------------------------------------------------------------------------- choose-best-alt! [29] 37.4% finalize-iter! [28] 62.6% [34] 1128(3.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [40] 41.1% atab-pick-alt8 [41] 37.4% for-loop [42] 21.5% ------------------------------------------------------------------------- for-loop [35] 50.0% one-iter [27] 50.0% [35] 1030(2.8%) 210(0.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [35] 50.0% match-e [39] 39.8% ------------------------------------------------------------------------- for-loop [33] 1.1% run [11] 49.2% [36] 36926(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.2% loop [44] 39.4% run-improve58 [2] 10.3% simplify [8] 1.1% ------------------------------------------------------------------------- for-loop [31] 100.0% [37] 3934(10.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [45] 100.0% ------------------------------------------------------------------------- option-on-expr [32] 100.0% [38] 1324(3.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [46] 100.0% ------------------------------------------------------------------------- for-loop [51] 12.2% for-loop [35] 87.8% [39] 820(2.2%) 420(1.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [50] 24.4% for-loop [51] 12.2% loop [69] 12.2% ------------------------------------------------------------------------- ??? [34] 100.0% [40] 464(1.3%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [47] 100.0% ------------------------------------------------------------------------- ??? [34] 100.0% [41] 422(1.1%) 0(0.0%) atab-pick-alt8 ...rbie/src/core/alt-table.rkt:54:0 ??? [48] 100.0% ------------------------------------------------------------------------- ??? [34] 100.0% [42] 242(0.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [47] 100.0% ------------------------------------------------------------------------- option-on-expr [32] 100.0% [43] 222(0.6%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 for-loop [49] 100.0% ------------------------------------------------------------------------- run-improve58 [2] 0.7% ??? [36] 99.3% [44] 29068(78.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [52] 51.5% make-exacts* [58] 36.7% loop [59] 11.8% ------------------------------------------------------------------------- taylor-alt [37] 100.0% [45] 3934(10.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [53] 100.0% ------------------------------------------------------------------------- sort-context-on-expr [38] 100.0% [46] 1324(3.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 loop [60] 51.5% copying-mergesort [54] 48.5% ------------------------------------------------------------------------- for-loop [42] 34.3% atab-add-altns [40] 65.7% [47] 706(1.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [55] 65.7% override-at-pnts [57] 34.3% ------------------------------------------------------------------------- atab-pick-alt8 [41] 100.0% [48] 422(1.1%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:369:33 best-alt [56] 100.0% ------------------------------------------------------------------------- err-lsts->split-indices [43] 100.0% [49] 222(0.6%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:262:4 map [62] 100.0% ------------------------------------------------------------------------- match-e [39] 100.0% [50] 200(0.5%) 200(0.5%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ------------------------------------------------------------------------- match-e [39] 100.0% [51] 200(0.5%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [39] 100.0% ------------------------------------------------------------------------- loop [44] 100.0% [52] 14974(40.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [59] 50.5% make-exacts* [58] 43.1% eval-prog [66] 6.3% ------------------------------------------------------------------------- for-loop [45] 41.1% location-do [53] 58.9% [53] 3934(10.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [53] 58.9% approximate9 [3] 41.1% ------------------------------------------------------------------------- copying-mergesort [54] 49.3% sort [46] 50.7% [54] 642(1.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [54] 49.3% loop [60] 34.3% jloop [10] 16.4% ------------------------------------------------------------------------- atab-add-altn [47] 100.0% [55] 464(1.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [67] 100.0% ------------------------------------------------------------------------- ??? [48] 100.0% [56] 422(1.1%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:79:0 loop [61] 100.0% ------------------------------------------------------------------------- atab-add-altn [47] 100.0% [57] 242(0.7%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [67] 100.0% ------------------------------------------------------------------------- loop [52] 37.7% loop [44] 62.3% [58] 17130(46.4%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [69] 52.6% map [62] 47.4% ------------------------------------------------------------------------- loop [44] 31.1% loop [52] 68.9% [59] 10988(29.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [62] 100.0% ------------------------------------------------------------------------- copying-mergesort [54] 24.4% sort [46] 75.6% [60] 902(2.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [63] 100.0% ------------------------------------------------------------------------- best-alt [56] 100.0% [61] 422(1.1%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:86:2 composed [64] 100.0% ------------------------------------------------------------------------- for-loop [49] 1.0% parse-loop50 [65] 1.3% f37 [14] 10.2% make-exacts* [58] 37.2% loop [59] 50.3% [62] 21832(59.1%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [69] 85.5% parse-loop50 [65] 10.5% ??? [73] 2.1% loop [68] 1.0% f37 [14] 1.0% ------------------------------------------------------------------------- jloop [10] 31.9% loop [60] 68.1% [63] 1324(3.6%) 200(0.5%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [66] 84.9% ------------------------------------------------------------------------- loop [61] 100.0% [64] 422(1.1%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [67] 100.0% ------------------------------------------------------------------------- loop [69] 8.2% for-loop [18] 9.3% simplify [4] 17.6% parse-loop50 [65] 28.5% map [62] 36.3% [65] 3734(10.1%) 3330(9.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [65] 28.5% loop [69] 21.2% for-loop [70] 9.3% map [62] 4.1% f37 [14] 1.8% ------------------------------------------------------------------------- loop [52] 45.8% ??? [63] 54.2% [66] 2074(5.6%) 902(2.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [74] 32.8% inductor [93] 13.0% ??? [72] 10.7% ------------------------------------------------------------------------- override-at-pnts [57] 21.5% composed [64] 37.4% best-and-tied-at-points [55] 41.1% [67] 1128(3.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [71] 100.0% ------------------------------------------------------------------------- loop [68] 50.0% map [62] 50.0% [68] 222(0.6%) 222(0.6%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [68] 50.0% ------------------------------------------------------------------------- make-exacts* [58] 0.5% match-e [39] 0.7% map-enodes [30] 0.7% ??? [9] 1.5% map [62] 1.8% parse-loop50 [65] 4.1% loop [69] 90.8% [69] 30004(81.3%) 680(1.8%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [69] 90.8% ??? [73] 2.2% parse-loop50 [65] 2.0% hash-ref! [74] 1.5% f37 [14] 1.4% for-loop [76] 0.7% make-multiplication-node [75] 0.6% ->flonum [79] 0.1% ------------------------------------------------------------------------- parse-loop50 [65] 100.0% [70] 1430(3.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:490:59 hash-ref! [74] 100.0% ------------------------------------------------------------------------- errors [67] 100.0% [71] 1128(3.1%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [73] 100.0% ------------------------------------------------------------------------- eval-prog [66] 100.0% [72] 222(0.6%) 222(0.6%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ------------------------------------------------------------------------- map [62] 1.6% for-loop [71] 4.0% loop [69] 94.3% [73] 27886(75.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [77] 89.2% real->bigfloat [95] 9.2% ->flonum [79] 0.9% ??? [96] 0.8% ------------------------------------------------------------------------- eval-prog [66] 5.9% for-loop [70] 7.1% loop [69] 8.8% for-loop [16] 10.4% for-loop [21] 12.7% ??? [78] 25.4% loop [13] 29.7% [74] 4614(12.5%) 200(0.5%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [78] 25.4% simplify [4] 25.4% ??? [5] 12.7% ??? [6] 10.4% ??? [9] 8.8% ??? [7] 7.1% bigfloat-hash [80] 5.9% ------------------------------------------------------------------------- loop [69] 100.0% [75] 404(1.1%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [81]100.0% ------------------------------------------------------------------------- loop [69] 100.0% [76] 220(0.6%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [82] 100.0% ------------------------------------------------------------------------- ??? [73] 100.0% [77] 24866(67.3%) 886(2.4%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [83] 93.5% ...higher-order.rkt:373:33 [84] 2.9% ------------------------------------------------------------------------- hash-ref! [74] 100.0% [78] 3734(10.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [74] 100.0% ------------------------------------------------------------------------- ??? [73] 26.2% loop [69] 73.8% [79] 922(2.5%) 240(0.6%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [85] 52.5% ??? [90] 21.5% ------------------------------------------------------------------------- hash-ref! [74] 100.0% [80] 680(1.8%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [86] 68.2% sig+exp->bigfloat [88] 31.8% ------------------------------------------------------------------------- make-multiplication-node [75] 100.0% [81] 404(1.1%) 202(0.5%) make-multiplication-subnode ...re/reduce.rkt:231:0 group-by68 [89] 50.0% ------------------------------------------------------------------------- for-loop [76] 100.0% [82] 220(0.6%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 expression-induct31 [87] 100.0% ------------------------------------------------------------------------- ??? [77] 100.0% [83] 23258(63.0%) 15168(41.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfatan [91] 18.2% bfexpt [92] 9.4% ??? [99] 7.2% ------------------------------------------------------------------------- ??? [77] 100.0% [84] 722(2.0%) 480(1.3%) ...higher-order.rkt:373:33 (unknown source) ??? [94] 33.5% ------------------------------------------------------------------------- ->flonum [79] 100.0% [85] 484(1.3%) 484(1.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------------- bigfloat-hash [80] 100.0% [86] 464(1.3%) 464(1.3%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ------------------------------------------------------------------------- eval-const-expr [82] 100.0% [87] 220(0.6%) 0(0.0%) expression-induct31 ...erbie/src/programs.rkt:55:0 inductor [93] 100.0% ------------------------------------------------------------------------- bigfloat-hash [80] 100.0% [88] 216(0.6%) 216(0.6%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ------------------------------------------------------------------------- make-multiplication-subnode [81]100.0% [89] 202(0.5%) 202(0.5%) group-by68 ...acket/collects/racket/list.rkt:749:0 ------------------------------------------------------------------------- ->flonum [79] 100.0% [90] 198(0.5%) 198(0.5%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ------------------------------------------------------------------------- ??? [83] 100.0% [91] 4230(11.5%) 2838(7.7%) bfatan ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [98] 32.9% ------------------------------------------------------------------------- ??? [83] 100.0% [92] 2182(5.9%) 1720(4.7%) bfexpt ...lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [98] 21.2% ------------------------------------------------------------------------- expression-induct31 [87] 22.4% eval-prog [66] 27.6% inductor [93] 50.0% [93] 490(1.3%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [93] 50.0% real->bigfloat [95] 27.6% new [97] 22.4% ------------------------------------------------------------------------- ...higher-order.rkt:373:33 [84] 100.0% [94] 242(0.7%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [96] 100.0% ------------------------------------------------------------------------- inductor [93] 9.5% ??? [73] 90.5% [95] 2828(7.7%) 2146(5.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [98] 24.1% ------------------------------------------------------------------------- ??? [73] 47.6% ??? [94] 52.4% [96] 462(1.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [99] 100.0% ------------------------------------------------------------------------- inductor [93] 100.0% [97] 220(0.6%) 220(0.6%) new ...cket/contract/private/case-arrow.rkt:227:53 ------------------------------------------------------------------------- bfexpt [92] 18.2% real->bigfloat [95] 26.9% bfatan [91] 54.9% [98] 2536(6.9%) 2536(6.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------------- ??? [96] 21.6% ??? [83] 78.4% [99] 2140(5.8%) 926(2.5%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [100] 56.7% ------------------------------------------------------------------------- ??? [99] 100.0% [100] 1214(3.3%) 238(0.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [101] 80.4% ------------------------------------------------------------------------- ??? [100] 100.0% [101] 976(2.6%) 976(2.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -------------------------------------------------------------------------