Profiling results ----------------- Total cpu time observed: 24418ms (out of 25012ms) Number of samples taken: 107 (once every 228ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [29] 100.0% [1] 23678(97.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [29] 100.0% [2] 4992(20.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 60.1% get-final-combination [9] 32.6% loop [35] 7.3% ---------------------------------------------------------------------- ??? [29] 100.0% [3] 1854(7.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [11] 60.0% for-loop [12] 20.8% iterate-egraph!5 [15] 19.2% ---------------------------------------------------------------------- hash-ref! [57] 100.0% [4] 950(3.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [54] 100.0% ---------------------------------------------------------------------- copying-mergesort [43] 100.0% [5] 790(3.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [10] 100.0% ---------------------------------------------------------------------- location-do [46] 100.0% [6] 378(1.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [13] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 23678(97.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [29] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 3002(12.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1628(6.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 100.0% ---------------------------------------------------------------------- loop [50] 44.0% jloop [5] 56.0% [10] 1410(5.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [53] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [11] 1112(4.6%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [12] 386(1.6%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [15] 100.0% ---------------------------------------------------------------------- approximate9 [6] 100.0% [13] 378(1.5%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [57] 100.0% ---------------------------------------------------------------------- for-loop [8] 100.0% [14] 3002(12.3%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [17] 61.8% finalize-iter! [20] 13.8% gen-series! [21] 12.6% localize-error [22] 11.9% ---------------------------------------------------------------------- simplify [3] 19.2% for-loop [12] 20.8% simplify-expr [11] 60.0% [15] 1854(7.6%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [18] 100.0% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [16] 1628(6.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [19] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [17] 1854(7.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [23] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [18] 1854(7.6%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [24] 88.7% loop [28] 11.3% ---------------------------------------------------------------------- split-table [16] 100.0% [19] 1628(6.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [25] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [20] 414(1.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [21] 378(1.5%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [22] 356(1.5%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [57] 100.0% ---------------------------------------------------------------------- simplify! [17] 100.0% [23] 1854(7.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [29] 100.0% ---------------------------------------------------------------------- for-loop [24] 50.0% one-iter [18] 50.0% [24] 1644(6.7%) 196(0.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [24] 50.0% match-e [30] 44.0% ---------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [25] 1628(6.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [31] 86.6% loop [54] 13.4% ---------------------------------------------------------------------- finalize-iter! [20] 100.0% [26] 414(1.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [32] 100.0% ---------------------------------------------------------------------- gen-series! [21] 100.0% [27] 378(1.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [33] 100.0% ---------------------------------------------------------------------- one-iter [18] 100.0% [28] 210(0.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [34] 100.0% ---------------------------------------------------------------------- for-loop [23] 2.5% run [7] 47.2% [29] 24418(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.2% loop [35] 40.9% run-improve58 [2] 9.4% simplify [3] 2.5% ---------------------------------------------------------------------- for-loop [44] 19.3% for-loop [24] 80.7% [30] 1448(5.9%) 884(3.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [37] 30.5% for-loop [44] 13.3% custom-in-set [40] 7.3% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [31] 1410(5.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [36] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [32] 414(1.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [38] 100.0% ---------------------------------------------------------------------- for-loop [27] 100.0% [33] 378(1.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [39] 100.0% ---------------------------------------------------------------------- loop [28] 100.0% [34] 210(0.9%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [41] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 1.8% ??? [29] 98.2% [35] 19788(81.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [42] 47.6% make-exacts* [48] 41.5% loop [49] 10.9% ---------------------------------------------------------------------- sort-context-on-expr [31] 100.0% [36] 1410(5.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 70.5% loop [50] 29.5% ---------------------------------------------------------------------- match-e [30] 100.0% [37] 528(2.2%) 354(1.4%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [44] 33.0% ---------------------------------------------------------------------- for-loop [32] 100.0% [38] 414(1.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [45] 100.0% ---------------------------------------------------------------------- taylor-alt [33] 100.0% [39] 378(1.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ---------------------------------------------------------------------- match-e [30] 100.0% [40] 210(0.9%) 210(0.9%) custom-in-set ...acket/private/set-types.rkt:578:0 ---------------------------------------------------------------------- apply-match [34] 100.0% [41] 210(0.9%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [47] 100.0% ---------------------------------------------------------------------- loop [35] 100.0% [42] 9410(38.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [49] 57.0% make-exacts* [48] 39.6% eval-prog [53] 3.4% ---------------------------------------------------------------------- sort [36] 40.4% copying-mergesort [43] 59.6% [43] 994(4.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 59.6% loop [50] 20.5% jloop [5] 19.9% ---------------------------------------------------------------------- for-loop [37] 31.1% match-e [30] 68.9% [44] 560(2.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [30] 100.0% ---------------------------------------------------------------------- atab-add-altn [38] 100.0% [45] 414(1.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [59] 100.0% ---------------------------------------------------------------------- for-loop [39] 26.8% location-do [46] 73.2% [46] 378(1.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [46] 73.2% approximate9 [6] 26.8% ---------------------------------------------------------------------- loop! [41] 100.0% [47] 210(0.9%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [51] 100.0% ---------------------------------------------------------------------- loop [42] 31.2% loop [35] 68.8% [48] 11944(48.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [54] 47.6% map [52] 47.1% eval-prog [53] 5.3% ---------------------------------------------------------------------- loop [35] 28.7% loop [42] 71.3% [49] 7526(30.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [52] 100.0% ---------------------------------------------------------------------- copying-mergesort [43] 32.9% sort [36] 67.1% [50] 620(2.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [10] 100.0% ---------------------------------------------------------------------- custom-set-union [47] 100.0% [51] 210(0.9%) 210(0.9%) for-loop ...cts/racket/private/set-types.rkt:152:2 ---------------------------------------------------------------------- f6 [69] 4.0% make-exacts* [48] 41.0% loop [49] 54.9% [52] 13698(56.1%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [54] 97.7% parse-loop50 [60] 1.4% ??? [56] 0.8% ---------------------------------------------------------------------- errors [59] 8.5% loop [42] 12.3% make-exacts* [48] 24.5% ??? [10] 54.7% [53] 2580(10.6%) 1208(4.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [57] 45.3% inductor [55] 7.8% ---------------------------------------------------------------------- make-exacts* [48] 0.4% parse-loop50 [60] 0.5% option-on-expr [25] 1.1% map [52] 3.7% ??? [4] 4.6% loop [54] 89.8% [54] 20556(84.2%) 678(2.8%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [54] 89.8% hash-ref! [57] 4.3% ??? [68] 3.9% errors [59] 1.1% parse-loop50 [60] 0.5% ->flonum [58] 0.1% bfcube [61] 0.0% ...higher-order.rkt:373:33 [76] 0.0% ---------------------------------------------------------------------- inductor [55] 50.0% eval-prog [53] 50.0% [55] 202(0.8%) 202(0.8%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [55] 50.0% ---------------------------------------------------------------------- map [52] 100.0% [56] 174(0.7%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [57] 100.0% ---------------------------------------------------------------------- ??? [66] 5.1% ??? [56] 6.1% localize-error [22] 12.6% loop [13] 14.8% eval-prog [53] 25.9% loop [54] 35.6% [57] 1904(7.8%) 220(0.9%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 39.3% bigfloat-hash [62] 19.2% f6 [69] 18.7% simplify [64] 14.8% ??? [66] 5.1% ---------------------------------------------------------------------- loop [54] 100.0% [58] 850(3.5%) 210(0.9%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [65] 27.5% ??? [83] 24.9% ??? [77] 22.8% ---------------------------------------------------------------------- loop [54] 34.5% best-and-tied-at-points [45] 65.5% [59] 632(2.6%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [63] 65.2% eval-prog [53] 34.8% ---------------------------------------------------------------------- parse-loop50 [60] 33.3% loop [54] 33.3% map [52] 33.3% [60] 194(0.8%) 194(0.8%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 loop [54] 33.3% parse-loop50 [60] 33.3% ---------------------------------------------------------------------- loop [54] 100.0% [61] 174(0.7%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [67] 100.0% ---------------------------------------------------------------------- hash-ref! [57] 100.0% [62] 736(3.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [70] 56.8% bfcanonicalize [71] 43.2% ---------------------------------------------------------------------- errors [59] 100.0% [63] 412(1.7%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [68] 100.0% ---------------------------------------------------------------------- hash-ref! [57] 100.0% [64] 378(1.5%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [69] 51.3% debug7 [72] 48.7% ---------------------------------------------------------------------- ->flonum [58] 100.0% [65] 234(1.0%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [82] 100.0% ---------------------------------------------------------------------- hash-ref! [57] 100.0% [66] 194(0.8%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [57] 100.0% ---------------------------------------------------------------------- bfcube [61] 100.0% [67] 174(0.7%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [75] 100.0% ---------------------------------------------------------------------- for-loop [63] 2.3% loop [54] 97.7% [68] 17936(73.5%) 432(1.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [73] 71.1% real->bigfloat [74] 20.0% ??? [81] 6.5% ---------------------------------------------------------------------- simplify [64] 35.3% hash-ref! [57] 64.7% [69] 550(2.3%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [52] 100.0% ---------------------------------------------------------------------- bigfloat-hash [62] 100.0% [70] 418(1.7%) 418(1.7%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- bigfloat-hash [62] 100.0% [71] 318(1.3%) 318(1.3%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- simplify [64] 100.0% [72] 184(0.8%) 184(0.8%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ---------------------------------------------------------------------- ??? [68] 100.0% [73] 12754(52.2%) 450(1.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [75] 78.0% ...higher-order.rkt:373:33 [76] 15.3% ??? [77] 3.2% ---------------------------------------------------------------------- ??? [68] 100.0% [74] 3586(14.7%) 2928(12.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [82] 18.3% ---------------------------------------------------------------------- bf* [67] 1.7% ??? [73] 98.3% [75] 10118(41.4%) 2020(8.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [78] 31.2% ??? [83] 28.6% bfneg [79] 20.3% ---------------------------------------------------------------------- loop [54] 8.5% ??? [73] 91.5% [76] 2130(8.7%) 230(0.9%) ...higher-order.rkt:373:33 (unknown source) ??? [81] 47.3% ??? [80] 41.9% ---------------------------------------------------------------------- ->flonum [58] 32.0% ??? [73] 68.0% [77] 606(2.5%) 606(2.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [75] 100.0% [78] 3156(12.9%) 1830(7.5%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [82] 42.0% ---------------------------------------------------------------------- ??? [75] 100.0% [79] 2052(8.4%) 1354(5.5%) bfneg ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [82] 34.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [76]100.0% [80] 892(3.7%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [81] 100.0% ---------------------------------------------------------------------- ??? [80] 29.1% ...higher-order.rkt:373:33 [76] 32.9% ??? [68] 38.0% [81] 3064(12.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [83] 100.0% ---------------------------------------------------------------------- ??? [65] 8.0% real->bigfloat [74] 22.6% bfneg [79] 23.9% bfsub [78] 45.5% [82] 2916(11.9%) 2916(11.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ->flonum [58] 3.4% ??? [75] 46.9% ??? [81] 49.7% [83] 6166(25.3%) 3666(15.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [84] 36.4% ??? [85] 4.1% ---------------------------------------------------------------------- ??? [83] 100.0% [84] 2246(9.2%) 702(2.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [86] 68.7% ---------------------------------------------------------------------- ??? [83] 100.0% [85] 254(1.0%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [87] 100.0% ---------------------------------------------------------------------- ??? [84] 100.0% [86] 1544(6.3%) 1544(6.3%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------- ??? [85] 100.0% [87] 254(1.0%) 254(1.0%) ??? ...lects/racket/contract/private/orc.rkt:73:14 ----------------------------------------------------------------------