Profiling results ----------------- Total cpu time observed: 9862ms (out of 11452ms) Number of samples taken: 57 (once every 173ms) ================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ================================================================== ??? [5] 100.0% [1] 9570(97.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ------------------------------------------------------------------ location-do [60] 100.0% [2] 216(2.2%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [4] 100.0% ------------------------------------------------------------------ profile-thunk14 [1] 100.0% [3] 9570(97.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% ------------------------------------------------------------------ approximate9 [2] 100.0% [4] 216(2.2%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [6] 100.0% ------------------------------------------------------------------ for-loop [30] 6.8% run [3] 45.1% [5] 9862(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 45.1% run-improve58 [7] 28.0% loop [8] 20.1% simplify [9] 6.8% ------------------------------------------------------------------ loop [4] 33.3% ??? [11] 66.7% [6] 216(2.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [11] 66.7% f94 [10] 33.3% ------------------------------------------------------------------ ??? [5] 100.0% [7] 6042(61.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [12] 60.7% for-loop [13] 39.3% ------------------------------------------------------------------ ??? [5] 100.0% [8] 3820(38.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [19] 52.6% loop [14] 47.4% ------------------------------------------------------------------ ??? [5] 100.0% [9] 2008(20.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [15] 80.0% for-loop [17] 10.1% iterate-egraph!5 [21] 10.0% ------------------------------------------------------------------ f94 [10] 50.0% hash-ref! [6] 50.0% [10] 216(2.2%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 f94 [10] 50.0% taylor [16] 50.0% ------------------------------------------------------------------ hash-ref! [6] 100.0% [11] 216(2.2%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [6] 100.0% ------------------------------------------------------------------ run-improve58 [7] 100.0% [12] 3666(37.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 100.0% ------------------------------------------------------------------ run-improve58 [7] 100.0% [13] 2376(24.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [20] 100.0% ------------------------------------------------------------------ loop [8] 100.0% [14] 1810(18.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [22] 69.0% make-exacts* [19] 31.0% ------------------------------------------------------------------ simplify [9] 100.0% [15] 1606(16.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [21] 100.0% ------------------------------------------------------------------ f94 [10] 100.0% [16] 216(2.2%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 loop [29] 100.0% ------------------------------------------------------------------ simplify [9] 100.0% [17] 202(2.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [21] 100.0% ------------------------------------------------------------------ get-final-combination [12] 100.0% [18] 3666(37.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [23] 100.0% ------------------------------------------------------------------ loop [14] 21.9% loop [8] 78.1% [19] 2572(26.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [24] 55.8% loop [29] 44.2% ------------------------------------------------------------------ for-loop [13] 100.0% [20] 2376(24.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [26] 84.5% gen-series! [27] 9.1% finalize-iter! [28] 6.4% ------------------------------------------------------------------ simplify [9] 10.0% for-loop [17] 10.1% simplify-expr [15] 80.0% [21] 2008(20.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [25] 100.0% ------------------------------------------------------------------ loop [14] 100.0% [22] 1248(12.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [24] 100.0% ------------------------------------------------------------------ split-table [18] 100.0% [23] 3666(37.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [35] 82.8% loop [29] 17.2% ------------------------------------------------------------------ loop [22] 46.5% make-exacts* [19] 53.5% [24] 2684(27.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [29] 81.6% ??? [36] 18.4% ------------------------------------------------------------------ iterate-egraph!5 [21] 100.0% [25] 2008(20.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [31] 60.1% apply-match [38] 20.9% loop [32] 19.0% ------------------------------------------------------------------ run-iter! [20] 100.0% [26] 2008(20.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% ------------------------------------------------------------------ run-iter! [20] 100.0% [27] 216(2.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [33] 100.0% ------------------------------------------------------------------ run-iter! [20] 100.0% [28] 152(1.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [34] 100.0% ------------------------------------------------------------------ make-exacts* [19] 0.0% map [24] 0.9% taylor [16] 5.2% infer-splitpoints4 [23] 15.1% loop [29] 78.8% [29] 4172(42.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [29] 78.8% option-on-expr [35] 15.1% simplify [40] 5.2% ??? [36] 0.9% ->flonum [39] 0.0% ------------------------------------------------------------------ simplify! [26] 100.0% [30] 2008(20.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% ------------------------------------------------------------------ for-loop [31] 50.0% one-iter [25] 50.0% [31] 1206(12.2%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [31] 50.0% match-e [37] 50.0% ------------------------------------------------------------------ one-iter [25] 100.0% [32] 382(3.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [38] 100.0% ------------------------------------------------------------------ gen-series! [27] 100.0% [33] 216(2.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [41] 100.0% ------------------------------------------------------------------ finalize-iter! [28] 100.0% [34] 152(1.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [42] 100.0% ------------------------------------------------------------------ loop [29] 17.2% infer-splitpoints4 [23] 82.8% [35] 3666(37.2%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [43] 92.7% pick-errors [46] 7.3% ------------------------------------------------------------------ map [24] 14.2% loop [29] 85.8% [36] 3486(35.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 real->bigfloat [44] 73.3% ??? [45] 26.7% ------------------------------------------------------------------ for-loop [31] 100.0% [37] 1206(12.2%) 1004(10.2%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [50] 16.7% ------------------------------------------------------------------ loop [32] 47.6% one-iter [25] 52.4% [38] 802(8.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 reduce-to-single! [47] 27.4% substitute-e [51] 25.2% loop! [52] 24.9% merge-egraph-nodes! [53] 22.4% ------------------------------------------------------------------ loop [29] 100.0% [39] 334(3.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [54] 50.9% ??? [55] 49.1% ------------------------------------------------------------------ loop [29] 100.0% [40] 216(2.2%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug-print [48] 100.0% ------------------------------------------------------------------ for-loop [33] 100.0% [41] 216(2.2%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [49] 100.0% ------------------------------------------------------------------ ??? [34] 100.0% [42] 152(1.5%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [56] 100.0% ------------------------------------------------------------------ option-on-expr [35] 100.0% [43] 3400(34.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [57] 100.0% ------------------------------------------------------------------ ??? [36] 100.0% [44] 2554(25.9%) 1656(16.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [75] 35.2% ------------------------------------------------------------------ ??? [36] 100.0% [45] 932(9.5%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [67] 58.8% bf* [58] 41.2% ------------------------------------------------------------------ option-on-expr [35] 100.0% [46] 266(2.7%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [59] 100.0% ------------------------------------------------------------------ apply-match [38] 100.0% [47] 220(2.2%) 220(2.2%) reduce-to-single! ...bie/src/core/egraph.rkt:324:0 ------------------------------------------------------------------ simplify [40] 100.0% [48] 216(2.2%) 216(2.2%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ------------------------------------------------------------------ taylor-alt [41] 100.0% [49] 216(2.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [60] 100.0% ------------------------------------------------------------------ match-e [37] 100.0% [50] 202(2.0%) 202(2.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ------------------------------------------------------------------ apply-match [38] 100.0% [51] 202(2.0%) 0(0.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 mk-enode! [61] 100.0% ------------------------------------------------------------------ apply-match [38] 100.0% [52] 200(2.0%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [62] 100.0% ------------------------------------------------------------------ apply-match [38] 100.0% [53] 180(1.8%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 enode-merge! [63] 100.0% ------------------------------------------------------------------ ->flonum [39] 100.0% [54] 170(1.7%) 170(1.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------ ->flonum [39] 100.0% [55] 164(1.7%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [64] 100.0% ------------------------------------------------------------------ atab-add-altns [42] 100.0% [56] 152(1.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [65]100.0% ------------------------------------------------------------------ sort-context-on-expr [43] 100.0% [57] 3400(34.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [66] 68.0% loop [71] 32.0% ------------------------------------------------------------------ ??? [45] 100.0% [58] 384(3.9%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [67] 100.0% ------------------------------------------------------------------ pick-errors [46] 100.0% [59] 266(2.7%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [76] 100.0% ------------------------------------------------------------------ for-loop [49] 33.3% location-do [60] 66.7% [60] 216(2.2%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [60] 66.7% approximate9 [2] 33.3% ------------------------------------------------------------------ substitute-e [51] 100.0% [61] 202(2.0%) 0(0.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 hash-has-key? [68] 100.0% ------------------------------------------------------------------ loop! [52] 100.0% [62] 200(2.0%) 200(2.0%) custom-set-union ...et/private/set-types.rkt:168:0 ------------------------------------------------------------------ merge-egraph-nodes! [53] 100.0% [63] 180(1.8%) 180(1.8%) enode-merge! ...ck/herbie/src/core/enode.rkt:100:0 ------------------------------------------------------------------ ??? [55] 100.0% [64] 164(1.7%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [69] 100.0% ------------------------------------------------------------------ atab-add-altn [56] 100.0% [65] 152(1.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [70] 100.0% ------------------------------------------------------------------ copying-mergesort [66] 49.9% sort [57] 50.1% [66] 2312(23.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [66] 49.9% loop [71] 35.0% jloop [72] 15.1% ------------------------------------------------------------------ bf* [58] 41.2% ??? [45] 58.8% [67] 932(9.5%) 180(1.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [73] 80.7% ------------------------------------------------------------------ mk-enode! [61] 100.0% [68] 202(2.0%) 202(2.0%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ------------------------------------------------------------------ ??? [64] 100.0% [69] 164(1.7%) 164(1.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------ best-and-tied-at-points [65]100.0% [70] 152(1.5%) 152(1.5%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ------------------------------------------------------------------ copying-mergesort [66] 45.8% sort [57] 54.2% [71] 2006(20.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [74] 100.0% ------------------------------------------------------------------ copying-mergesort [66] 100.0% [72] 1394(14.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [74] 100.0% ------------------------------------------------------------------ ??? [67] 100.0% [73] 752(7.6%) 368(3.7%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [75] 51.1% ------------------------------------------------------------------ jloop [72] 41.0% loop [71] 59.0% [74] 3400(34.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [76] 100.0% ------------------------------------------------------------------ bfmul [73] 30.0% real->bigfloat [44] 70.0% [75] 1282(13.0%) 1282(13.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------ for-loop [59] 7.3% ??? [74] 92.7% [76] 3666(37.2%) 3192(32.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [77] 4.4% parse-lambda [78] 4.3% parse-app [79] 4.3% ------------------------------------------------------------------ eval-prog [76] 100.0% [77] 162(1.6%) 162(1.6%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 ------------------------------------------------------------------ eval-prog [76] 100.0% [78] 156(1.6%) 156(1.6%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ------------------------------------------------------------------ eval-prog [76] 100.0% [79] 156(1.6%) 156(1.6%) parse-app .../collects/racket/private/kw.rkt:903:2 ------------------------------------------------------------------