Profiling results ----------------- Total cpu time observed: 17612ms (out of 18108ms) Number of samples taken: 74 (once every 238ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [4] 100.0% [1] 17130(97.3%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% --------------------------------------------------------------------- loop [47] 100.0% [2] 478(2.7%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [38] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 17130(97.3%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [4] 100.0% --------------------------------------------------------------------- for-loop [20] 1.7% run [3] 49.1% [4] 17130(97.3%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.1% loop [6] 35.2% run-improve58 [5] 13.9% simplify [49] 1.7% --------------------------------------------------------------------- ??? [4] 100.0% [5] 5054(28.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [7] 64.2% for-loop [8] 31.0% loop [6] 4.7% --------------------------------------------------------------------- run-improve58 [5] 1.9% ??? [4] 98.1% [6] 12316(69.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [13] 59.4% loop [9] 38.7% loop [15] 1.9% --------------------------------------------------------------------- run-improve58 [5] 100.0% [7] 3246(18.4%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [10] 92.6% extract-alt [12] 7.4% --------------------------------------------------------------------- run-improve58 [5] 100.0% [8] 1568(8.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% --------------------------------------------------------------------- loop [6] 100.0% [9] 4766(27.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [15] 55.8% make-exacts* [13] 44.2% --------------------------------------------------------------------- get-final-combination [7] 100.0% [10] 3006(17.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [14] 100.0% --------------------------------------------------------------------- for-loop [8] 100.0% [11] 1568(8.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [16] 56.6% localize-error [17] 30.5% finalize-iter! [18] 12.9% --------------------------------------------------------------------- get-final-combination [7] 100.0% [12] 240(1.4%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [47] 100.0% --------------------------------------------------------------------- loop [9] 22.4% loop [6] 77.6% [13] 9416(53.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [45] 48.7% loop [47] 48.7% eval-prog [37] 2.6% --------------------------------------------------------------------- split-table [10] 100.0% [14] 3006(17.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [19] 100.0% --------------------------------------------------------------------- loop [6] 8.3% loop [9] 91.7% [15] 2900(16.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [45] 100.0% --------------------------------------------------------------------- run-iter! [11] 100.0% [16] 888(5.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [20] 100.0% --------------------------------------------------------------------- run-iter! [11] 100.0% [17] 478(2.7%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [38] 100.0% --------------------------------------------------------------------- run-iter! [11] 100.0% [18] 202(1.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [21] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [14] 100.0% [19] 3006(17.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [22] 92.7% err-lsts->split-indices [23] 7.3% --------------------------------------------------------------------- simplify! [16] 100.0% [20] 888(5.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [4] 100.0% --------------------------------------------------------------------- finalize-iter! [18] 100.0% [21] 202(1.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [24] 100.0% --------------------------------------------------------------------- option-on-expr [19] 100.0% [22] 2788(15.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [25] 100.0% --------------------------------------------------------------------- option-on-expr [19] 100.0% [23] 218(1.2%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [26] 100.0% --------------------------------------------------------------------- ??? [21] 100.0% [24] 202(1.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [27] 100.0% --------------------------------------------------------------------- sort-context-on-expr [22] 100.0% [25] 2788(15.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [28] 75.0% loop [32] 25.0% --------------------------------------------------------------------- err-lsts->split-indices [23] 100.0% [26] 218(1.2%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [29] 100.0% --------------------------------------------------------------------- for-loop [24] 100.0% [27] 202(1.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 override-at-pnts [30] 100.0% --------------------------------------------------------------------- sort [25] 43.5% copying-mergesort [28] 56.5% [28] 2092(11.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [28] 56.5% loop [32] 26.4% jloop [31] 17.1% --------------------------------------------------------------------- add-splitpoint [26] 100.0% [29] 218(1.2%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [33] 100.0% --------------------------------------------------------------------- atab-add-altn [27] 100.0% [30] 202(1.1%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [34] 100.0% --------------------------------------------------------------------- copying-mergesort [28] 100.0% [31] 1428(8.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [35] 100.0% --------------------------------------------------------------------- copying-mergesort [28] 48.8% sort [25] 51.2% [32] 1360(7.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [35] 100.0% --------------------------------------------------------------------- for-loop [29] 100.0% [33] 218(1.2%) 218(1.2%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 --------------------------------------------------------------------- override-at-pnts [30] 100.0% [34] 202(1.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [36] 100.0% --------------------------------------------------------------------- loop [32] 48.8% jloop [31] 51.2% [35] 2788(15.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [37] 100.0% --------------------------------------------------------------------- errors [34] 100.0% [36] 202(1.1%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [48] 100.0% --------------------------------------------------------------------- make-exacts* [13] 8.0% ??? [35] 92.0% [37] 3030(17.2%) 2324(13.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [38] 8.0% inductor [39] 8.0% new-lambda [40] 7.3% --------------------------------------------------------------------- ??? [2] 33.2% localize-error [17] 33.2% eval-prog [37] 33.6% [38] 720(4.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [41] 48.6% bigfloat-hash [44] 33.6% f6 [42] 17.8% --------------------------------------------------------------------- eval-prog [37] 100.0% [39] 242(1.4%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 constant? [43] 100.0% --------------------------------------------------------------------- eval-prog [37] 100.0% [40] 222(1.3%) 222(1.3%) new-lambda ...ollects/racket/private/kw.rkt:631:11 --------------------------------------------------------------------- hash-ref! [38] 100.0% [41] 478(2.7%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [47] 100.0% --------------------------------------------------------------------- hash-ref! [38] 100.0% [42] 256(1.5%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [45] 100.0% --------------------------------------------------------------------- inductor [39] 100.0% [43] 242(1.4%) 242(1.4%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 --------------------------------------------------------------------- hash-ref! [38] 100.0% [44] 242(1.4%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [46] 100.0% --------------------------------------------------------------------- f6 [42] 3.3% loop [15] 37.4% make-exacts* [13] 59.2% [45] 7744(44.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [47] 100.0% --------------------------------------------------------------------- bigfloat-hash [44] 100.0% [46] 242(1.4%) 242(1.4%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 --------------------------------------------------------------------- parse-loop12 [41] 0.1% make-exacts* [13] 0.1% map [45] 0.4% extract-alt [12] 0.9% loop [47] 98.4% [47] 13032(74.0%) 206(1.2%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [47] 98.4% simplify [49] 0.9% ??? [48] 0.5% ??? [2] 0.1% ??? [62] 0.0% ...higher-order.rkt:373:33 [57] 0.0% --------------------------------------------------------------------- for-loop [36] 1.6% loop [47] 98.4% [48] 12310(69.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [50] 75.9% real->bigfloat [51] 18.2% ??? [63] 3.8% ...e/case-arrow.rkt:150:50 [54] 2.1% --------------------------------------------------------------------- loop [47] 21.3% ??? [4] 78.7% [49] 1128(6.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [52] 60.8% for-loop [53] 39.2% --------------------------------------------------------------------- ??? [48] 100.0% [50] 9342(53.0%) 704(4.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [62] 75.2% bffma [56] 9.8% ...higher-order.rkt:373:33 [57] 5.0% ...ow-val-first.rkt:357:18 [58] 2.5% --------------------------------------------------------------------- ??? [48] 100.0% [51] 2244(12.7%) 1770(10.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [71] 21.1% --------------------------------------------------------------------- simplify [49] 100.0% [52] 686(3.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [55] 100.0% --------------------------------------------------------------------- simplify [49] 100.0% [53] 442(2.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [55] 100.0% --------------------------------------------------------------------- ??? [48] 100.0% [54] 256(1.5%) 256(1.5%) ...e/case-arrow.rkt:150:50 (unknown source) --------------------------------------------------------------------- for-loop [53] 39.2% simplify-expr [52] 60.8% [55] 1128(6.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [59] 100.0% --------------------------------------------------------------------- ??? [50] 100.0% [56] 912(5.2%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 bf* [60] 100.0% --------------------------------------------------------------------- loop [47] 32.4% ??? [50] 67.6% [57] 686(3.9%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [61] 67.6% ??? [63] 32.4% --------------------------------------------------------------------- ??? [50] 100.0% [58] 238(1.4%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [61] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [55] 100.0% [59] 1128(6.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [64] 78.7% apply-match [65] 21.3% --------------------------------------------------------------------- bffma [56] 100.0% [60] 912(5.2%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [62] 100.0% --------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [58] 33.9% ...higher-order.rkt:373:33 [57] 66.1% [61] 702(4.0%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [63] 100.0% --------------------------------------------------------------------- loop [47] 3.1% bf* [60] 11.1% ??? [50] 85.7% [62] 8192(46.5%) 4840(27.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [67] 26.1% ??? [66] 14.8% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [57] 15.9% ??? [48] 33.6% ??? [61] 50.4% [63] 1392(7.9%) 228(1.3%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [66] 83.6% --------------------------------------------------------------------- for-loop [64] 50.0% one-iter [59] 50.0% [64] 888(5.0%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [64] 50.0% match-e [68] 50.0% --------------------------------------------------------------------- one-iter [59] 100.0% [65] 240(1.4%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 reduce-to-single! [69] 100.0% --------------------------------------------------------------------- ??? [63] 48.9% ??? [62] 51.1% [66] 2380(13.5%) 458(2.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [70] 80.8% --------------------------------------------------------------------- ??? [62] 100.0% [67] 2136(12.1%) 1444(8.2%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [71] 32.4% --------------------------------------------------------------------- for-loop [64] 100.0% [68] 888(5.0%) 446(2.5%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [72] 27.0% custom-in-set [73] 22.7% --------------------------------------------------------------------- apply-match [65] 100.0% [69] 240(1.4%) 240(1.4%) reduce-to-single! ...bie/src/core/egraph.rkt:324:0 --------------------------------------------------------------------- ??? [66] 100.0% [70] 1922(10.9%) 1454(8.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [74] 24.3% --------------------------------------------------------------------- real->bigfloat [51] 40.7% bfadd [67] 59.3% [71] 1166(6.6%) 1166(6.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- match-e [68] 100.0% [72] 240(1.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [75] 100.0% --------------------------------------------------------------------- match-e [68] 100.0% [73] 202(1.1%) 202(1.1%) custom-in-set ...acket/private/set-types.rkt:578:0 --------------------------------------------------------------------- ??? [70] 100.0% [74] 468(2.7%) 468(2.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 --------------------------------------------------------------------- list-cartesian-product [75] 50.0% for-loop [72] 50.0% [75] 240(1.4%) 240(1.4%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [75] 50.0% ---------------------------------------------------------------------