Profiling results ----------------- Total cpu time observed: 17106ms (out of 17432ms) Number of samples taken: 71 (once every 241ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [5] 100.0% [1] 16888(98.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [2] 438(2.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [4] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 16888(98.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [4] 438(2.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [63] 100.0% ---------------------------------------------------------------------- for-loop [29] 3.9% run [3] 47.4% [5] 17106(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.4% loop [6] 32.8% run-improve58 [7] 15.9% simplify [8] 3.9% ---------------------------------------------------------------------- ??? [5] 100.0% [6] 11000(64.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [15] 71.3% loop [10] 26.6% loop [18] 2.1% ---------------------------------------------------------------------- ??? [5] 100.0% [7] 6106(35.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [9] 53.0% get-final-combination [11] 47.0% ---------------------------------------------------------------------- ??? [5] 100.0% [8] 2026(11.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [12] 50.5% iterate-egraph!5 [19] 19.8% for-loop [13] 19.7% debug7 [14] 9.9% ---------------------------------------------------------------------- run-improve58 [7] 100.0% [9] 3236(18.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [16] 100.0% ---------------------------------------------------------------------- loop [6] 100.0% [10] 2928(17.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [18] 65.5% make-exacts* [15] 34.5% ---------------------------------------------------------------------- run-improve58 [7] 100.0% [11] 2870(16.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ---------------------------------------------------------------------- simplify [8] 100.0% [12] 1024(6.0%) 218(1.3%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [19] 78.7% ---------------------------------------------------------------------- simplify [8] 100.0% [13] 400(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [19] 100.0% ---------------------------------------------------------------------- simplify [8] 100.0% [14] 200(1.2%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [31] 100.0% ---------------------------------------------------------------------- loop [10] 11.4% loop [6] 88.6% [15] 8850(51.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [27] 50.7% map [20] 47.0% eval-prog [62] 2.4% ---------------------------------------------------------------------- for-loop [9] 100.0% [16] 3236(18.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [22] 62.6% finalize-iter! [24] 23.9% gen-series! [25] 13.5% ---------------------------------------------------------------------- get-final-combination [11] 100.0% [17] 2870(16.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ---------------------------------------------------------------------- loop [6] 10.8% loop [10] 89.2% [18] 2150(12.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [20] 100.0% ---------------------------------------------------------------------- for-loop [13] 24.9% simplify [8] 25.0% simplify-expr [12] 50.1% [19] 1608(9.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [23] 75.1% map-enodes [26] 24.9% ---------------------------------------------------------------------- loop [18] 34.1% make-exacts* [15] 65.9% [20] 6306(36.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [27] 100.0% ---------------------------------------------------------------------- split-table [17] 100.0% [21] 2870(16.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [28] 100.0% ---------------------------------------------------------------------- run-iter! [16] 100.0% [22] 2026(11.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [29] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [23] 1208(7.1%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [30] 100.0% ---------------------------------------------------------------------- run-iter! [16] 100.0% [24] 772(4.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [31] 100.0% ---------------------------------------------------------------------- run-iter! [16] 100.0% [25] 438(2.6%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [32] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [26] 400(2.3%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [27] 100.0% ---------------------------------------------------------------------- make-exacts* [15] 0.1% map [20] 0.5% map-enodes [26] 3.6% loop [27] 95.8% [27] 11192(65.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [27] 95.8% for-loop [37] 3.6% ??? [61] 0.6% ---------------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [28] 2870(16.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [33] 86.4% err-lsts->split-indices [38] 7.4% pick-errors [39] 6.2% ---------------------------------------------------------------------- simplify! [22] 100.0% [29] 2026(11.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% ---------------------------------------------------------------------- for-loop [30] 50.0% one-iter [23] 50.0% [30] 1208(7.1%) 808(4.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [30] 50.0% match-e [36] 16.6% ---------------------------------------------------------------------- debug7 [14] 20.6% finalize-iter! [24] 79.4% [31] 972(5.7%) 200(1.2%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [34] 79.4% ---------------------------------------------------------------------- gen-series! [25] 100.0% [32] 438(2.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [35] 100.0% ---------------------------------------------------------------------- option-on-expr [28] 100.0% [33] 2480(14.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ---------------------------------------------------------------------- ??? [31] 100.0% [34] 772(4.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [41] 100.0% ---------------------------------------------------------------------- for-loop [32] 100.0% [35] 438(2.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [42] 100.0% ---------------------------------------------------------------------- for-loop [30] 100.0% [36] 400(2.3%) 400(2.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- loop [27] 100.0% [37] 400(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [43] 100.0% ---------------------------------------------------------------------- option-on-expr [28] 100.0% [38] 212(1.2%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [44] 100.0% ---------------------------------------------------------------------- option-on-expr [28] 100.0% [39] 178(1.0%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [45] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [33] 100.0% [40] 2480(14.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [46] 74.4% loop [52] 25.6% ---------------------------------------------------------------------- for-loop [34] 100.0% [41] 772(4.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [47] 73.8% override-at-pnts [51] 26.2% ---------------------------------------------------------------------- taylor-alt [35] 100.0% [42] 438(2.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [48] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [43] 400(2.3%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 expression-induct31 [49] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [38] 100.0% [44] 212(1.2%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [50] 100.0% ---------------------------------------------------------------------- pick-errors [39] 100.0% [45] 178(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [62] 100.0% ---------------------------------------------------------------------- sort [40] 39.2% copying-mergesort [46] 60.8% [46] 1846(10.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [46] 60.8% loop [52] 34.1% jloop [56] 5.2% ---------------------------------------------------------------------- atab-add-altn [41] 100.0% [47] 570(3.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [53] 100.0% ---------------------------------------------------------------------- location-do [48] 30.7% for-loop [42] 69.3% [48] 438(2.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [54] 69.3% location-do [48] 30.7% ---------------------------------------------------------------------- eval-const-expr [43] 100.0% [49] 400(2.3%) 0(0.0%) expression-induct31 ...erbie/src/programs.rkt:55:0 inductor [55] 100.0% ---------------------------------------------------------------------- add-splitpoint [44] 100.0% [50] 212(1.2%) 212(1.2%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ---------------------------------------------------------------------- atab-add-altn [41] 100.0% [51] 202(1.2%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [53] 100.0% ---------------------------------------------------------------------- sort [40] 30.2% copying-mergesort [46] 69.8% [52] 2098(12.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [57] 100.0% ---------------------------------------------------------------------- override-at-pnts [51] 26.2% best-and-tied-at-points [47] 73.8% [53] 772(4.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [58] 75.6% eval-prog [62] 24.4% ---------------------------------------------------------------------- location-do [48] 100.0% [54] 438(2.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [59] 100.0% ---------------------------------------------------------------------- inductor [55] 50.0% expression-induct31 [49] 50.0% [55] 400(2.3%) 200(1.2%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [55] 50.0% integer->bigfloat [60] 25.0% ---------------------------------------------------------------------- copying-mergesort [46] 100.0% [56] 382(2.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [57] 100.0% ---------------------------------------------------------------------- jloop [56] 15.4% loop [52] 84.6% [57] 2480(14.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [62] 91.6% ??? [61] 8.4% ---------------------------------------------------------------------- errors [53] 100.0% [58] 584(3.4%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [61] 100.0% ---------------------------------------------------------------------- approximate9 [54] 100.0% [59] 438(2.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [63] 100.0% ---------------------------------------------------------------------- inductor [55] 100.0% [60] 200(1.2%) 200(1.2%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- ??? [57] 1.8% for-loop [58] 5.0% loop [27] 93.2% [61] 11584(67.7%) 228(1.3%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [64] 82.5% real->bigfloat [65] 13.7% ??? [80] 1.8% ---------------------------------------------------------------------- for-loop [45] 6.3% errors [53] 6.6% make-exacts* [15] 7.3% ??? [57] 79.8% [62] 2846(16.6%) 2424(14.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [68] 8.2% new-lambda [70] 6.6% ---------------------------------------------------------------------- ??? [69] 11.5% for-loop [4] 29.5% ??? [67] 29.5% loop [59] 29.5% [63] 438(2.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [67] 29.5% ??? [2] 29.5% simplify [66] 29.5% ??? [69] 11.5% ---------------------------------------------------------------------- ??? [61] 100.0% [64] 9556(55.9%) 388(2.3%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [77] 67.3% bfcube [71] 11.4% bf* [75] 8.1% ...higher-order.rkt:373:33 [72] 4.9% ??? [74] 4.2% ---------------------------------------------------------------------- ??? [61] 100.0% [65] 1588(9.3%) 1588(9.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- hash-ref! [63] 100.0% [66] 438(2.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [73] 100.0% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [67] 438(2.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [63] 100.0% ---------------------------------------------------------------------- eval-prog [62] 100.0% [68] 234(1.4%) 234(1.4%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ---------------------------------------------------------------------- hash-ref! [63] 100.0% [69] 202(1.2%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [63] 100.0% ---------------------------------------------------------------------- eval-prog [62] 100.0% [70] 188(1.1%) 188(1.1%) new-lambda ...ollects/racket/private/kw.rkt:631:11 ---------------------------------------------------------------------- ??? [64] 100.0% [71] 1092(6.4%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [75] 61.4% ...ow-val-first.rkt:357:18 [76] 38.6% ---------------------------------------------------------------------- ??? [64] 100.0% [72] 468(2.7%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [78] 50.4% ??? [80] 49.6% ---------------------------------------------------------------------- simplify [66] 100.0% [73] 438(2.6%) 438(2.6%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 ---------------------------------------------------------------------- ??? [64] 100.0% [74] 404(2.4%) 404(2.4%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- bfcube [71] 46.5% ??? [64] 53.5% [75] 1440(8.4%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [77] 100.0% ---------------------------------------------------------------------- bfcube [71] 100.0% [76] 422(2.5%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [78] 100.0% ---------------------------------------------------------------------- bf* [75] 18.3% ??? [64] 81.7% [77] 7874(46.0%) 3718(21.7%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [82] 25.5% bfcbrt [79] 14.5% bfmul [81] 12.8% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [72] 35.9% ...ow-val-first.rkt:357:18 [76] 64.1% [78] 658(3.8%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [80] 100.0% ---------------------------------------------------------------------- ??? [77] 100.0% [79] 1140(6.7%) 888(5.2%) bfcbrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [83] 22.1% ---------------------------------------------------------------------- ??? [61] 19.2% ...higher-order.rkt:373:33 [72] 21.1% ??? [78] 59.7% [80] 1102(6.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [82] 100.0% ---------------------------------------------------------------------- ??? [77] 100.0% [81] 1010(5.9%) 776(4.5%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [83] 23.2% ---------------------------------------------------------------------- ??? [80] 35.5% ??? [77] 64.5% [82] 3108(18.2%) 1578(9.2%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [84] 49.2% ---------------------------------------------------------------------- bfmul [81] 48.1% bfcbrt [79] 51.9% [83] 486(2.8%) 486(2.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [82] 100.0% [84] 1530(8.9%) 658(3.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [85] 57.0% ---------------------------------------------------------------------- ??? [84] 100.0% [85] 872(5.1%) 872(5.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------