Profiling results ----------------- Total cpu time observed: 30550ms (out of 31004ms) Number of samples taken: 130 (once every 235ms) (Hiding functions with self<1.0% and local<2.0%: 3 of 74 hidden) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== ??? [4] 100.0% [1] 30112(98.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ------------------------------------------------------------------------ copying-mergesort [40] 100.0% [2] 444(1.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [47] 100.0% ------------------------------------------------------------------------ profile-thunk14 [1] 100.0% [3] 30112(98.6%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [4] 100.0% ------------------------------------------------------------------------ for-loop [27] 0.5% run [3] 49.1% [4] 30550(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.1% loop [7] 45.2% run-improve58 [5] 5.3% simplify [6] 0.5% ------------------------------------------------------------------------ ??? [4] 100.0% [5] 3136(10.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [8] 43.6% for-loop [9] 35.3% loop [7] 21.2% ------------------------------------------------------------------------ ??? [4] 100.0% [6] 420(1.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [10] 100.0% ------------------------------------------------------------------------ run-improve58 [5] 2.4% ??? [4] 97.6% [7] 28078(91.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [16] 55.4% loop [11] 42.4% loop [17] 0.8% loop [15] 0.7% ------------------------------------------------------------------------ run-improve58 [5] 100.0% [8] 1366(4.5%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [12] 100.0% ------------------------------------------------------------------------ run-improve58 [5] 100.0% [9] 1106(3.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [13] 100.0% ------------------------------------------------------------------------ simplify [6] 100.0% [10] 420(1.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [14] 100.0% ------------------------------------------------------------------------ loop [7] 100.0% [11] 11892(38.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [17] 58.6% make-exacts* [16] 34.2% eval-prog [48] 7.2% ------------------------------------------------------------------------ get-final-combination [8] 100.0% [12] 1366(4.5%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [18] 100.0% ------------------------------------------------------------------------ for-loop [9] 100.0% [13] 1106(3.6%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 38.0% gen-series! [21] 21.9% localize-error [22] 20.3% finalize-iter! [23] 19.9% ------------------------------------------------------------------------ simplify-expr [10] 100.0% [14] 420(1.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 100.0% ------------------------------------------------------------------------ loop [7] 0.1% loop [15] 99.9% [15] 200(0.7%) 200(0.7%) loop ...hare/racket/collects/racket/list.rkt:154:2 loop [15] 99.9% ------------------------------------------------------------------------ loop [11] 20.7% loop [7] 79.3% [16] 19610(64.2%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [24] 52.6% loop [56] 45.3% eval-prog [48] 2.1% ------------------------------------------------------------------------ loop [7] 3.1% loop [11] 96.9% [17] 7186(23.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [24] 100.0% ------------------------------------------------------------------------ split-table [12] 100.0% [18] 1366(4.5%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [25] 100.0% ------------------------------------------------------------------------ iterate-egraph!5 [14] 100.0% [19] 420(1.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [26] 100.0% ------------------------------------------------------------------------ run-iter! [13] 100.0% [20] 420(1.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [27] 100.0% ------------------------------------------------------------------------ run-iter! [13] 100.0% [21] 242(0.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [28] 100.0% ------------------------------------------------------------------------ run-iter! [13] 100.0% [22] 224(0.7%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [49] 100.0% ------------------------------------------------------------------------ run-iter! [13] 100.0% [23] 220(0.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [29] 100.0% ------------------------------------------------------------------------ f6 [64] 2.6% loop [17] 40.0% make-exacts* [16] 57.4% [24] 17974(58.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [56] 96.9% make-multiplication-node [31] 1.3% ??? [59] 1.1% ??? [33] 0.6% ------------------------------------------------------------------------ infer-splitpoints4 [18] 100.0% [25] 1366(4.5%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [30] 100.0% ------------------------------------------------------------------------ for-loop [26] 50.0% one-iter [19] 50.0% [26] 420(1.4%) 200(0.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [26] 50.0% match-e [34] 26.2% ------------------------------------------------------------------------ simplify! [20] 100.0% [27] 420(1.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [4] 100.0% ------------------------------------------------------------------------ gen-series! [21] 100.0% [28] 242(0.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [32] 100.0% ------------------------------------------------------------------------ finalize-iter! [23] 100.0% [29] 220(0.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [35] 100.0% ------------------------------------------------------------------------ option-on-expr [25] 100.0% [30] 1366(4.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [36] 100.0% ------------------------------------------------------------------------ map [24] 100.0% [31] 242(0.8%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [37]100.0% ------------------------------------------------------------------------ for-loop [28] 100.0% [32] 242(0.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [38] 100.0% ------------------------------------------------------------------------ loop [56] 50.0% map [24] 50.0% [33] 224(0.7%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [49] 100.0% ------------------------------------------------------------------------ for-loop [26] 100.0% [34] 220(0.7%) 220(0.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ------------------------------------------------------------------------ ??? [29] 100.0% [35] 220(0.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% ------------------------------------------------------------------------ sort-context-on-expr [30] 100.0% [36] 1366(4.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [40] 82.4% loop [44] 17.6% ------------------------------------------------------------------------ make-multiplication-node [31] 100.0% [37] 242(0.8%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:231:0 group-by68 [41] 100.0% ------------------------------------------------------------------------ taylor-alt [32] 100.0% [38] 242(0.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [42] 100.0% ------------------------------------------------------------------------ for-loop [35] 100.0% [39] 220(0.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [43] 100.0% ------------------------------------------------------------------------ copying-mergesort [40] 39.4% sort [36] 60.6% [40] 1126(3.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [44] 50.7% copying-mergesort [40] 39.4% jloop [2] 9.9% ------------------------------------------------------------------------ make-multiplication-subnode [37]100.0% [41] 242(0.8%) 242(0.8%) group-by68 ...acket/collects/racket/list.rkt:749:0 ------------------------------------------------------------------------ location-do [42] 50.0% for-loop [38] 50.0% [42] 242(0.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [42] 50.0% approximate9 [45] 50.0% ------------------------------------------------------------------------ atab-add-altn [39] 100.0% [43] 220(0.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [46] 100.0% ------------------------------------------------------------------------ sort [36] 26.0% copying-mergesort [40] 74.0% [44] 922(3.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [47] 100.0% ------------------------------------------------------------------------ location-do [42] 100.0% [45] 242(0.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f6 [64] 100.0% ------------------------------------------------------------------------ best-and-tied-at-points [43] 100.0% [46] 220(0.7%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [48] 100.0% ------------------------------------------------------------------------ jloop [2] 32.5% loop [44] 67.5% [47] 1366(4.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [48] 100.0% ------------------------------------------------------------------------ errors [46] 7.7% make-exacts* [16] 14.2% loop [11] 30.2% ??? [47] 47.9% [48] 2852(9.3%) 1102(3.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [49] 44.4% ??? [51] 8.5% go [50] 8.5% ------------------------------------------------------------------------ localize-error [22] 5.0% ??? [33] 10.0% loop [56] 21.1% eval-prog [48] 63.9% [49] 1490(4.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [52] 63.9% ??? [53] 21.1% f6 [64] 10.0% parse-loop12 [55] 5.0% ------------------------------------------------------------------------ eval-prog [48] 100.0% [50] 242(0.8%) 242(0.8%) go .../collects/racket/private/qq-and-or.rkt:50:20 ------------------------------------------------------------------------ eval-prog [48] 100.0% [51] 242(0.8%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [54] 100.0% ------------------------------------------------------------------------ hash-ref! [49] 100.0% [52] 1266(4.1%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [57] 52.1% bfcanonicalize [58] 47.9% ------------------------------------------------------------------------ hash-ref! [49] 100.0% [53] 406(1.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [56] 100.0% ------------------------------------------------------------------------ ??? [51] 100.0% [54] 242(0.8%) 242(0.8%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ------------------------------------------------------------------------ hash-ref! [49] 100.0% [55] 224(0.7%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [56] 100.0% ------------------------------------------------------------------------ parse-loop12 [55] 0.1% make-exacts* [16] 0.1% f6 [64] 0.9% ??? [53] 1.5% map [24] 2.0% loop [56] 95.4% [56] 27062(88.6%) 238(0.8%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [56] 95.4% ??? [59] 2.0% hash-ref! [49] 1.5% simplify [60] 0.9% ??? [33] 0.1% ??? [66] 0.1% ------------------------------------------------------------------------ bigfloat-hash [52] 100.0% [57] 660(2.2%) 660(2.2%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ------------------------------------------------------------------------ bigfloat-hash [52] 100.0% [58] 606(2.0%) 606(2.0%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ------------------------------------------------------------------------ map [24] 0.8% loop [56] 99.2% [59] 26152(85.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [61] 91.4% real->bigfloat [62] 4.3% ...e/case-arrow.rkt:150:50 [63] 2.6% ??? [65] 1.7% ------------------------------------------------------------------------ loop [56] 100.0% [60] 242(0.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [64] 100.0% ------------------------------------------------------------------------ ??? [59] 100.0% [61] 23912(78.3%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [66] 98.1% ------------------------------------------------------------------------ ??? [59] 100.0% [62] 1124(3.7%) 884(2.9%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [69] 21.4% ------------------------------------------------------------------------ ??? [59] 100.0% [63] 678(2.2%) 678(2.2%) ...e/case-arrow.rkt:150:50 (unknown source) ------------------------------------------------------------------------ simplify [60] 17.3% f6 [64] 17.3% approximate9 [45] 17.3% hash-ref! [49] 48.1% [64] 466(1.5%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [24] 65.4% f6 [64] 17.3% loop [56] 17.3% ------------------------------------------------------------------------ ??? [59] 100.0% [65] 438(1.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [68] 100.0% ------------------------------------------------------------------------ loop [56] 0.9% ??? [61] 97.2% [66] 24136(79.0%) 22060(72.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [67] 5.8% ??? [68] 1.9% ------------------------------------------------------------------------ ??? [66] 100.0% [67] 1392(4.6%) 676(2.2%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [69] 51.4% ------------------------------------------------------------------------ ??? [65] 48.9% ??? [66] 51.1% [68] 896(2.9%) 220(0.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [70] 75.4% ------------------------------------------------------------------------ real->bigfloat [62] 25.1% bfsqrt [67] 74.9% [69] 956(3.1%) 956(3.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------------ ??? [68] 100.0% [70] 676(2.2%) 218(0.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [71] 67.8% ------------------------------------------------------------------------ ??? [70] 100.0% [71] 458(1.5%) 458(1.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------------