Profiling results ----------------- Total cpu time observed: 22098ms (out of 22540ms) Number of samples taken: 94 (once every 235ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [27] 100.0% [1] 21912(99.2%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ---------------------------------------------------------------------- ??? [27] 100.0% [2] 4582(20.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [7] 50.9% get-final-combination [8] 40.3% loop [34] 8.8% ---------------------------------------------------------------------- loop [68] 11.3% ??? [27] 88.7% [3] 1950(8.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [12] 66.1% for-loop [9] 22.7% simplify-expr [10] 11.3% ---------------------------------------------------------------------- copying-mergesort [43] 100.0% [4] 402(1.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [53] 100.0% ---------------------------------------------------------------------- loop [68] 100.0% [5] 400(1.8%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [58] 74.8% map [64] 25.2% ---------------------------------------------------------------------- profile-thunk14 [1] 99.2% [6] 22098(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [27] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 2330(10.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 1848(8.4%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [13] 88.1% extract-alt [14] 11.9% ---------------------------------------------------------------------- simplify [3] 100.0% [9] 442(2.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [12] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [10] 220(1.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [12] 100.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [11] 2330(10.5%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [15] 74.2% gen-series! [18] 8.7% finalize-iter! [19] 8.6% localize-error [37] 8.5% ---------------------------------------------------------------------- simplify-expr [10] 11.3% for-loop [9] 22.7% simplify [3] 66.1% [12] 1950(8.8%) 220(1.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [16] 88.7% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [13] 1628(7.4%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [17] 100.0% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [14] 220(1.0%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [68] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [15] 1730(7.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [20] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [12] 100.0% [16] 1730(7.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [21] 88.3% apply-match [23] 11.7% ---------------------------------------------------------------------- split-table [13] 100.0% [17] 1628(7.4%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [22] 87.6% exprs-to-branch-on [24] 12.4% ---------------------------------------------------------------------- run-iter! [11] 100.0% [18] 202(0.9%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [25] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [19] 200(0.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% ---------------------------------------------------------------------- simplify! [15] 100.0% [20] 1730(7.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [27] 100.0% ---------------------------------------------------------------------- for-loop [21] 50.0% one-iter [16] 50.0% [21] 1528(6.9%) 464(2.1%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [21] 50.0% match-e [29] 34.8% ---------------------------------------------------------------------- infer-splitpoints4 [17] 100.0% [22] 1426(6.5%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [28] 100.0% ---------------------------------------------------------------------- one-iter [16] 100.0% [23] 202(0.9%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [30] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [17] 100.0% [24] 202(0.9%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [31] 100.0% ---------------------------------------------------------------------- gen-series! [18] 100.0% [25] 202(0.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [32] 100.0% ---------------------------------------------------------------------- finalize-iter! [19] 100.0% [26] 200(0.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [33] 100.0% ---------------------------------------------------------------------- for-loop [20] 2.6% run [6] 49.1% [27] 22098(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.3% loop [34] 40.1% run-improve58 [2] 9.1% simplify [3] 2.6% ---------------------------------------------------------------------- option-on-expr [22] 100.0% [28] 1426(6.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [35] 100.0% ---------------------------------------------------------------------- for-loop [44] 11.3% for-loop [21] 88.7% [29] 1064(4.8%) 642(2.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [36] 30.3% custom-in-set [38] 20.7% ---------------------------------------------------------------------- apply-match [23] 100.0% [30] 202(0.9%) 0(0.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 mk-enode! [39] 100.0% ---------------------------------------------------------------------- exprs-to-branch-on [24] 100.0% [31] 202(0.9%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [37] 100.0% ---------------------------------------------------------------------- for-loop [25] 100.0% [32] 202(0.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [40] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [33] 200(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [41] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 2.3% ??? [27] 97.7% [34] 17920(81.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [42] 49.1% make-exacts* [48] 34.2% loop [49] 16.7% ---------------------------------------------------------------------- sort-context-on-expr [28] 100.0% [35] 1426(6.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 56.4% loop [50] 43.6% ---------------------------------------------------------------------- match-e [29] 100.0% [36] 442(2.0%) 202(0.9%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [44] 54.3% ---------------------------------------------------------------------- run-iter! [11] 49.5% critical-subexpression [31] 50.5% [37] 400(1.8%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [58] 100.0% ---------------------------------------------------------------------- match-e [29] 100.0% [38] 220(1.0%) 220(1.0%) custom-in-set ...acket/private/set-types.rkt:578:0 ---------------------------------------------------------------------- substitute-e [30] 100.0% [39] 202(0.9%) 0(0.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 new-enode [45] 100.0% ---------------------------------------------------------------------- taylor-alt [32] 100.0% [40] 202(0.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ---------------------------------------------------------------------- for-loop [33] 100.0% [41] 200(0.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [47] 100.0% ---------------------------------------------------------------------- loop [34] 100.0% [42] 8800(39.8%) 186(0.8%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [48] 47.2% loop [49] 46.1% eval-prog [56] 4.7% ---------------------------------------------------------------------- sort [35] 49.9% copying-mergesort [43] 50.1% [43] 804(3.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 50.1% loop [50] 37.4% jloop [4] 12.5% ---------------------------------------------------------------------- for-loop [36] 100.0% [44] 240(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [29] 100.0% ---------------------------------------------------------------------- mk-enode! [39] 100.0% [45] 202(0.9%) 202(0.9%) new-enode ...atlock/herbie/src/core/enode.rkt:68:0 ---------------------------------------------------------------------- for-loop [40] 100.0% [46] 202(0.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [51] 100.0% ---------------------------------------------------------------------- atab-add-altn [41] 100.0% [47] 200(0.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [52] 100.0% ---------------------------------------------------------------------- loop [42] 40.4% loop [34] 59.6% [48] 10276(46.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [68] 49.2% map [64] 46.5% eval-prog [56] 4.3% ---------------------------------------------------------------------- loop [34] 42.5% loop [42] 57.5% [49] 7048(31.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [64] 100.0% ---------------------------------------------------------------------- copying-mergesort [43] 39.3% sort [35] 60.7% [50] 1024(4.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [53] 100.0% ---------------------------------------------------------------------- location-do [46] 100.0% [51] 202(0.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 taylor-quotient [54] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [47] 100.0% [52] 200(0.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [55] 100.0% ---------------------------------------------------------------------- jloop [4] 28.2% loop [50] 71.8% [53] 1426(6.5%) 202(0.9%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [56] 85.8% ---------------------------------------------------------------------- approximate9 [51] 100.0% [54] 202(0.9%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 simplify [57] 100.0% ---------------------------------------------------------------------- errors [52] 100.0% [55] 200(0.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [70] 100.0% ---------------------------------------------------------------------- loop [42] 19.8% make-exacts* [48] 21.2% ??? [53] 59.0% [56] 2074(9.4%) 1022(4.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [58] 41.0% parse-lambda [59] 9.7% ---------------------------------------------------------------------- taylor-quotient [54] 100.0% [57] 202(0.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [62] 100.0% ---------------------------------------------------------------------- ??? [5] 16.0% localize-error [37] 16.0% loop [68] 27.4% eval-prog [56] 40.6% [58] 1250(5.7%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [60] 40.6% ??? [61] 27.4% parse-loop12 [63] 16.0% f6 [62] 16.0% ---------------------------------------------------------------------- eval-prog [56] 100.0% [59] 202(0.9%) 202(0.9%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ---------------------------------------------------------------------- hash-ref! [58] 100.0% [60] 850(3.8%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [65] 72.7% sig+exp->bigfloat [66] 27.3% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [61] 608(2.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [68] 100.0% ---------------------------------------------------------------------- simplify [57] 33.6% hash-ref! [58] 66.4% [62] 602(2.7%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [64] 66.4% combine-mterms [67] 33.6% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [63] 400(1.8%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [68] 100.0% ---------------------------------------------------------------------- ??? [5] 0.8% f6 [62] 2.4% make-exacts* [48] 39.1% loop [49] 57.7% [64] 12224(55.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [68] 99.2% ->flonum [73] 0.8% ---------------------------------------------------------------------- bigfloat-hash [60] 100.0% [65] 618(2.8%) 618(2.8%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- bigfloat-hash [60] 100.0% [66] 232(1.0%) 232(1.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- f6 [62] 100.0% [67] 202(0.9%) 0(0.0%) combine-mterms ...herbie/src/core/reduce.rkt:182:0 for-loop [69] 100.0% ---------------------------------------------------------------------- parse-loop12 [63] 0.1% make-exacts* [48] 0.2% extract-alt [14] 0.4% map [64] 1.6% ??? [61] 3.4% loop [68] 94.3% [68] 18112(82.0%) 216(1.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [68] 94.3% hash-ref! [58] 3.4% ??? [70] 1.7% simplify [3] 0.4% ??? [5] 0.1% ->flonum [73] 0.1% ??? [74] 0.0% ---------------------------------------------------------------------- combine-mterms [67] 100.0% [69] 202(0.9%) 202(0.9%) for-loop ...tlock/herbie/src/core/reduce.rkt:186:5 ---------------------------------------------------------------------- for-loop [55] 1.2% loop [68] 98.8% [70] 16022(72.5%) 426(1.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [71] 83.4% real->bigfloat [72] 11.2% ??? [82] 1.5% ->flonum [73] 1.2% ---------------------------------------------------------------------- ??? [70] 100.0% [71] 13360(60.5%) 476(2.2%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [74] 86.5% ...higher-order.rkt:369:33 [75] 5.1% ...higher-order.rkt:373:33 [76] 4.9% ---------------------------------------------------------------------- ??? [70] 100.0% [72] 1800(8.1%) 1582(7.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [83] 12.1% ---------------------------------------------------------------------- ??? [70] 16.0% map [64] 16.2% loop [68] 67.8% [73] 1248(5.6%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [84] 48.9% ??? [77] 32.2% ??? [78] 18.9% ---------------------------------------------------------------------- loop [68] 1.7% ??? [71] 98.3% [74] 11750(53.2%) 5512(24.9%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog1p [79] 28.7% bfdiv [80] 16.4% ??? [84] 8.0% ---------------------------------------------------------------------- ??? [71] 100.0% [75] 682(3.1%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [82] 67.7% ??? [81] 32.3% ---------------------------------------------------------------------- ??? [71] 100.0% [76] 650(2.9%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [82] 68.9% ??? [81] 31.1% ---------------------------------------------------------------------- ->flonum [73] 100.0% [77] 402(1.8%) 402(1.8%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ->flonum [73] 100.0% [78] 236(1.1%) 236(1.1%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ---------------------------------------------------------------------- ??? [74] 100.0% [79] 3372(15.3%) 2714(12.3%) bflog1p ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [83] 19.5% ---------------------------------------------------------------------- ??? [74] 100.0% [80] 1926(8.7%) 1488(6.7%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [83] 22.7% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [76] 47.9% ...higher-order.rkt:369:33 [75] 52.1% [81] 422(1.9%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [82] 100.0% ---------------------------------------------------------------------- ??? [70] 15.1% ??? [81] 26.9% ...higher-order.rkt:373:33 [76] 28.6% ...higher-order.rkt:369:33 [75] 29.5% [82] 1568(7.1%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [84] 100.0% ---------------------------------------------------------------------- real->bigfloat [72] 16.6% bfdiv [80] 33.3% bflog1p [79] 50.1% [83] 1314(5.9%) 1314(5.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ->flonum [73] 19.6% ??? [74] 30.1% ??? [82] 50.3% [84] 3118(14.1%) 2240(10.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [85] 28.2% ---------------------------------------------------------------------- ??? [84] 100.0% [85] 878(4.0%) 404(1.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [86] 54.0% ---------------------------------------------------------------------- ??? [85] 100.0% [86] 474(2.1%) 474(2.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------