Profiling results ----------------- Total cpu time observed: 38976ms (out of 39416ms) Number of samples taken: 166 (once every 235ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [25] 100.0% [1] 38534(98.9%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ----------------------------------------------------------------------- ??? [25] 100.0% [2] 7780(20.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [7] 65.5% get-final-combination [9] 21.1% loop [30] 13.4% ----------------------------------------------------------------------- ??? [25] 100.0% [3] 4070(10.4%) 420(1.1%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [8] 52.5% iterate-egraph!5 [11] 37.2% ----------------------------------------------------------------------- copying-mergesort [38] 100.0% [4] 822(2.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [52] 100.0% ----------------------------------------------------------------------- loop [71] 100.0% [5] 428(1.1%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [60] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 38534(98.9%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [25] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 5096(13.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [10] 100.0% ----------------------------------------------------------------------- simplify [3] 100.0% [8] 2136(5.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [11] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1644(4.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [12] 100.0% ----------------------------------------------------------------------- for-loop [7] 100.0% [10] 5096(13.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [13] 79.9% finalize-iter! [16] 16.1% localize-error [35] 4.1% ----------------------------------------------------------------------- simplify [3] 41.5% simplify-expr [8] 58.5% [11] 3650(9.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [14] 93.9% *simplify-rules* [17] 6.1% ----------------------------------------------------------------------- get-final-combination [9] 100.0% [12] 1644(4.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [15] 100.0% ----------------------------------------------------------------------- run-iter! [10] 100.0% [13] 4070(10.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [18] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [11] 100.0% [14] 3428(8.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [19] 68.6% loop [21] 31.4% ----------------------------------------------------------------------- split-table [12] 100.0% [15] 1644(4.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [20] 86.6% exprs-to-branch-on [24] 13.4% ----------------------------------------------------------------------- run-iter! [10] 100.0% [16] 818(2.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [22] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [11] 100.0% [17] 222(0.6%) 0(0.0%) *simplify-rules* ...bie/src/syntax/rules.rkt:300:0 for-loop [23] 100.0% ----------------------------------------------------------------------- simplify! [13] 100.0% [18] 4070(10.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [25] 100.0% ----------------------------------------------------------------------- for-loop [19] 50.0% one-iter [14] 50.0% [19] 2350(6.0%) 404(1.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [19] 50.0% match-e [31] 41.4% ----------------------------------------------------------------------- infer-splitpoints4 [15] 100.0% [20] 1424(3.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [26] 100.0% ----------------------------------------------------------------------- one-iter [14] 100.0% [21] 1078(2.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [27] 100.0% ----------------------------------------------------------------------- finalize-iter! [16] 100.0% [22] 818(2.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [28] 100.0% ----------------------------------------------------------------------- *simplify-rules* [17] 100.0% [23] 222(0.6%) 222(0.6%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ----------------------------------------------------------------------- infer-splitpoints4 [15] 100.0% [24] 220(0.6%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [29] 100.0% ----------------------------------------------------------------------- for-loop [18] 3.6% run [6] 47.8% [25] 38976(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.8% loop [30] 40.3% run-improve58 [2] 8.3% simplify [3] 3.6% ----------------------------------------------------------------------- option-on-expr [20] 100.0% [26] 1424(3.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [32] 100.0% ----------------------------------------------------------------------- loop [21] 100.0% [27] 1078(2.8%) 220(0.6%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [34] 40.3% match-e [31] 39.3% ----------------------------------------------------------------------- ??? [22] 100.0% [28] 818(2.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [33] 100.0% ----------------------------------------------------------------------- exprs-to-branch-on [24] 100.0% [29] 220(0.6%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [35] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 3.2% ??? [25] 96.8% [30] 32236(82.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [36] 43.1% make-exacts* [44] 38.9% loop [45] 17.3% for-loop [41] 0.7% ----------------------------------------------------------------------- for-loop [46] 8.9% apply-match [27] 17.9% for-loop [19] 73.2% [31] 2370(6.1%) 882(2.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [37] 45.0% for-loop [46] 13.2% constant? [42] 9.3% ----------------------------------------------------------------------- sort-context-on-expr [26] 100.0% [32] 1424(3.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [38] 71.9% loop [48] 28.1% ----------------------------------------------------------------------- for-loop [28] 100.0% [33] 818(2.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [39] 75.8% override-at-pnts [43] 24.2% ----------------------------------------------------------------------- apply-match [27] 100.0% [34] 434(1.1%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [40] 100.0% ----------------------------------------------------------------------- run-iter! [10] 48.6% critical-subexpression [29] 51.4% [35] 428(1.1%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [60] 100.0% ----------------------------------------------------------------------- loop [30] 100.0% [36] 13900(35.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [45] 50.6% make-exacts* [44] 44.2% eval-prog [57] 5.2% ----------------------------------------------------------------------- match-e [31] 100.0% [37] 1066(2.7%) 642(1.6%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [49] 39.8% for-loop [46] 9.4% ----------------------------------------------------------------------- sort [32] 39.8% copying-mergesort [38] 60.2% [38] 1024(2.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [38] 60.2% jloop [4] 20.1% loop [48] 19.7% ----------------------------------------------------------------------- atab-add-altn [33] 100.0% [39] 620(1.6%) 200(0.5%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [47] 67.7% ----------------------------------------------------------------------- merge-egraph-nodes! [34] 100.0% [40] 434(1.1%) 202(0.5%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [50] 53.5% ----------------------------------------------------------------------- loop [30] 100.0% [41] 222(0.6%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [51] 100.0% ----------------------------------------------------------------------- match-e [31] 100.0% [42] 220(0.6%) 220(0.6%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ----------------------------------------------------------------------- atab-add-altn [33] 100.0% [43] 198(0.5%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [47] 100.0% ----------------------------------------------------------------------- loop [36] 32.9% loop [30] 67.1% [44] 18684(47.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [71] 52.3% map [69] 46.6% eval-prog [57] 1.1% ----------------------------------------------------------------------- loop [30] 44.2% loop [36] 55.8% [45] 12610(32.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [69] 100.0% ----------------------------------------------------------------------- for-loop [37] 32.2% match-e [31] 67.8% [46] 622(1.6%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [31] 67.5% ??? [55] 32.5% ----------------------------------------------------------------------- override-at-pnts [43] 32.0% best-and-tied-at-points [39] 68.0% [47] 618(1.6%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [57] 68.0% for-loop [56] 32.0% ----------------------------------------------------------------------- copying-mergesort [38] 33.6% sort [32] 66.4% [48] 602(1.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [52] 100.0% ----------------------------------------------------------------------- for-loop [37] 100.0% [49] 424(1.1%) 424(1.1%) list-cartesian-product ...src/core/ematch.rkt:20:0 ----------------------------------------------------------------------- update-leader! [40] 100.0% [50] 232(0.6%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 for-loop [53] 100.0% ----------------------------------------------------------------------- for-loop [41] 100.0% [51] 222(0.6%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-default [54] 100.0% ----------------------------------------------------------------------- loop [48] 42.3% jloop [4] 57.7% [52] 1424(3.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [57] 100.0% ----------------------------------------------------------------------- for-loop [50] 100.0% [53] 232(0.6%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:223:8 hash-update! [58] 100.0% ----------------------------------------------------------------------- for-loop [51] 100.0% [54] 222(0.6%) 222(0.6%) sample-default ...rc/syntax/distributions.rkt:11:0 ----------------------------------------------------------------------- for-loop [46] 100.0% [55] 202(0.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [59] 100.0% ----------------------------------------------------------------------- errors [47] 100.0% [56] 198(0.5%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [73] 100.0% ----------------------------------------------------------------------- make-exacts* [44] 7.2% errors [47] 15.2% loop [36] 26.0% ??? [52] 51.5% [57] 2764(7.1%) 1644(4.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [60] 26.0% inductor [62] 7.2% parse-lambda [63] 7.2% ----------------------------------------------------------------------- for-loop [53] 100.0% [58] 232(0.6%) 0(0.0%) hash-update! ...ket/private/more-scheme.rkt:362:13 ??? [61] 100.0% ----------------------------------------------------------------------- ??? [55] 100.0% [59] 202(0.5%) 202(0.5%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ----------------------------------------------------------------------- loop [71] 14.5% ??? [5] 18.6% localize-error [35] 18.6% eval-prog [57] 48.2% [60] 1148(2.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [64] 48.2% parse-loop12 [65] 18.6% f6 [66] 18.6% ??? [67] 14.5% ----------------------------------------------------------------------- hash-update! [58] 100.0% [61] 232(0.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/egraph.rkt:225:24 for-loop [68] 100.0% ----------------------------------------------------------------------- eval-prog [57] 20.0% inductor [62] 80.0% [62] 200(0.5%) 200(0.5%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [62] 80.0% ----------------------------------------------------------------------- eval-prog [57] 100.0% [63] 200(0.5%) 200(0.5%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ----------------------------------------------------------------------- hash-ref! [60] 100.0% [64] 720(1.8%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [70] 100.0% ----------------------------------------------------------------------- hash-ref! [60] 100.0% [65] 428(1.1%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [71] 100.0% ----------------------------------------------------------------------- hash-ref! [60] 100.0% [66] 428(1.1%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [69] 100.0% ----------------------------------------------------------------------- hash-ref! [60] 100.0% [67] 250(0.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [71] 100.0% ----------------------------------------------------------------------- ??? [61] 100.0% [68] 232(0.6%) 232(0.6%) for-loop ...lock/herbie/src/core/egraph.rkt:226:26 ----------------------------------------------------------------------- f6 [66] 2.0% make-exacts* [44] 40.1% loop [45] 58.0% [69] 21750(55.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [71] 98.1% ??? [73] 1.0% ->flonum [72] 0.9% ----------------------------------------------------------------------- bigfloat-hash [64] 100.0% [70] 720(1.8%) 720(1.8%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- parse-loop12 [65] 0.0% make-exacts* [44] 0.3% ??? [67] 0.8% map [69] 1.7% loop [71] 97.2% [71] 31350(80.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [71] 97.2% ??? [73] 2.0% hash-ref! [60] 0.8% ??? [5] 0.0% ??? [76] 0.0% ----------------------------------------------------------------------- map [69] 100.0% [72] 200(0.5%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [85] 100.0% ----------------------------------------------------------------------- for-loop [56] 0.6% map [69] 0.7% loop [71] 98.6% [73] 31092(79.8%) 200(0.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [74] 92.5% real->bigfloat [75] 6.1% ??? [83] 0.8% ----------------------------------------------------------------------- ??? [73] 100.0% [74] 28766(73.8%) 198(0.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [76] 95.3% ...higher-order.rkt:373:33 [77] 1.7% ...higher-order.rkt:369:33 [78] 1.5% bf< [79] 0.8% ----------------------------------------------------------------------- ??? [73] 100.0% [75] 1884(4.8%) 1884(4.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ----------------------------------------------------------------------- loop [71] 1.5% ??? [74] 98.5% [76] 27854(71.5%) 25010(64.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog1p [80] 6.9% ??? [85] 1.7% bfdiv [81] 1.6% ----------------------------------------------------------------------- ??? [74] 100.0% [77] 484(1.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [83] 100.0% ----------------------------------------------------------------------- ??? [74] 100.0% [78] 438(1.1%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [82] 54.3% ??? [83] 45.7% ----------------------------------------------------------------------- ??? [74] 100.0% [79] 220(0.6%) 0(0.0%) bf< ...th/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [85] 100.0% ----------------------------------------------------------------------- ??? [76] 100.0% [80] 1920(4.9%) 1258(3.2%) bflog1p ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [84] 34.5% ----------------------------------------------------------------------- ??? [76] 100.0% [81] 458(1.2%) 236(0.6%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [84] 48.5% ----------------------------------------------------------------------- ...higher-order.rkt:369:33 [78]100.0% [82] 238(0.6%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [83] 100.0% ----------------------------------------------------------------------- ...higher-order.rkt:369:33 [78] 17.2% ??? [82] 20.4% ??? [73] 20.8% ...higher-order.rkt:373:33 [77] 41.6% [83] 1164(3.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [85] 100.0% ----------------------------------------------------------------------- bfdiv [81] 25.1% bflog1p [80] 74.9% [84] 884(2.3%) 884(2.3%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ->flonum [72] 9.8% bf< [79] 10.7% ??? [76] 22.7% ??? [83] 56.8% [85] 2050(5.3%) 1330(3.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [86] 35.1% ----------------------------------------------------------------------- ??? [85] 100.0% [86] 720(1.8%) 240(0.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [87] 66.7% ----------------------------------------------------------------------- ??? [86] 100.0% [87] 480(1.2%) 480(1.2%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------