Profiling results ----------------- Total cpu time observed: 25164ms (out of 25980ms) Number of samples taken: 97 (once every 259ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 100 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [23] 100.0% [1] 24506(97.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [2] 11058(43.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [5] 74.5% for-loop [6] 19.8% finalize-table! [7] 4.0% setup-prog [9] 1.7% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [3] 216(0.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [8] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 99.1% [4] 24724(98.3%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [23] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [5] 8238(32.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [10] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 2184(8.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 444(1.8%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [12] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [8] 216(0.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [63] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 192(0.8%) 0(0.0%) setup-prog /home/ztatlock/herbie/src/glue.rkt:46:0 simplify-alt [13] 100.0% ---------------------------------------------------------------------- get-final-combination [5] 100.0% [10] 8238(32.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [14] 81.7% ??? [19] 18.3% ---------------------------------------------------------------------- for-loop [6] 100.0% [11] 2184(8.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [15] 80.1% finalize-iter! [16] 19.9% ---------------------------------------------------------------------- finalize-table! [7] 100.0% [12] 444(1.8%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 loop [61] 51.4% for-loop [17] 48.6% ---------------------------------------------------------------------- setup-prog [9] 100.0% [13] 192(0.8%) 0(0.0%) simplify-alt .../ztatlock/herbie/src/glue.rkt:84:0 simplify [32] 100.0% ---------------------------------------------------------------------- split-table [10] 100.0% [14] 6730(26.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [18] 72.4% loop [61] 24.1% exprs-to-branch-on [21] 3.6% ---------------------------------------------------------------------- run-iter! [11] 100.0% [15] 1750(7.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [20] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [16] 434(1.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [19] 100.0% ---------------------------------------------------------------------- post-process [12] 100.0% [17] 216(0.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [22] 100.0% ---------------------------------------------------------------------- loop [61] 25.0% infer-splitpoints4 [14] 75.0% [18] 6490(25.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [24] 90.1% pick-errors [27] 6.4% err-lsts->split-indices [29] 3.5% ---------------------------------------------------------------------- finalize-iter! [16] 22.3% split-table [10] 77.7% [19] 1942(7.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 split-atab [25] 77.7% for-loop [26] 22.3% ---------------------------------------------------------------------- simplify! [15] 100.0% [20] 1750(7.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [23] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [14] 100.0% [21] 240(1.0%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [28] 100.0% ---------------------------------------------------------------------- for-loop [17] 100.0% [22] 216(0.9%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [30] 100.0% ---------------------------------------------------------------------- for-loop [20] 2.5% run [4] 48.5% [23] 25164(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.7% loop [31] 28.9% run-improve58 [2] 21.0% simplify [32] 2.5% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [24] 5848(23.2%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [39] 100.0% ---------------------------------------------------------------------- ??? [19] 100.0% [25] 1508(6.0%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [33] 100.0% ---------------------------------------------------------------------- ??? [19] 100.0% [26] 434(1.7%) 236(0.9%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [38] 45.6% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [27] 418(1.7%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [34] 100.0% ---------------------------------------------------------------------- exprs-to-branch-on [21] 100.0% [28] 240(1.0%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [35] 100.0% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [29] 224(0.9%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [36] 100.0% ---------------------------------------------------------------------- append-map [22] 100.0% [30] 216(0.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [37] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [31] 14106(56.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [48] 59.3% loop [40] 39.1% ---------------------------------------------------------------------- simplify-alt [13] 9.9% ??? [23] 90.1% [32] 1942(7.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [73] 56.2% iterate-egraph!5 [78] 32.1% for-loop [43] 11.6% ---------------------------------------------------------------------- split-atab [25] 100.0% [33] 1508(6.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [41] 57.7% for-loop [42] 27.6% for-loop [45] 14.7% ---------------------------------------------------------------------- pick-errors [27] 100.0% [34] 418(1.7%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [65] 100.0% ---------------------------------------------------------------------- critical-subexpression [28] 100.0% [35] 240(1.0%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 sort [39] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [29] 100.0% [36] 224(0.9%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [44] 100.0% ---------------------------------------------------------------------- taylor-alt [30] 100.0% [37] 216(0.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ---------------------------------------------------------------------- for-loop [26] 100.0% [38] 198(0.8%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [47] 100.0% ---------------------------------------------------------------------- localize-error [35] 3.9% sort-context-on-expr [24] 96.1% [39] 6088(24.2%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [49] 69.1% loop [56] 27.0% errors-score [52] 3.9% ---------------------------------------------------------------------- loop [31] 100.0% [40] 5522(21.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [50] 69.1% make-exacts* [48] 30.9% ---------------------------------------------------------------------- for-loop [33] 100.0% [41] 870(3.5%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:80:53 loop [51] 100.0% ---------------------------------------------------------------------- for-loop [33] 100.0% [42] 416(1.7%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:86:30 ??? [58] 100.0% ---------------------------------------------------------------------- simplify [32] 100.0% [43] 226(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [78] 100.0% ---------------------------------------------------------------------- add-splitpoint [36] 100.0% [44] 224(0.9%) 224(0.9%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ---------------------------------------------------------------------- for-loop [33] 100.0% [45] 222(0.9%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:76:45 ??? [58] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [46] 216(0.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [53] 100.0% ---------------------------------------------------------------------- atab-add-altn [38] 100.0% [47] 198(0.8%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [54] 100.0% ---------------------------------------------------------------------- loop [40] 17.0% loop [31] 83.0% [48] 10074(40.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [55] 65.1% loop [61] 34.9% ---------------------------------------------------------------------- sort [39] 41.6% copying-mergesort [49] 58.4% [49] 4206(16.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [49] 58.4% loop [56] 30.5% jloop [57] 11.1% ---------------------------------------------------------------------- loop [40] 100.0% [50] 3814(15.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [55] 100.0% ---------------------------------------------------------------------- for-loop [41] 100.0% [51] 870(3.5%) 0(0.0%) loop ...ket/collects/racket/private/list.rkt:264:4 ??? [58] 100.0% ---------------------------------------------------------------------- sort [39] 100.0% [52] 240(1.0%) 0(0.0%) errors-score ...atlock/herbie/src/points.rkt:154:0 loop [61] 100.0% ---------------------------------------------------------------------- location-do [46] 100.0% [53] 216(0.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [59] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [47] 100.0% [54] 198(0.8%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [60] 100.0% ---------------------------------------------------------------------- loop [50] 36.8% make-exacts* [48] 63.2% [55] 10374(41.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [61] 97.9% ??? [64] 2.1% ---------------------------------------------------------------------- sort [39] 41.2% copying-mergesort [49] 58.8% [56] 3984(15.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [62] 100.0% ---------------------------------------------------------------------- copying-mergesort [49] 100.0% [57] 1864(7.4%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [62] 100.0% ---------------------------------------------------------------------- for-loop [45] 14.7% for-loop [42] 27.6% loop [51] 57.7% [58] 1508(6.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 eval-prog [65] 100.0% ---------------------------------------------------------------------- approximate9 [53] 100.0% [59] 216(0.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [63] 100.0% ---------------------------------------------------------------------- errors [54] 100.0% [60] 198(0.8%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [64] 100.0% ---------------------------------------------------------------------- make-exacts* [48] 0.0% ??? [64] 0.1% errors-score [52] 0.1% post-process [12] 0.5% map [55] 2.4% infer-splitpoints4 [14] 10.3% loop [61] 86.5% [61] 15758(62.6%) 500(2.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [61] 86.5% option-on-expr [18] 10.3% ??? [64] 2.4% completely-simplify-alt [66] 0.5% real->bigfloat [72] 0.1% ->flonum [74] 0.1% ---------------------------------------------------------------------- jloop [57] 31.9% loop [56] 68.1% [62] 5848(23.2%) 478(1.9%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [65] 91.8% ---------------------------------------------------------------------- for-loop [8] 16.7% ??? [68] 16.7% ??? [69] 16.7% loop [59] 16.7% ??? [70] 33.3% [63] 216(0.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [70] 33.3% ??? [69] 16.7% ??? [68] 16.7% ??? [3] 16.7% simplify [67] 16.7% ---------------------------------------------------------------------- for-loop [60] 1.4% map [55] 1.6% loop [61] 97.0% [64] 13838(55.0%) 728(2.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [71] 52.7% loop [61] 19.2% real->bigfloat [72] 17.9% ??? [88] 3.5% ->flonum [74] 1.4% ---------------------------------------------------------------------- for-loop [34] 5.7% ??? [58] 20.7% ??? [62] 73.6% [65] 7296(29.0%) 6858(27.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [75] 3.3% ??? [77] 2.7% ---------------------------------------------------------------------- loop [61] 100.0% [66] 228(0.9%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [73] 100.0% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [67] 216(0.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [76] 100.0% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [68] 216(0.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [63] 100.0% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [69] 216(0.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [63] 100.0% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [70] 216(0.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [63] 100.0% ---------------------------------------------------------------------- ??? [64] 100.0% [71] 7286(29.0%) 262(1.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [87] 40.6% bf* [85] 14.2% ...higher-order.rkt:373:33 [79] 13.8% bfcube [80] 10.1% ...higher-order.rkt:369:33 [81] 7.2% bf<= [82] 6.9% ...ow-val-first.rkt:357:18 [83] 3.6% ---------------------------------------------------------------------- loop [61] 49.2% ??? [64] 50.8% [72] 4878(19.4%) 4188(16.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [96] 14.1% ---------------------------------------------------------------------- completely-simplify-alt [66] 17.3% simplify [32] 82.7% [73] 1320(5.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [78] 100.0% ---------------------------------------------------------------------- ??? [64] 44.4% loop [61] 55.6% [74] 446(1.8%) 198(0.8%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [91] 55.6% ---------------------------------------------------------------------- eval-prog [65] 33.3% inductor [75] 66.7% [75] 238(0.9%) 238(0.9%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [75] 66.7% ---------------------------------------------------------------------- simplify [67] 100.0% [76] 216(0.9%) 216(0.9%) f37 ...t/collects/racket/match/compiler.rkt:499:40 ---------------------------------------------------------------------- eval-prog [65] 100.0% [77] 200(0.8%) 200(0.8%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ---------------------------------------------------------------------- for-loop [43] 10.4% simplify [32] 28.8% simplify-expr [73] 60.8% [78] 2170(8.6%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [84] 100.0% ---------------------------------------------------------------------- ??? [71] 100.0% [79] 1002(4.0%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [86] 74.9% ??? [88] 25.1% ---------------------------------------------------------------------- ??? [71] 100.0% [80] 736(2.9%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [85] 100.0% ---------------------------------------------------------------------- ??? [71] 100.0% [81] 522(2.1%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [86] 51.7% ??? [88] 48.3% ---------------------------------------------------------------------- ??? [71] 100.0% [82] 506(2.0%) 224(0.9%) bf<= ...h/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [91] 55.7% ---------------------------------------------------------------------- ??? [71] 100.0% [83] 260(1.0%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [86] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [78] 100.0% [84] 2170(8.6%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [89] 80.9% loop [90] 19.1% ---------------------------------------------------------------------- bfcube [80] 41.5% ??? [71] 58.5% [85] 1774(7.0%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [87] 100.0% ---------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [83] 20.3% ...higher-order.rkt:369:33 [81] 21.1% ...higher-order.rkt:373:33 [79] 58.6% [86] 1280(5.1%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [88] 100.0% ---------------------------------------------------------------------- bf* [85] 37.5% ??? [71] 62.5% [87] 4734(18.8%) 776(3.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [92] 48.4% ??? [91] 35.2% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [79] 11.1% ...higher-order.rkt:369:33 [81] 11.1% ??? [64] 21.5% ??? [86] 56.3% [88] 2272(9.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [91] 100.0% ---------------------------------------------------------------------- for-loop [89] 50.0% one-iter [84] 50.0% [89] 1756(7.0%) 196(0.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [89] 50.0% match-e [93] 44.4% ---------------------------------------------------------------------- one-iter [84] 100.0% [90] 414(1.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [94] 100.0% ---------------------------------------------------------------------- ->flonum [74] 5.6% bf<= [82] 6.3% ??? [87] 37.3% ??? [88] 50.9% [91] 4468(17.8%) 2232(8.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [95] 50.0% ---------------------------------------------------------------------- ??? [87] 100.0% [92] 2292(9.1%) 790(3.1%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [96] 65.5% ---------------------------------------------------------------------- for-loop [89] 100.0% [93] 1560(6.2%) 1364(5.4%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 constant? [98] 12.6% ---------------------------------------------------------------------- loop [90] 100.0% [94] 414(1.6%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 mk-enode! [97] 100.0% ---------------------------------------------------------------------- ??? [91] 100.0% [95] 2236(8.9%) 954(3.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [99] 57.3% ---------------------------------------------------------------------- real->bigfloat [72] 31.5% bfdiv [92] 68.5% [96] 2192(8.7%) 2192(8.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- apply-match [94] 100.0% [97] 414(1.6%) 414(1.6%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ---------------------------------------------------------------------- match-e [93] 100.0% [98] 196(0.8%) 196(0.8%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ---------------------------------------------------------------------- ??? [95] 100.0% [99] 1282(5.1%) 1282(5.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------