Profiling results ----------------- Total cpu time observed: 9580ms (out of 9804ms) Number of samples taken: 38 (once every 252ms) ================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ================================================================== ??? [7] 100.0% [1] 9148(95.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ------------------------------------------------------------------ ??? [7] 100.0% [2] 402(4.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [8] 50.2% simplify-expr [6] 49.8% ------------------------------------------------------------------ match-e [26] 100.0% [3] 202(2.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [5] 100.0% ------------------------------------------------------------------ profile-thunk14 [1] 95.5% [4] 9580(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ------------------------------------------------------------------ for-loop [3] 100.0% [5] 202(2.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [26] 100.0% ------------------------------------------------------------------ simplify [2] 100.0% [6] 200(2.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 100.0% ------------------------------------------------------------------ for-loop [30] 1.4% run [4] 51.6% [7] 9580(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.0% loop [11] 38.7% run-improve58 [9] 12.9% simplify [2] 1.4% ------------------------------------------------------------------ simplify-expr [6] 49.8% simplify [2] 50.2% [8] 402(4.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [10] 100.0% ------------------------------------------------------------------ ??? [7] 100.0% [9] 2606(27.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [12] 53.8% for-loop [13] 38.5% loop [11] 7.7% ------------------------------------------------------------------ iterate-egraph!5 [8] 100.0% [10] 402(4.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 loop [14] 100.0% ------------------------------------------------------------------ run-improve58 [9] 2.8% ??? [7] 97.2% [11] 7174(74.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [21] 34.6% loop [15] 30.2% loop [20] 29.2% for-loop [18] 6.0% ------------------------------------------------------------------ run-improve58 [9] 100.0% [12] 1402(14.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 100.0% ------------------------------------------------------------------ run-improve58 [9] 100.0% [13] 1004(10.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [17] 100.0% ------------------------------------------------------------------ one-iter [10] 100.0% [14] 402(4.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [19] 100.0% ------------------------------------------------------------------ loop [11] 100.0% [15] 2166(22.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 75.3% make-exacts* [21] 24.7% ------------------------------------------------------------------ get-final-combination [12] 100.0% [16] 1402(14.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [22] 100.0% ------------------------------------------------------------------ for-loop [13] 100.0% [17] 1004(10.5%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [23] 40.0% gen-series! [24] 39.8% finalize-iter! [25] 20.1% ------------------------------------------------------------------ loop [11] 100.0% [18] 432(4.5%) 432(4.5%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 ------------------------------------------------------------------ loop [14] 100.0% [19] 402(4.2%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [26] 50.2% substitute-e [27] 49.8% ------------------------------------------------------------------ loop [15] 43.8% loop [11] 56.2% [20] 3726(38.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [28] 100.0% ------------------------------------------------------------------ loop [15] 17.7% loop [11] 82.3% [21] 3016(31.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [28] 66.4% loop [34] 33.6% ------------------------------------------------------------------ split-table [16] 100.0% [22] 1402(14.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [29] 100.0% ------------------------------------------------------------------ run-iter! [17] 100.0% [23] 402(4.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% ------------------------------------------------------------------ run-iter! [17] 100.0% [24] 400(4.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% ------------------------------------------------------------------ run-iter! [17] 100.0% [25] 202(2.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [32] 100.0% ------------------------------------------------------------------ for-loop [5] 50.0% apply-match [19] 50.0% [26] 202(2.1%) 202(2.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [3] 50.0% ------------------------------------------------------------------ apply-match [19] 100.0% [27] 200(2.1%) 0(0.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 mk-enode! [33] 100.0% ------------------------------------------------------------------ parse-loop50 [65] 1.7% f37 [70] 1.7% make-exacts* [21] 33.8% loop [20] 62.9% [28] 5928(61.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [34] 96.6% parse-loop50 [65] 3.4% ------------------------------------------------------------------ infer-splitpoints4 [22] 100.0% [29] 1402(14.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [35] 85.6% pick-errors [37] 14.4% ------------------------------------------------------------------ simplify! [23] 100.0% [30] 402(4.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ------------------------------------------------------------------ gen-series! [24] 100.0% [31] 400(4.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [36] 100.0% ------------------------------------------------------------------ finalize-iter! [25] 100.0% [32] 202(2.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [38] 100.0% ------------------------------------------------------------------ substitute-e [27] 100.0% [33] 200(2.1%) 0(0.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 hash-has-key? [39] 100.0% ------------------------------------------------------------------ make-exacts* [21] 0.0% map [28] 2.2% loop [34] 97.8% [34] 6742(70.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [34] 97.8% ??? [53] 2.2% ->flonum [58] 0.0% ------------------------------------------------------------------ option-on-expr [29] 100.0% [35] 1200(12.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ------------------------------------------------------------------ for-loop [31] 100.0% [36] 400(4.2%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [41] 100.0% ------------------------------------------------------------------ option-on-expr [29] 100.0% [37] 202(2.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [42] 100.0% ------------------------------------------------------------------ ??? [32] 100.0% [38] 202(2.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [43] 100.0% ------------------------------------------------------------------ mk-enode! [33] 100.0% [39] 200(2.1%) 200(2.1%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ------------------------------------------------------------------ sort-context-on-expr [35] 100.0% [40] 1200(12.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [44] 83.5% loop [47] 16.5% ------------------------------------------------------------------ taylor-alt [36] 100.0% [41] 400(4.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [45] 100.0% ------------------------------------------------------------------ pick-errors [37] 100.0% [42] 202(2.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [54] 100.0% ------------------------------------------------------------------ for-loop [38] 100.0% [43] 202(2.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [46]100.0% ------------------------------------------------------------------ sort [40] 46.7% copying-mergesort [44] 53.3% [44] 1002(10.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [44] 53.3% loop [47] 36.7% jloop [48] 10.0% ------------------------------------------------------------------ for-loop [41] 100.0% [45] 400(4.2%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [49] 100.0% ------------------------------------------------------------------ atab-add-altn [43] 100.0% [46] 202(2.1%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [50] 100.0% ------------------------------------------------------------------ sort [40] 24.8% copying-mergesort [44] 75.2% [47] 800(8.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [51] 100.0% ------------------------------------------------------------------ copying-mergesort [44] 100.0% [48] 400(4.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [51] 100.0% ------------------------------------------------------------------ location-do [45] 100.0% [49] 400(4.2%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [52] 100.0% ------------------------------------------------------------------ best-and-tied-at-points [46]100.0% [50] 202(2.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [54] 100.0% ------------------------------------------------------------------ jloop [48] 33.3% loop [47] 66.7% [51] 1200(12.5%) 200(2.1%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [54] 66.7% ??? [53] 16.7% ------------------------------------------------------------------ approximate9 [49] 100.0% [52] 400(4.2%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [55] 100.0% ------------------------------------------------------------------ ??? [51] 3.2% loop [34] 96.8% [53] 6210(64.8%) 232(2.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [56] 41.8% real->bigfloat [57] 36.5% ??? [59] 14.8% ->flonum [58] 3.2% ------------------------------------------------------------------ errors [50] 16.8% for-loop [42] 16.8% ??? [51] 66.4% [54] 1204(12.6%) 1004(10.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [62] 16.6% ------------------------------------------------------------------ ??? [60] 50.0% loop [52] 50.0% [55] 400(4.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [60] 50.0% simplify [61] 50.0% ------------------------------------------------------------------ ??? [53] 100.0% [56] 2594(27.1%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [63] 100.0% ------------------------------------------------------------------ ??? [53] 100.0% [57] 2268(23.7%) 1824(19.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [72] 19.6% ------------------------------------------------------------------ ??? [53] 21.5% loop [34] 78.5% [58] 932(9.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [64] 48.3% ??? [66] 26.2% ??? [68] 25.5% ------------------------------------------------------------------ ??? [53] 100.0% [59] 916(9.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [68] 100.0% ------------------------------------------------------------------ hash-ref! [55] 100.0% [60] 400(4.2%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [55] 100.0% ------------------------------------------------------------------ hash-ref! [55] 100.0% [61] 400(4.2%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [65] 50.0% f37 [70] 50.0% ------------------------------------------------------------------ eval-prog [54] 100.0% [62] 200(2.1%) 200(2.1%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 ------------------------------------------------------------------ ??? [56] 100.0% [63] 2594(27.1%) 270(2.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexp [67] 53.6% bfdiv [69] 27.8% ??? [68] 8.2% ------------------------------------------------------------------ ->flonum [58] 100.0% [64] 450(4.7%) 450(4.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------ map [28] 50.0% simplify [61] 50.0% [65] 400(4.2%) 200(2.1%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 map [28] 25.0% f37 [70] 25.0% ------------------------------------------------------------------ ->flonum [58] 100.0% [66] 244(2.5%) 244(2.5%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ------------------------------------------------------------------ ??? [63] 100.0% [67] 1390(14.5%) 1390(14.5%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ------------------------------------------------------------------ ??? [63] 15.5% ->flonum [58] 17.4% ??? [59] 67.1% [68] 1366(14.3%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [71] 100.0% ------------------------------------------------------------------ ??? [63] 100.0% [69] 722(7.5%) 236(2.5%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [72] 67.3% ------------------------------------------------------------------ parse-loop50 [65] 50.0% simplify [61] 50.0% [70] 200(2.1%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [28] 50.0% compose [73] 50.0% ------------------------------------------------------------------ ??? [68] 100.0% [71] 1366(14.3%) 470(4.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [74] 65.6% ------------------------------------------------------------------ real->bigfloat [57] 47.7% bfdiv [69] 52.3% [72] 930(9.7%) 930(9.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------ f37 [70] 100.0% [73] 200(2.1%) 200(2.1%) compose ...collects/racket/private/list.rkt:385:12 ------------------------------------------------------------------ ??? [71] 100.0% [74] 896(9.4%) 896(9.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------