Profiling results ----------------- Total cpu time observed: 12664ms (out of 13048ms) Number of samples taken: 57 (once every 222ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [30] 100.0% [1] 11432(90.3%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [2] 3914(30.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 51.8% get-final-combination [9] 48.2% ---------------------------------------------------------------------- loop [61] 25.0% ??? [30] 75.0% [3] 1606(12.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [11] 75.0% for-loop [12] 25.0% ---------------------------------------------------------------------- hash-ref! [66] 100.0% [4] 1432(11.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [61] 100.0% ---------------------------------------------------------------------- copying-mergesort [42] 100.0% [5] 862(6.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [10] 100.0% ---------------------------------------------------------------------- hash-ref! [66] 100.0% [6] 202(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [13] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 11432(90.3%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [30] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 2026(16.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1888(14.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 78.7% extract-alt [17] 21.3% ---------------------------------------------------------------------- loop [52] 32.9% jloop [5] 67.1% [10] 1284(10.1%) 202(1.6%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [57] 84.3% ---------------------------------------------------------------------- simplify [3] 100.0% [11] 1204(9.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [12] 402(3.2%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [15] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [13] 202(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [66] 100.0% ---------------------------------------------------------------------- for-loop [8] 100.0% [14] 2026(16.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 59.4% finalize-iter! [21] 20.1% localize-error [22] 10.5% gen-series! [23] 10.0% ---------------------------------------------------------------------- for-loop [12] 25.0% simplify-expr [11] 75.0% [15] 1606(12.7%) 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] 1486(11.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [19] 100.0% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [17] 402(3.2%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [61] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [18] 1606(12.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [26] 62.5% loop [27] 37.5% ---------------------------------------------------------------------- split-table [16] 100.0% [19] 1486(11.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [24] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [20] 1204(9.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [25] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [21] 408(3.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [28] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [22] 212(1.7%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [66] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [23] 202(1.6%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [29] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [24] 1486(11.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [31] 86.4% loop [61] 13.6% ---------------------------------------------------------------------- simplify! [20] 100.0% [25] 1204(9.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [30] 100.0% ---------------------------------------------------------------------- for-loop [26] 50.0% one-iter [18] 50.0% [26] 1004(7.9%) 200(1.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [26] 50.0% match-e [37] 40.0% ---------------------------------------------------------------------- one-iter [18] 100.0% [27] 602(4.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [32] 100.0% ---------------------------------------------------------------------- finalize-iter! [21] 100.0% [28] 408(3.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [33] 100.0% ---------------------------------------------------------------------- gen-series! [23] 100.0% [29] 202(1.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [34] 100.0% ---------------------------------------------------------------------- for-loop [25] 3.7% run [7] 44.1% [30] 12664(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 44.1% loop [35] 37.8% run-improve58 [2] 14.4% simplify [3] 3.7% ---------------------------------------------------------------------- option-on-expr [24] 100.0% [31] 1284(10.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [36] 100.0% ---------------------------------------------------------------------- loop [27] 100.0% [32] 602(4.8%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [37] 66.8% merge-egraph-nodes! [40] 33.2% ---------------------------------------------------------------------- ??? [28] 100.0% [33] 408(3.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [38] 100.0% ---------------------------------------------------------------------- for-loop [29] 100.0% [34] 202(1.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [39] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [35] 8750(69.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [41] 47.2% make-exacts* [50] 34.3% loop [51] 16.3% for-loop [48] 2.3% ---------------------------------------------------------------------- sort-context-on-expr [31] 100.0% [36] 1284(10.1%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [42] 82.7% loop [52] 17.3% ---------------------------------------------------------------------- apply-match [32] 33.3% for-loop [26] 66.7% [37] 1206(9.5%) 202(1.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [43] 66.5% for-loop [45] 16.7% ---------------------------------------------------------------------- for-loop [33] 100.0% [38] 408(3.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [44] 50.5% override-at-pnts [46] 49.5% ---------------------------------------------------------------------- taylor-alt [34] 100.0% [39] 202(1.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [47] 100.0% ---------------------------------------------------------------------- apply-match [32] 100.0% [40] 200(1.6%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [49] 100.0% ---------------------------------------------------------------------- loop [35] 100.0% [41] 4130(32.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [50] 68.4% loop [51] 31.6% ---------------------------------------------------------------------- sort [36] 29.7% copying-mergesort [42] 70.3% [42] 1062(8.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [42] 70.3% jloop [5] 20.3% loop [52] 9.4% ---------------------------------------------------------------------- match-e [37] 100.0% [43] 802(6.3%) 402(3.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 loop [61] 49.9% ---------------------------------------------------------------------- atab-add-altn [38] 100.0% [44] 206(1.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [67] 100.0% ---------------------------------------------------------------------- match-e [37] 100.0% [45] 202(1.6%) 202(1.6%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ---------------------------------------------------------------------- atab-add-altn [38] 100.0% [46] 202(1.6%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [67] 100.0% ---------------------------------------------------------------------- for-loop [39] 100.0% [47] 202(1.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [53] 100.0% ---------------------------------------------------------------------- loop [35] 100.0% [48] 200(1.6%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [54] 100.0% ---------------------------------------------------------------------- merge-egraph-nodes! [40] 100.0% [49] 200(1.6%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [55] 100.0% ---------------------------------------------------------------------- loop [41] 48.5% loop [35] 51.5% [50] 5822(46.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [56] 39.1% loop [61] 36.3% eval-prog [57] 24.6% ---------------------------------------------------------------------- loop [41] 47.9% loop [35] 52.1% [51] 2728(21.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [56] 100.0% ---------------------------------------------------------------------- copying-mergesort [42] 47.4% sort [36] 52.6% [52] 422(3.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [10] 100.0% ---------------------------------------------------------------------- location-do [47] 100.0% [53] 202(1.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [58] 100.0% ---------------------------------------------------------------------- for-loop [48] 100.0% [54] 200(1.6%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-double [59] 100.0% ---------------------------------------------------------------------- update-leader! [49] 100.0% [55] 200(1.6%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 for-loop [60] 100.0% ---------------------------------------------------------------------- make-exacts* [50] 45.5% loop [51] 54.5% [56] 5006(39.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [61] 100.0% ---------------------------------------------------------------------- ??? [10] 43.0% make-exacts* [50] 57.0% [57] 2514(19.9%) 620(4.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [66] 57.0% ??? [62] 9.5% go [63] 8.8% ---------------------------------------------------------------------- approximate9 [53] 100.0% [58] 202(1.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [66] 100.0% ---------------------------------------------------------------------- for-loop [54] 100.0% [59] 200(1.6%) 0(0.0%) sample-double .../src/syntax/distributions.rkt:8:0 random-exp [64] 100.0% ---------------------------------------------------------------------- for-loop [55] 100.0% [60] 200(1.6%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:223:8 hash-update! [65] 100.0% ---------------------------------------------------------------------- make-exacts* [50] 0.1% map [56] 0.5% extract-alt [17] 1.8% option-on-expr [24] 2.2% for-loop [43] 2.9% ??? [4] 15.3% loop [61] 77.3% [61] 9354(73.9%) 400(3.2%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [61] 77.3% hash-ref! [66] 15.3% errors [67] 2.2% simplify [3] 1.8% ??? [75] 0.6% ->flonum [78] 0.0% ---------------------------------------------------------------------- eval-prog [57] 100.0% [62] 240(1.9%) 240(1.9%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ---------------------------------------------------------------------- eval-prog [57] 100.0% [63] 222(1.8%) 222(1.8%) go .../collects/racket/private/qq-and-or.rkt:50:20 ---------------------------------------------------------------------- sample-double [59] 100.0% [64] 200(1.6%) 200(1.6%) random-exp ...ztatlock/herbie/src/common.rkt:153:0 ---------------------------------------------------------------------- for-loop [60] 100.0% [65] 200(1.6%) 0(0.0%) hash-update! ...ket/private/more-scheme.rkt:362:13 ??? [68] 100.0% ---------------------------------------------------------------------- for-loop [13] 3.6% ??? [73] 3.6% loop [58] 3.6% localize-error [22] 11.5% eval-prog [57] 27.8% loop [61] 49.7% [66] 1846(14.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 49.7% bigfloat-hash [69] 27.8% parse-loop12 [71] 11.5% ??? [73] 3.6% ??? [6] 3.6% simplify [72] 3.6% ---------------------------------------------------------------------- override-at-pnts [46] 33.1% loop [61] 33.1% best-and-tied-at-points [44] 33.8% [67] 610(4.8%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [70] 100.0% ---------------------------------------------------------------------- hash-update! [65] 100.0% [68] 200(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/egraph.rkt:225:24 for-loop [74] 100.0% ---------------------------------------------------------------------- hash-ref! [66] 100.0% [69] 1432(11.3%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [76] 58.1% sig+exp->bigfloat [77] 41.9% ---------------------------------------------------------------------- errors [67] 100.0% [70] 610(4.8%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [75] 66.9% ->flonum [78] 33.1% ---------------------------------------------------------------------- hash-ref! [66] 100.0% [71] 212(1.7%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 ??? [84] 100.0% ---------------------------------------------------------------------- hash-ref! [66] 100.0% [72] 202(1.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f143 [79] 100.0% ---------------------------------------------------------------------- hash-ref! [66] 100.0% [73] 202(1.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [66] 100.0% ---------------------------------------------------------------------- ??? [68] 100.0% [74] 200(1.6%) 200(1.6%) for-loop ...lock/herbie/src/core/egraph.rkt:226:26 ---------------------------------------------------------------------- for-loop [70] 5.6% loop [61] 94.4% [75] 7276(57.5%) 202(1.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [80] 88.5% real->bigfloat [81] 8.7% ---------------------------------------------------------------------- bigfloat-hash [69] 100.0% [76] 832(6.6%) 832(6.6%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- bigfloat-hash [69] 100.0% [77] 600(4.7%) 600(4.7%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- for-loop [70] 44.7% loop [61] 55.3% [78] 452(3.6%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [82] 100.0% ---------------------------------------------------------------------- simplify [72] 100.0% [79] 202(1.6%) 0(0.0%) f143 .../collects/racket/match/compiler.rkt:499:40 combine-mterms [83] 100.0% ---------------------------------------------------------------------- ??? [75] 100.0% [80] 6440(50.9%) 644(5.1%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [84] 82.4% ...higher-order.rkt:373:33 [85] 7.6% ---------------------------------------------------------------------- ??? [75] 100.0% [81] 634(5.0%) 468(3.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [89] 26.2% ---------------------------------------------------------------------- ->flonum [78] 100.0% [82] 452(3.6%) 452(3.6%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- f143 [79] 100.0% [83] 202(1.6%) 202(1.6%) combine-mterms ...herbie/src/core/reduce.rkt:182:0 ---------------------------------------------------------------------- parse-loop12 [71] 3.8% ??? [80] 96.2% [84] 5518(43.6%) 964(7.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [86] 37.8% bfsqrt [87] 27.0% ??? [91] 17.7% ---------------------------------------------------------------------- ??? [80] 100.0% [85] 490(3.9%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [88] 100.0% ---------------------------------------------------------------------- ??? [84] 100.0% [86] 2084(16.5%) 672(5.3%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [89] 67.8% ---------------------------------------------------------------------- ??? [84] 100.0% [87] 1492(11.8%) 762(6.0%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [89] 48.9% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [85]100.0% [88] 490(3.9%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [90] 100.0% ---------------------------------------------------------------------- real->bigfloat [81] 7.2% bfsqrt [87] 31.6% bfsub [86] 61.2% [89] 2308(18.2%) 2308(18.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [88] 100.0% [90] 490(3.9%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [91] 100.0% ---------------------------------------------------------------------- ??? [90] 33.4% ??? [84] 66.6% [91] 1468(11.6%) 634(5.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [92] 42.1% ??? [93] 14.7% ---------------------------------------------------------------------- ??? [91] 100.0% [92] 618(4.9%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [94] 100.0% ---------------------------------------------------------------------- ??? [91] 100.0% [93] 216(1.7%) 216(1.7%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ---------------------------------------------------------------------- ??? [92] 100.0% [94] 618(4.9%) 618(4.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------