Profiling results ----------------- Total cpu time observed: 15640ms (out of 15936ms) Number of samples taken: 65 (once every 241ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [5] 100.0% [1] 15010(96.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- copying-mergesort [50] 100.0% [2] 418(2.7%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [57] 100.0% ---------------------------------------------------------------------- map [65] 33.3% loop [68] 66.7% [3] 198(1.3%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [60] 66.7% map [65] 33.3% ---------------------------------------------------------------------- profile-thunk14 [1] 97.3% [4] 15428(98.6%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% ---------------------------------------------------------------------- for-loop [28] 3.6% run [4] 48.9% [5] 15640(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.2% loop [8] 35.1% run-improve58 [6] 15.1% simplify [7] 3.6% ---------------------------------------------------------------------- ??? [5] 100.0% [6] 4862(31.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [9] 55.2% get-final-combination [10] 36.2% loop [8] 8.6% ---------------------------------------------------------------------- ??? [5] 100.0% [7] 1680(10.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [11] 50.0% for-loop [12] 38.0% iterate-egraph!5 [16] 12.0% ---------------------------------------------------------------------- run-improve58 [6] 3.7% ??? [5] 96.3% [8] 11194(71.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [19] 49.1% loop [13] 49.0% loop [20] 1.9% ---------------------------------------------------------------------- run-improve58 [6] 100.0% [9] 2686(17.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ---------------------------------------------------------------------- run-improve58 [6] 100.0% [10] 1760(11.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [15] 88.5% extract-alt [18] 11.5% ---------------------------------------------------------------------- simplify [7] 100.0% [11] 840(5.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 73.6% loop [17] 26.4% ---------------------------------------------------------------------- simplify [7] 100.0% [12] 638(4.1%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% ---------------------------------------------------------------------- loop [8] 100.0% [13] 5490(35.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 66.4% make-exacts* [19] 25.1% eval-prog [59] 8.5% ---------------------------------------------------------------------- for-loop [9] 100.0% [14] 2686(17.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [21] 62.5% finalize-iter! [24] 30.0% gen-series! [27] 7.4% ---------------------------------------------------------------------- get-final-combination [10] 100.0% [15] 1558(10.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [22] 100.0% ---------------------------------------------------------------------- simplify [7] 13.9% simplify-expr [11] 42.4% for-loop [12] 43.8% [16] 1458(9.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [23] 100.0% ---------------------------------------------------------------------- simplify-expr [11] 100.0% [17] 222(1.4%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [25] 100.0% ---------------------------------------------------------------------- get-final-combination [10] 100.0% [18] 202(1.3%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [26] 100.0% ---------------------------------------------------------------------- loop [13] 20.1% loop [8] 79.9% [19] 6870(43.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [65] 51.1% loop [68] 42.6% eval-prog [59] 6.3% ---------------------------------------------------------------------- loop [8] 5.5% loop [13] 94.5% [20] 3860(24.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [65] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [21] 1680(10.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [28] 100.0% ---------------------------------------------------------------------- split-table [15] 100.0% [22] 1558(10.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [29] 87.3% exprs-to-branch-on [36] 12.7% ---------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [23] 1458(9.3%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [30] 86.3% apply-match [34] 13.7% ---------------------------------------------------------------------- run-iter! [14] 100.0% [24] 806(5.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [31] 100.0% ---------------------------------------------------------------------- loop [17] 100.0% [25] 222(1.4%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [32] 100.0% ---------------------------------------------------------------------- extract-alt [18] 100.0% [26] 202(1.3%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:86:2 composed [33] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [27] 200(1.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [35] 100.0% ---------------------------------------------------------------------- simplify! [21] 100.0% [28] 1680(10.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [22] 100.0% [29] 1360(8.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [37] 100.0% ---------------------------------------------------------------------- for-loop [30] 42.1% one-iter [23] 57.9% [30] 1258(8.0%) 620(4.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [30] 42.1% match-e [39] 25.4% ---------------------------------------------------------------------- finalize-iter! [24] 100.0% [31] 806(5.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [38] 100.0% ---------------------------------------------------------------------- pass [25] 100.0% [32] 222(1.4%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [40] 100.0% ---------------------------------------------------------------------- loop [26] 100.0% [33] 202(1.3%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [54] 100.0% ---------------------------------------------------------------------- one-iter [23] 100.0% [34] 200(1.3%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 mk-enode! [41] 100.0% ---------------------------------------------------------------------- gen-series! [27] 100.0% [35] 200(1.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [42] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [22] 100.0% [36] 198(1.3%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [43] 100.0% ---------------------------------------------------------------------- option-on-expr [29] 100.0% [37] 1360(8.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [44] 100.0% ---------------------------------------------------------------------- ??? [31] 100.0% [38] 806(5.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [45] 100.0% ---------------------------------------------------------------------- for-loop [30] 100.0% [39] 638(4.1%) 438(2.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [47] 31.3% ---------------------------------------------------------------------- for-loop [32] 100.0% [40] 222(1.4%) 222(1.4%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ---------------------------------------------------------------------- apply-match [34] 100.0% [41] 200(1.3%) 0(0.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 hash-has-key? [46] 100.0% ---------------------------------------------------------------------- for-loop [35] 100.0% [42] 200(1.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [48] 100.0% ---------------------------------------------------------------------- exprs-to-branch-on [36] 100.0% [43] 198(1.3%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [49] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [37] 100.0% [44] 1360(8.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [50] 66.2% loop [55] 33.8% ---------------------------------------------------------------------- for-loop [38] 100.0% [45] 806(5.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [51] 100.0% ---------------------------------------------------------------------- mk-enode! [41] 100.0% [46] 200(1.3%) 200(1.3%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ---------------------------------------------------------------------- match-e [39] 100.0% [47] 200(1.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ??? [52] 100.0% ---------------------------------------------------------------------- taylor-alt [42] 100.0% [48] 200(1.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [53] 100.0% ---------------------------------------------------------------------- critical-subexpression [43] 100.0% [49] 198(1.3%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [60] 100.0% ---------------------------------------------------------------------- sort [44] 38.4% copying-mergesort [50] 61.6% [50] 900(5.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [50] 61.6% loop [55] 26.8% jloop [2] 11.6% ---------------------------------------------------------------------- atab-add-altn [45] 100.0% [51] 806(5.2%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [54] 100.0% ---------------------------------------------------------------------- for-loop [47] 100.0% [52] 200(1.3%) 200(1.3%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 ---------------------------------------------------------------------- for-loop [48] 100.0% [53] 200(1.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [56] 100.0% ---------------------------------------------------------------------- composed [33] 20.0% best-and-tied-at-points [51] 80.0% [54] 1008(6.4%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [58] 80.0% eval-prog [59] 20.0% ---------------------------------------------------------------------- sort [44] 48.8% copying-mergesort [50] 51.2% [55] 942(6.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [57] 100.0% ---------------------------------------------------------------------- location-do [53] 100.0% [56] 200(1.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [63] 100.0% ---------------------------------------------------------------------- jloop [2] 30.7% loop [55] 69.3% [57] 1360(8.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [59] 100.0% ---------------------------------------------------------------------- errors [54] 100.0% [58] 806(5.2%) 402(2.6%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ->flonum [69] 50.1% ---------------------------------------------------------------------- errors [54] 8.2% make-exacts* [19] 17.6% loop [13] 18.9% ??? [57] 55.3% [59] 2460(15.7%) 1778(11.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [60] 27.7% ---------------------------------------------------------------------- localize-error [49] 7.5% ??? [3] 15.0% loop [68] 36.2% eval-prog [59] 41.3% [60] 880(5.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [61] 41.3% ??? [62] 36.2% parse-loop12 [64] 15.0% f94 [63] 7.5% ---------------------------------------------------------------------- hash-ref! [60] 100.0% [61] 682(4.4%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [66] 68.0% bfcanonicalize [67] 32.0% ---------------------------------------------------------------------- hash-ref! [60] 100.0% [62] 478(3.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [68] 100.0% ---------------------------------------------------------------------- hash-ref! [60] 49.7% approximate9 [56] 50.3% [63] 398(2.5%) 200(1.3%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [65] 49.7% ---------------------------------------------------------------------- hash-ref! [60] 100.0% [64] 198(1.3%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [68] 100.0% ---------------------------------------------------------------------- ??? [3] 1.3% f94 [63] 1.3% make-exacts* [19] 46.4% loop [20] 51.0% [65] 7570(48.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [68] 97.4% ??? [3] 1.3% ->flonum [69] 1.3% ---------------------------------------------------------------------- bigfloat-hash [61] 100.0% [66] 464(3.0%) 464(3.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- bigfloat-hash [61] 100.0% [67] 218(1.4%) 218(1.4%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- parse-loop12 [64] 0.1% make-exacts* [19] 0.1% map [65] 3.2% ??? [62] 4.4% loop [68] 92.3% [68] 10972(70.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [68] 92.3% hash-ref! [60] 4.4% ??? [70] 3.3% ??? [3] 0.1% ---------------------------------------------------------------------- map [65] 32.9% for-loop [58] 67.1% [69] 602(3.8%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [71] 67.1% ??? [81] 32.9% ---------------------------------------------------------------------- loop [68] 100.0% [70] 10296(65.8%) 238(1.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [72] 81.1% ??? [79] 9.7% real->bigfloat [73] 6.9% ---------------------------------------------------------------------- ->flonum [69] 100.0% [71] 404(2.6%) 404(2.6%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [70] 100.0% [72] 8348(53.4%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [76] 81.1% bf* [74] 16.0% ...higher-order.rkt:373:33 [75] 2.9% ---------------------------------------------------------------------- ??? [70] 100.0% [73] 714(4.6%) 480(3.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [82] 32.8% ---------------------------------------------------------------------- ??? [72] 100.0% [74] 1332(8.5%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [76] 100.0% ---------------------------------------------------------------------- ??? [72] 100.0% [75] 242(1.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [77] 100.0% ---------------------------------------------------------------------- bf* [74] 16.4% ??? [72] 83.6% [76] 8106(51.8%) 3698(23.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexpm1 [78] 26.9% bfmul [80] 14.2% ??? [81] 13.2% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [75]100.0% [77] 242(1.5%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [79] 100.0% ---------------------------------------------------------------------- ??? [76] 100.0% [78] 2182(14.0%) 2182(14.0%) bfexpm1 ...ib/math/private/bigfloat/mpfr.rkt:616:4 ---------------------------------------------------------------------- ??? [77] 19.5% ??? [70] 80.5% [79] 1238(7.9%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [81] 100.0% ---------------------------------------------------------------------- ??? [76] 100.0% [80] 1152(7.4%) 218(1.4%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [82] 81.1% ---------------------------------------------------------------------- ->flonum [69] 7.9% ??? [76] 42.8% ??? [79] 49.3% [81] 2510(16.0%) 740(4.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [83] 70.5% ---------------------------------------------------------------------- real->bigfloat [73] 20.0% bfmul [80] 80.0% [82] 1168(7.5%) 1168(7.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [81] 100.0% [83] 1770(11.3%) 1032(6.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [84] 41.7% ---------------------------------------------------------------------- ??? [83] 100.0% [84] 738(4.7%) 738(4.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------