Profiling results ----------------- Total cpu time observed: 63716ms (out of 64520ms) Number of samples taken: 239 (once every 267ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 99 hidden) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [34] 100.0% [1] 61546(96.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ----------------------------------------------------------------------- ??? [34] 100.0% [2] 15066(23.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [9] 40.9% get-final-combination [10] 31.2% loop [8] 27.9% ----------------------------------------------------------------------- hash-ref! [72] 100.0% [3] 8380(13.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [47] 100.0% ----------------------------------------------------------------------- ??? [34] 100.0% [4] 4446(7.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [12] 49.6% iterate-egraph!5 [18] 27.5% for-loop [13] 22.9% ----------------------------------------------------------------------- copying-mergesort [48] 100.0% [5] 2286(3.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [11] 100.0% ----------------------------------------------------------------------- f94 [73] 100.0% [6] 450(0.7%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 simplify [58] 51.1% first-nonzero-exp [14] 48.9% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 61546(96.6%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [34] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 8.0% ??? [34] 92.0% [8] 52624(82.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [15] 53.0% make-exacts* [20] 30.6% loop [21] 16.4% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 6164(9.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [16] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 4696(7.4%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ----------------------------------------------------------------------- loop [56] 43.8% jloop [5] 56.2% [11] 4064(6.4%) 220(0.3%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [64] 94.6% ----------------------------------------------------------------------- simplify [4] 100.0% [12] 2206(3.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [18] 90.8% mk-egraph [19] 9.2% ----------------------------------------------------------------------- simplify [4] 100.0% [13] 1018(1.6%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [18] 100.0% ----------------------------------------------------------------------- taylor-invert [6] 100.0% [14] 220(0.3%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 simplify [58] 100.0% ----------------------------------------------------------------------- loop [8] 100.0% [15] 27910(43.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [21] 46.2% make-exacts* [20] 32.0% eval-prog [64] 21.8% ----------------------------------------------------------------------- for-loop [9] 100.0% [16] 6164(9.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [23] 72.1% finalize-iter! [25] 17.3% gen-series! [26] 10.5% ----------------------------------------------------------------------- get-final-combination [10] 100.0% [17] 4696(7.4%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [22] 100.0% ----------------------------------------------------------------------- for-loop [13] 24.0% simplify [4] 28.8% simplify-expr [12] 47.2% [18] 4244(6.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [24] 100.0% ----------------------------------------------------------------------- simplify-expr [12] 100.0% [19] 202(0.3%) 0(0.0%) mk-egraph ...lock/herbie/src/core/egraph.rkt:123:0 mk-enode! [45] 100.0% ----------------------------------------------------------------------- loop [15] 35.7% loop [8] 64.3% [20] 25034(39.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [27] 46.3% loop [47] 37.8% eval-prog [64] 15.9% ----------------------------------------------------------------------- loop [8] 40.1% loop [15] 59.9% [21] 21508(33.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [27] 100.0% ----------------------------------------------------------------------- split-table [17] 100.0% [22] 4696(7.4%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [28] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [23] 4446(7.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [29] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [18] 100.0% [24] 4244(6.7%) 392(0.6%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [30] 71.9% loop [32] 18.9% ----------------------------------------------------------------------- run-iter! [16] 100.0% [25] 1068(1.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [31] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [26] 650(1.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [33] 100.0% ----------------------------------------------------------------------- gather-multiplicative-terms [81] 0.2% f94 [73] 1.1% make-exacts* [20] 34.6% loop [21] 64.2% [27] 33524(52.6%) 200(0.3%) map ...acket/collects/racket/private/map.rkt:21:13 loop [47] 94.5% ??? [71] 4.3% f94 [73] 1.1% ----------------------------------------------------------------------- infer-splitpoints4 [22] 100.0% [28] 4696(7.4%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [35] 86.5% pick-errors [39] 9.2% errors [57] 4.3% ----------------------------------------------------------------------- simplify! [23] 100.0% [29] 4446(7.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [34] 100.0% ----------------------------------------------------------------------- for-loop [30] 46.7% one-iter [24] 53.3% [30] 3052(4.8%) 1218(1.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [30] 46.7% match-e [41] 30.0% ----------------------------------------------------------------------- finalize-iter! [25] 100.0% [31] 1068(1.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 100.0% ----------------------------------------------------------------------- one-iter [24] 100.0% [32] 800(1.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [37] 100.0% ----------------------------------------------------------------------- gen-series! [26] 100.0% [33] 650(1.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [38] 100.0% ----------------------------------------------------------------------- for-loop [29] 2.4% run [7] 47.2% [34] 63716(100.0%) 232(0.4%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.2% loop [8] 39.2% run-improve58 [2] 11.1% simplify [4] 2.4% ----------------------------------------------------------------------- option-on-expr [28] 100.0% [35] 4064(6.4%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ----------------------------------------------------------------------- ??? [31] 100.0% [36] 1068(1.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [42] 100.0% ----------------------------------------------------------------------- loop [32] 100.0% [37] 800(1.3%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [46] 50.2% mk-enode! [45] 25.2% match-e [41] 24.5% ----------------------------------------------------------------------- for-loop [33] 100.0% [38] 650(1.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [43] 100.0% ----------------------------------------------------------------------- option-on-expr [28] 100.0% [39] 430(0.7%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [44] 100.0% ----------------------------------------------------------------------- sort-context-on-expr [35] 100.0% [40] 4064(6.4%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [48] 72.5% loop [56] 27.5% ----------------------------------------------------------------------- apply-match [37] 9.7% for-loop [61] 10.4% for-loop [30] 80.0% [41] 2030(3.2%) 1028(1.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [51] 29.5% loop [47] 10.0% constant? [52] 10.0% for-loop [61] 5.4% ----------------------------------------------------------------------- for-loop [36] 100.0% [42] 1068(1.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [49] 100.0% ----------------------------------------------------------------------- taylor-alt [38] 100.0% [43] 650(1.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [50] 100.0% ----------------------------------------------------------------------- pick-errors [39] 100.0% [44] 430(0.7%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 ??? [71] 51.2% eval-prog [64] 48.8% ----------------------------------------------------------------------- apply-match [37] 50.0% mk-egraph [19] 50.0% [45] 404(0.6%) 404(0.6%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ----------------------------------------------------------------------- for-loop [55] 24.9% apply-match [37] 75.1% [46] 402(0.6%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [53] 50.2% for-loop [55] 24.9% for-loop [54] 24.9% ----------------------------------------------------------------------- make-exacts* [20] 0.1% f94 [73] 0.4% match-e [41] 0.4% map [27] 1.9% ??? [3] 16.8% loop [47] 80.3% [47] 49914(78.3%) 446(0.7%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [47] 80.3% hash-ref! [72] 16.8% ??? [71] 1.6% ->flonum [60] 0.4% foldl [62] 0.4% simplify [58] 0.4% ----------------------------------------------------------------------- sort [40] 38.1% copying-mergesort [48] 61.9% [48] 2948(4.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [48] 61.9% jloop [5] 19.4% loop [56] 18.7% ----------------------------------------------------------------------- atab-add-altn [42] 100.0% [49] 1068(1.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [57] 100.0% ----------------------------------------------------------------------- for-loop [43] 39.4% location-do [50] 60.6% [50] 650(1.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [50] 60.6% approximate9 [59] 39.4% ----------------------------------------------------------------------- match-e [41] 100.0% [51] 598(0.9%) 598(0.9%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [61] 16.9% ----------------------------------------------------------------------- match-e [41] 100.0% [52] 202(0.3%) 202(0.3%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ----------------------------------------------------------------------- merge-egraph-nodes! [46] 100.0% [53] 202(0.3%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 custom-set-union! [63] 100.0% ----------------------------------------------------------------------- merge-egraph-nodes! [46] 100.0% [54] 200(0.3%) 200(0.3%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ----------------------------------------------------------------------- merge-egraph-nodes! [46] 100.0% [55] 200(0.3%) 0(0.0%) for-loop ...lock/herbie/src/core/egraph.rkt:200:10 merge-egraph-nodes! [46] 100.0% ----------------------------------------------------------------------- copying-mergesort [48] 37.2% sort [40] 62.8% [56] 1778(2.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [11] 100.0% ----------------------------------------------------------------------- option-on-expr [28] 15.9% best-and-tied-at-points [49] 84.1% [57] 1270(2.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [65] 84.1% eval-prog [64] 15.9% ----------------------------------------------------------------------- loop [47] 30.8% first-nonzero-exp [14] 33.8% taylor-invert [6] 35.4% [58] 650(1.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug-print [66] 35.4% f94 [73] 33.8% parse-loop25 [70] 30.8% ----------------------------------------------------------------------- location-do [50] 100.0% [59] 650(1.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [73] 100.0% ----------------------------------------------------------------------- loop [47] 100.0% [60] 436(0.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [93] 51.4% ??? [67] 48.6% ----------------------------------------------------------------------- for-loop [51] 47.9% match-e [41] 52.1% [61] 422(0.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [41] 100.0% ----------------------------------------------------------------------- loop [47] 100.0% [62] 202(0.3%) 0(0.0%) foldl ...et/collects/racket/private/list.rkt:229:4 merge2 [68] 100.0% ----------------------------------------------------------------------- update-leader! [53] 100.0% [63] 202(0.3%) 0(0.0%) custom-set-union! ...t/private/set-types.rkt:246:0 for-loop [69] 100.0% ----------------------------------------------------------------------- errors [57] 1.4% for-loop [44] 1.5% ??? [11] 26.8% make-exacts* [20] 27.8% loop [15] 42.5% [64] 14322(22.5%) 3996(6.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [72] 69.1% parse-lambda [75] 1.6% inductor [76] 1.4% ----------------------------------------------------------------------- errors [57] 100.0% [65] 1068(1.7%) 644(1.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [71] 39.7% ----------------------------------------------------------------------- simplify [58] 100.0% [66] 230(0.4%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [74] 100.0% ----------------------------------------------------------------------- ->flonum [60] 100.0% [67] 212(0.3%) 212(0.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- foldl [62] 100.0% [68] 202(0.3%) 202(0.3%) merge2 ...ztatlock/herbie/src/core/ematch.rkt:31:0 ----------------------------------------------------------------------- custom-set-union! [63] 100.0% [69] 202(0.3%) 202(0.3%) for-loop ...cts/racket/private/set-types.rkt:254:4 ----------------------------------------------------------------------- simplify [58] 100.0% [70] 200(0.3%) 0(0.0%) parse-loop25 ...s/racket/match/compiler.rkt:410:15 f94 [73] 100.0% ----------------------------------------------------------------------- for-loop [44] 0.5% for-loop [65] 1.0% map [27] 3.4% loop [47] 95.1% [71] 42320(66.4%) 642(1.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [77] 78.1% real->bigfloat [79] 16.3% ??? [92] 3.5% ----------------------------------------------------------------------- eval-prog [64] 44.0% loop [47] 56.0% [72] 9902(15.5%) 240(0.4%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [3] 56.0% bigfloat-hash [78] 42.8% ----------------------------------------------------------------------- simplify [58] 4.8% parse-loop25 [70] 5.1% map [27] 15.1% approximate9 [59] 21.8% f94 [73] 53.2% [73] 650(1.0%) 220(0.3%) f94 ...t/collects/racket/match/compiler.rkt:499:40 f94 [73] 53.2% taylor-invert [6] 16.6% map [27] 15.1% loop [47] 5.1% gather-multiplicative-terms [81] 5.1% ----------------------------------------------------------------------- debug-print [66] 100.0% [74] 230(0.4%) 230(0.4%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ----------------------------------------------------------------------- eval-prog [64] 100.0% [75] 222(0.3%) 0(0.0%) parse-lambda ...llects/racket/private/kw.rkt:393:2 loop [80] 100.0% ----------------------------------------------------------------------- eval-prog [64] 16.7% inductor [76] 83.3% [76] 202(0.3%) 202(0.3%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [76] 83.3% ----------------------------------------------------------------------- ??? [71] 100.0% [77] 33060(51.9%) 648(1.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [88] 53.6% bf* [86] 27.9% bffma [84] 8.5% ...higher-order.rkt:373:33 [85] 7.4% ...ow-val-first.rkt:357:18 [87] 0.6% ----------------------------------------------------------------------- hash-ref! [72] 100.0% [78] 9662(15.2%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [82] 54.5% sig+exp->bigfloat [83] 45.5% ----------------------------------------------------------------------- ??? [71] 100.0% [79] 6900(10.8%) 6028(9.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [94] 12.6% ----------------------------------------------------------------------- parse-lambda [75] 33.3% loop [80] 66.7% [80] 222(0.3%) 222(0.3%) loop .../collects/racket/private/stxcase.rkt:112:7 loop [80] 66.7% ----------------------------------------------------------------------- f94 [73] 100.0% [81] 200(0.3%) 0(0.0%) gather-multiplicative-terms ...re/reduce.rkt:107:0 map [27] 100.0% ----------------------------------------------------------------------- bigfloat-hash [78] 100.0% [82] 5264(8.3%) 5264(8.3%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ----------------------------------------------------------------------- bigfloat-hash [78] 100.0% [83] 4398(6.9%) 4398(6.9%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- ??? [77] 100.0% [84] 2822(4.4%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 bf* [86] 85.0% ...ow-val-first.rkt:357:18 [87] 15.0% ----------------------------------------------------------------------- ??? [77] 100.0% [85] 2440(3.8%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [89] 91.5% ??? [92] 8.5% ----------------------------------------------------------------------- bffma [84] 20.6% ??? [77] 79.4% [86] 11628(18.2%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [88] 100.0% ----------------------------------------------------------------------- ??? [77] 33.3% bffma [84] 66.7% [87] 636(1.0%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [89] 100.0% ----------------------------------------------------------------------- bf* [86] 39.6% ??? [77] 60.4% [88] 29336(46.0%) 3684(5.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [90] 50.3% bfsqrt [91] 24.4% ??? [93] 12.7% ----------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [87] 22.2% ...higher-order.rkt:373:33 [85] 77.8% [89] 2868(4.5%) 212(0.3%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [92] 92.6% ----------------------------------------------------------------------- ??? [88] 100.0% [90] 14770(23.2%) 9862(15.5%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [94] 33.2% ----------------------------------------------------------------------- ??? [88] 100.0% [91] 7156(11.2%) 5788(9.1%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [94] 19.1% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [85] 4.8% ??? [71] 34.3% ??? [89] 60.9% [92] 4358(6.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [93] 100.0% ----------------------------------------------------------------------- ->flonum [60] 2.7% ??? [88] 44.8% ??? [92] 52.5% [93] 8308(13.0%) 3092(4.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [95] 57.9% ??? [96] 4.9% ----------------------------------------------------------------------- real->bigfloat [79] 12.2% bfsqrt [91] 19.1% bfsub [90] 68.7% [94] 7148(11.2%) 7148(11.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [93] 100.0% [95] 4808(7.5%) 2688(4.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [97] 44.1% ----------------------------------------------------------------------- ??? [93] 100.0% [96] 408(0.6%) 190(0.3%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [98] 53.4% ----------------------------------------------------------------------- ??? [95] 100.0% [97] 2120(3.3%) 2120(3.3%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------- ??? [96] 100.0% [98] 218(0.3%) 218(0.3%) ??? ...lects/racket/contract/private/orc.rkt:73:14 -----------------------------------------------------------------------