Profiling results ----------------- Total cpu time observed: 24690ms (out of 25196ms) Number of samples taken: 98 (once every 252ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 78 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [28] 100.0% [1] 24260(98.3%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [28] 100.0% [2] 3980(16.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [9] 40.2% for-loop [10] 35.6% loop [8] 24.3% ---------------------------------------------------------------------- hash-ref! [65] 100.0% [3] 762(3.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [29] 100.0% ---------------------------------------------------------------------- copying-mergesort [43] 100.0% [4] 436(1.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [56] 100.0% ---------------------------------------------------------------------- location-do [47] 100.0% [5] 212(0.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [12] 100.0% ---------------------------------------------------------------------- hash-ref! [65] 100.0% [6] 212(0.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [11] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 99.1% [7] 24470(99.1%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [28] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 4.5% ??? [28] 95.5% [8] 21480(87.0%) 208(0.8%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [13] 48.0% make-exacts* [16] 38.6% loop [17] 11.5% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1598(6.5%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 1416(5.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [11] 212(0.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [65] 100.0% ---------------------------------------------------------------------- approximate9 [5] 100.0% [12] 212(0.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [65] 100.0% ---------------------------------------------------------------------- loop [8] 100.0% [13] 10304(41.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [17] 53.0% make-exacts* [16] 28.9% eval-prog [60] 15.8% loop [20] 2.3% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [14] 1598(6.5%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [18] 100.0% ---------------------------------------------------------------------- for-loop [10] 100.0% [15] 1416(5.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [19] 67.9% finalize-iter! [21] 17.1% gen-series! [22] 15.0% ---------------------------------------------------------------------- loop [13] 26.4% loop [8] 73.6% [16] 11274(45.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [23] 60.5% loop [29] 39.5% ---------------------------------------------------------------------- loop [8] 31.1% loop [13] 68.9% [17] 7922(32.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [23] 100.0% ---------------------------------------------------------------------- split-table [14] 100.0% [18] 1598(6.5%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [24] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [19] 962(3.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [25] 100.0% ---------------------------------------------------------------------- loop [13] 0.1% loop [20] 99.9% [20] 242(1.0%) 242(1.0%) loop /home/ztatlock/herbie/src/points.rkt:72:2 loop [20] 99.9% ---------------------------------------------------------------------- run-iter! [15] 100.0% [21] 242(1.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [22] 212(0.9%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% ---------------------------------------------------------------------- make-exacts* [16] 46.3% loop [17] 53.7% [23] 14744(59.7%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [29] 95.5% ??? [34] 4.5% ---------------------------------------------------------------------- infer-splitpoints4 [18] 100.0% [24] 1598(6.5%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [30] 86.2% pick-errors [32] 13.8% ---------------------------------------------------------------------- simplify! [19] 100.0% [25] 962(3.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [28] 100.0% ---------------------------------------------------------------------- finalize-iter! [21] 100.0% [26] 242(1.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [31] 100.0% ---------------------------------------------------------------------- gen-series! [22] 100.0% [27] 212(0.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [33] 100.0% ---------------------------------------------------------------------- for-loop [25] 1.3% run [7] 49.3% [28] 24690(100.0%) 196(0.8%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.5% loop [8] 42.0% run-improve58 [2] 7.9% simplify [36] 1.3% ---------------------------------------------------------------------- make-exacts* [16] 0.1% map [23] 2.7% ??? [3] 3.9% loop [29] 93.2% [29] 19298(78.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [29] 93.2% hash-ref! [65] 3.9% ??? [34] 2.8% ->flonum [40] 0.0% ---------------------------------------------------------------------- option-on-expr [24] 100.0% [30] 1378(5.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [35] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [31] 242(1.0%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [37] 100.0% ---------------------------------------------------------------------- option-on-expr [24] 100.0% [32] 220(0.9%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [38] 100.0% ---------------------------------------------------------------------- for-loop [27] 100.0% [33] 212(0.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [39] 100.0% ---------------------------------------------------------------------- map [23] 3.5% loop [29] 96.5% [34] 18986(76.9%) 594(2.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [41] 73.7% real->bigfloat [42] 19.6% ??? [59] 3.6% ---------------------------------------------------------------------- sort-context-on-expr [30] 100.0% [35] 1378(5.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 66.5% loop [51] 33.5% ---------------------------------------------------------------------- ??? [28] 100.0% [36] 962(3.9%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [44] 49.7% simplify-expr [46] 25.2% iterate-egraph!5 [50] 25.2% ---------------------------------------------------------------------- atab-add-altns [31] 100.0% [37] 242(1.0%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [45] 100.0% ---------------------------------------------------------------------- pick-errors [32] 100.0% [38] 220(0.9%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [60] 100.0% ---------------------------------------------------------------------- taylor-alt [33] 100.0% [39] 212(0.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [47] 100.0% ---------------------------------------------------------------------- loop [29] 100.0% [40] 210(0.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [64] 100.0% ---------------------------------------------------------------------- ??? [34] 100.0% [41] 13988(56.7%) 194(0.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [48] 76.2% ...higher-order.rkt:373:33 [49] 20.5% bf/ [52] 2.0% ---------------------------------------------------------------------- ??? [34] 100.0% [42] 3714(15.0%) 2836(11.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [61] 23.6% ---------------------------------------------------------------------- copying-mergesort [43] 48.9% sort [35] 51.1% [43] 916(3.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 48.9% loop [51] 39.2% jloop [4] 11.9% ---------------------------------------------------------------------- simplify [36] 100.0% [44] 478(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [50] 100.0% ---------------------------------------------------------------------- atab-add-altn [37] 100.0% [45] 242(1.0%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [53] 100.0% ---------------------------------------------------------------------- simplify [36] 100.0% [46] 242(1.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [50] 100.0% ---------------------------------------------------------------------- for-loop [39] 33.3% location-do [47] 66.7% [47] 212(0.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [47] 66.7% approximate9 [5] 33.3% ---------------------------------------------------------------------- ??? [41] 100.0% [48] 10654(43.2%) 3352(13.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [54] 39.0% ??? [64] 19.0% bfdiv [57] 10.5% ---------------------------------------------------------------------- ??? [41] 100.0% [49] 2864(11.6%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [59] 50.8% ??? [55] 49.2% ---------------------------------------------------------------------- simplify [36] 25.2% simplify-expr [46] 25.2% for-loop [44] 49.7% [50] 962(3.9%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [58] 100.0% ---------------------------------------------------------------------- sort [35] 49.0% copying-mergesort [43] 51.0% [51] 942(3.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [56] 100.0% ---------------------------------------------------------------------- ??? [41] 100.0% [52] 276(1.1%) 276(1.1%) bf/ ...th/private/bigfloat/bigfloat-mpfr.rkt:102:0 ---------------------------------------------------------------------- best-and-tied-at-points [45] 100.0% [53] 242(1.0%) 242(1.0%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- ??? [48] 100.0% [54] 4160(16.8%) 2270(9.2%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [61] 45.4% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [49]100.0% [55] 1408(5.7%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [59] 100.0% ---------------------------------------------------------------------- jloop [4] 31.6% loop [51] 68.4% [56] 1378(5.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [60] 100.0% ---------------------------------------------------------------------- ??? [48] 100.0% [57] 1116(4.5%) 1116(4.5%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- iterate-egraph!5 [50] 100.0% [58] 962(3.9%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [62] 75.1% loop [63] 24.9% ---------------------------------------------------------------------- ??? [34] 19.4% ??? [55] 39.6% ...higher-order.rkt:373:33 [49] 41.0% [59] 3554(14.4%) 238(1.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [64] 93.3% ---------------------------------------------------------------------- for-loop [38] 6.8% ??? [56] 42.8% loop [13] 50.4% [60] 3222(13.0%) 2008(8.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [65] 23.6% ??? [67] 7.4% inductor [68] 6.6% ---------------------------------------------------------------------- real->bigfloat [42] 31.7% bfsqrt [54] 68.3% [61] 2768(11.2%) 2768(11.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- for-loop [62] 50.0% one-iter [58] 50.0% [62] 722(2.9%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [62] 50.0% match-e [66] 50.0% ---------------------------------------------------------------------- one-iter [58] 100.0% [63] 240(1.0%) 240(1.0%) loop ...cket/collects/racket/private/map.rkt:53:19 ---------------------------------------------------------------------- ->flonum [40] 3.8% ??? [48] 36.5% ??? [59] 59.7% [64] 5552(22.5%) 2132(8.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [69] 50.2% ??? [71] 11.4% ---------------------------------------------------------------------- for-loop [11] 7.3% ??? [73] 7.3% loop [12] 7.3% eval-prog [60] 26.1% loop [29] 52.2% [65] 974(3.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [3] 52.2% bigfloat-hash [70] 26.1% ??? [73] 7.3% ??? [6] 7.3% simplify [72] 7.3% ---------------------------------------------------------------------- for-loop [62] 100.0% [66] 722(2.9%) 722(2.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- eval-prog [60] 100.0% [67] 238(1.0%) 238(1.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ---------------------------------------------------------------------- eval-prog [60] 14.3% inductor [68] 85.7% [68] 214(0.9%) 214(0.9%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [68] 85.7% ---------------------------------------------------------------------- ??? [64] 100.0% [69] 2788(11.3%) 1638(6.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [74] 41.2% ---------------------------------------------------------------------- hash-ref! [65] 100.0% [70] 762(3.1%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [75] 100.0% ---------------------------------------------------------------------- ??? [64] 100.0% [71] 632(2.6%) 426(1.7%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [77] 32.6% ---------------------------------------------------------------------- hash-ref! [65] 100.0% [72] 212(0.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [76] 100.0% ---------------------------------------------------------------------- hash-ref! [65] 100.0% [73] 212(0.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [65] 100.0% ---------------------------------------------------------------------- ??? [69] 100.0% [74] 1150(4.7%) 1150(4.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------- bigfloat-hash [70] 100.0% [75] 762(3.1%) 762(3.1%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- simplify [72] 100.0% [76] 212(0.9%) 212(0.9%) f37 ...t/collects/racket/match/compiler.rkt:499:40 ---------------------------------------------------------------------- ??? [71] 100.0% [77] 206(0.8%) 206(0.8%) ??? ...lects/racket/contract/private/orc.rkt:73:14 ----------------------------------------------------------------------