Profiling results ----------------- Total cpu time observed: 20576ms (out of 20668ms) Number of samples taken: 78 (once every 264ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [7] 100.0% [1] 19938(96.9%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ----------------------------------------------------------------------- hash-ref! [61] 100.0% [2] 1392(6.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [33] 100.0% ----------------------------------------------------------------------- copying-mergesort [43] 100.0% [3] 442(2.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [52] 100.0% ----------------------------------------------------------------------- hash-ref! [61] 100.0% [4] 220(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [6] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 96.9% [5] 20576(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ----------------------------------------------------------------------- ??? [4] 100.0% [6] 220(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [61] 100.0% ----------------------------------------------------------------------- for-loop [28] 1.8% run [5] 50.7% [7] 20576(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.6% loop [10] 40.8% run-improve58 [8] 9.8% simplify [9] 1.8% ----------------------------------------------------------------------- ??? [7] 100.0% [8] 3980(19.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [11] 48.2% get-final-combination [12] 39.4% loop [10] 12.4% ----------------------------------------------------------------------- ??? [7] 100.0% [9] 1082(5.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [13] 79.7% for-loop [14] 20.3% ----------------------------------------------------------------------- run-improve58 [8] 2.9% ??? [7] 97.1% [10] 17088(83.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [15] 57.4% make-exacts* [19] 32.8% loop [20] 9.9% ----------------------------------------------------------------------- run-improve58 [8] 100.0% [11] 1920(9.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [16] 100.0% ----------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 1568(7.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ----------------------------------------------------------------------- simplify [9] 100.0% [13] 862(4.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [18] 100.0% ----------------------------------------------------------------------- simplify [9] 100.0% [14] 220(1.1%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [18] 100.0% ----------------------------------------------------------------------- loop [10] 100.0% [15] 9800(47.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 44.1% make-exacts* [19] 30.9% eval-prog [57] 25.0% ----------------------------------------------------------------------- for-loop [11] 100.0% [16] 1920(9.3%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [23] 56.4% gen-series! [24] 22.3% finalize-iter! [25] 21.4% ----------------------------------------------------------------------- get-final-combination [12] 100.0% [17] 1568(7.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ----------------------------------------------------------------------- for-loop [14] 20.3% simplify-expr [13] 79.7% [18] 1082(5.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [22] 100.0% ----------------------------------------------------------------------- loop [15] 35.0% loop [10] 65.0% [19] 8628(41.9%) 210(1.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [26] 54.8% loop [33] 42.8% ----------------------------------------------------------------------- loop [10] 28.0% loop [15] 72.0% [20] 6010(29.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [26] 100.0% ----------------------------------------------------------------------- split-table [17] 100.0% [21] 1568(7.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [27] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [18] 100.0% [22] 1082(5.3%) 222(1.1%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [29] 59.1% loop [32] 20.3% ----------------------------------------------------------------------- run-iter! [16] 100.0% [23] 1082(5.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [28] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [24] 428(2.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [30] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [25] 410(2.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [31] 100.0% ----------------------------------------------------------------------- make-exacts* [19] 44.0% loop [20] 56.0% [26] 10738(52.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [33] 97.7% ??? [56] 2.3% ----------------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [27] 1568(7.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [34] 86.0% errors [50] 14.0% ----------------------------------------------------------------------- simplify! [23] 100.0% [28] 1082(5.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ----------------------------------------------------------------------- for-loop [29] 50.0% one-iter [22] 50.0% [29] 640(3.1%) 220(1.1%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [29] 50.0% match-e [40] 32.8% ----------------------------------------------------------------------- gen-series! [24] 100.0% [30] 428(2.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [35] 100.0% ----------------------------------------------------------------------- finalize-iter! [25] 100.0% [31] 410(2.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 100.0% ----------------------------------------------------------------------- one-iter [22] 100.0% [32] 220(1.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [37] 100.0% ----------------------------------------------------------------------- make-exacts* [19] 0.7% map [26] 1.6% ??? [2] 8.9% loop [33] 88.7% [33] 15574(75.7%) 248(1.2%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [33] 88.7% hash-ref! [61] 8.9% ??? [56] 2.3% ->flonum [39] 0.0% ----------------------------------------------------------------------- option-on-expr [27] 100.0% [34] 1348(6.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [38] 100.0% ----------------------------------------------------------------------- for-loop [30] 100.0% [35] 428(2.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [41] 100.0% ----------------------------------------------------------------------- ??? [31] 100.0% [36] 410(2.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [42] 100.0% ----------------------------------------------------------------------- loop [32] 100.0% [37] 220(1.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [40] 100.0% ----------------------------------------------------------------------- sort-context-on-expr [34] 100.0% [38] 1348(6.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 82.0% loop [48] 18.0% ----------------------------------------------------------------------- loop [33] 100.0% [39] 700(3.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [79] 70.3% ??? [46] 29.7% ----------------------------------------------------------------------- apply-match [37] 34.4% for-loop [29] 65.6% [40] 640(3.1%) 420(2.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [45] 34.4% ----------------------------------------------------------------------- taylor-alt [35] 100.0% [41] 428(2.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [44] 100.0% ----------------------------------------------------------------------- for-loop [36] 100.0% [42] 410(2.0%) 208(1.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [47] 49.3% ----------------------------------------------------------------------- sort [38] 42.2% copying-mergesort [43] 57.8% [43] 1106(5.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 57.8% loop [48] 32.2% jloop [3] 10.0% ----------------------------------------------------------------------- location-do [44] 34.3% for-loop [41] 65.7% [44] 428(2.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [49] 65.7% location-do [44] 34.3% ----------------------------------------------------------------------- match-e [40] 100.0% [45] 220(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 curried [51] 100.0% ----------------------------------------------------------------------- ->flonum [39] 100.0% [46] 208(1.0%) 208(1.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- atab-add-altn [42] 100.0% [47] 202(1.0%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [50] 100.0% ----------------------------------------------------------------------- sort [38] 26.7% copying-mergesort [43] 73.3% [48] 906(4.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [52] 100.0% ----------------------------------------------------------------------- location-do [44] 100.0% [49] 428(2.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [54] 51.4% f94 [55] 48.6% ----------------------------------------------------------------------- best-and-tied-at-points [47] 47.9% option-on-expr [27] 52.1% [50] 422(2.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [53] 100.0% ----------------------------------------------------------------------- for-loop [45] 100.0% [51] 220(1.1%) 220(1.1%) curried ...cket/collects/racket/function.rkt:71:18 ----------------------------------------------------------------------- jloop [3] 32.8% loop [48] 67.2% [52] 1348(6.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [57] 100.0% ----------------------------------------------------------------------- errors [50] 100.0% [53] 422(2.1%) 220(1.1%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [56] 47.9% ----------------------------------------------------------------------- approximate9 [49] 100.0% [54] 220(1.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [61] 100.0% ----------------------------------------------------------------------- approximate9 [49] 100.0% [55] 208(1.0%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 taylor-sqrt [58] 100.0% ----------------------------------------------------------------------- for-loop [53] 1.5% map [26] 1.8% loop [33] 96.7% [56] 13682(66.5%) 742(3.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [59] 67.5% real->bigfloat [60] 22.5% ??? [76] 4.6% ----------------------------------------------------------------------- ??? [52] 35.5% loop [15] 64.5% [57] 3798(18.5%) 2140(10.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [61] 36.7% inductor [62] 7.0% ----------------------------------------------------------------------- f94 [55] 100.0% [58] 208(1.0%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [66] 100.0% ----------------------------------------------------------------------- ??? [56] 100.0% [59] 9234(44.9%) 458(2.2%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [69] 45.3% bf* [63] 37.5% ...higher-order.rkt:373:33 [65] 12.3% ----------------------------------------------------------------------- ??? [56] 100.0% [60] 3074(14.9%) 2576(12.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [78] 16.2% ----------------------------------------------------------------------- for-loop [6] 4.5% ??? [68] 4.5% loop [54] 4.5% eval-prog [57] 21.6% loop [33] 64.8% [61] 1612(7.8%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [2] 64.8% bigfloat-hash [64] 21.6% ??? [68] 4.5% ??? [4] 4.5% simplify [66] 4.5% ----------------------------------------------------------------------- eval-prog [57] 25.0% inductor [62] 75.0% [62] 266(1.3%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [62] 75.0% integer->bigfloat [67] 25.0% ----------------------------------------------------------------------- ??? [59] 100.0% [63] 3460(16.8%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [69] 100.0% ----------------------------------------------------------------------- hash-ref! [61] 100.0% [64] 1392(6.8%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [70] 100.0% ----------------------------------------------------------------------- ??? [59] 100.0% [65] 1132(5.5%) 240(1.2%) ...higher-order.rkt:373:33 (unknown source) ??? [71] 56.7% ??? [76] 22.1% ----------------------------------------------------------------------- taylor-sqrt [58] 48.6% hash-ref! [61] 51.4% [66] 428(2.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [72] 51.4% make-multiplication-node [73] 48.6% ----------------------------------------------------------------------- inductor [62] 100.0% [67] 266(1.3%) 266(1.3%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ----------------------------------------------------------------------- hash-ref! [61] 100.0% [68] 220(1.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [61] 100.0% ----------------------------------------------------------------------- bf* [63] 45.3% ??? [59] 54.7% [69] 7644(37.2%) 656(3.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [74] 45.8% bfsqrt [75] 36.7% ??? [79] 8.9% ----------------------------------------------------------------------- bigfloat-hash [64] 100.0% [70] 1392(6.8%) 1392(6.8%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [65] 100.0% [71] 642(3.1%) 212(1.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [76] 67.0% ----------------------------------------------------------------------- parse-loop50 [72] 50.0% simplify [66] 50.0% [72] 220(1.1%) 220(1.1%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [72] 50.0% ----------------------------------------------------------------------- simplify [66] 100.0% [73] 208(1.0%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [77]100.0% ----------------------------------------------------------------------- ??? [69] 100.0% [74] 3502(17.0%) 2084(10.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [78] 40.5% ----------------------------------------------------------------------- ??? [69] 100.0% [75] 2804(13.6%) 1868(9.1%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [78] 33.4% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [65] 19.1% ??? [71] 32.8% ??? [56] 48.2% [76] 1312(6.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [79] 100.0% ----------------------------------------------------------------------- make-multiplication-node [73] 100.0% [77] 208(1.0%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:231:0 group-by68 [80] 100.0% ----------------------------------------------------------------------- real->bigfloat [60] 17.5% bfsqrt [75] 32.8% bfmul [74] 49.7% [78] 2852(13.9%) 2852(13.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ->flonum [39] 19.8% ??? [69] 27.4% ??? [76] 52.8% [79] 2486(12.1%) 1340(6.5%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [81] 46.1% ----------------------------------------------------------------------- make-multiplication-subnode [77]100.0% [80] 208(1.0%) 208(1.0%) group-by68 ...acket/collects/racket/list.rkt:749:0 ----------------------------------------------------------------------- ??? [79] 100.0% [81] 1146(5.6%) 928(4.5%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [82] 19.0% ----------------------------------------------------------------------- ??? [81] 100.0% [82] 218(1.1%) 218(1.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------