Profiling results ----------------- Total cpu time observed: 13550ms (out of 13856ms) Number of samples taken: 63 (once every 215ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [33] 100.0% [1] 13328(98.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ----------------------------------------------------------------------- ??? [33] 100.0% [2] 5562(41.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [9] 68.9% get-final-combination [10] 31.1% ----------------------------------------------------------------------- ??? [33] 100.0% [3] 2508(18.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [11] 50.6% for-loop [12] 32.8% iterate-egraph!5 [16] 16.7% ----------------------------------------------------------------------- hash-ref! [83] 100.0% [4] 1264(9.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [77] 100.0% ----------------------------------------------------------------------- copying-mergesort [54] 100.0% [5] 642(4.7%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [72] 100.0% ----------------------------------------------------------------------- hash-ref! [83] 100.0% [6] 242(1.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [14] 100.0% ----------------------------------------------------------------------- hash-ref! [83] 100.0% [7] 242(1.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [13] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [8] 13328(98.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [33] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 3834(28.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 1728(12.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ----------------------------------------------------------------------- simplify [3] 100.0% [11] 1268(9.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 100.0% ----------------------------------------------------------------------- simplify [3] 100.0% [12] 822(6.1%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% ----------------------------------------------------------------------- ??? [7] 100.0% [13] 242(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 hash-ref! [83] 100.0% ----------------------------------------------------------------------- ??? [6] 100.0% [14] 242(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [83] 100.0% ----------------------------------------------------------------------- for-loop [9] 100.0% [15] 3834(28.3%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [18] 65.4% finalize-iter! [21] 17.3% gen-series! [22] 6.3% choose-best-alt! [23] 5.7% gen-rewrites! [24] 5.2% ----------------------------------------------------------------------- simplify [3] 16.7% for-loop [12] 32.8% simplify-expr [11] 50.6% [16] 2508(18.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 100.0% ----------------------------------------------------------------------- get-final-combination [10] 100.0% [17] 1728(12.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [20] 100.0% ----------------------------------------------------------------------- run-iter! [15] 100.0% [18] 2508(18.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [25] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [19] 2508(18.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [26] 75.1% apply-match [37] 8.9% loop [30] 8.1% hash-keys [31] 8.0% ----------------------------------------------------------------------- split-table [17] 100.0% [20] 1728(12.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [27] 100.0% ----------------------------------------------------------------------- run-iter! [15] 100.0% [21] 664(4.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [28] 100.0% ----------------------------------------------------------------------- run-iter! [15] 100.0% [22] 242(1.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [29] 100.0% ----------------------------------------------------------------------- run-iter! [15] 100.0% [23] 220(1.6%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:120:0 ??? [28] 100.0% ----------------------------------------------------------------------- run-iter! [15] 100.0% [24] 200(1.5%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:148:0 for-loop [32] 100.0% ----------------------------------------------------------------------- simplify! [18] 100.0% [25] 2508(18.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [33] 100.0% ----------------------------------------------------------------------- for-loop [26] 50.0% one-iter [19] 50.0% [26] 1884(13.9%) 598(4.4%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [26] 50.0% match-e [34] 34.1% ----------------------------------------------------------------------- infer-splitpoints4 [20] 100.0% [27] 1728(12.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [35] 73.1% pick-errors [38] 14.0% loop [77] 12.8% ----------------------------------------------------------------------- choose-best-alt! [23] 24.9% finalize-iter! [21] 75.1% [28] 884(6.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 75.1% atab-pick-alt8 [40] 24.9% ----------------------------------------------------------------------- gen-series! [22] 100.0% [29] 242(1.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [39] 100.0% ----------------------------------------------------------------------- one-iter [19] 100.0% [30] 202(1.5%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [37] 100.0% ----------------------------------------------------------------------- one-iter [19] 100.0% [31] 200(1.5%) 200(1.5%) hash-keys .../collects/racket/private/hash.rkt:2:2 ----------------------------------------------------------------------- gen-rewrites! [24] 100.0% [32] 200(1.5%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:153:11 ??? [41] 100.0% ----------------------------------------------------------------------- for-loop [25] 6.4% run [8] 46.4% [33] 13550(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.4% loop [42] 29.5% run-improve58 [2] 17.7% simplify [3] 6.4% ----------------------------------------------------------------------- for-loop [55] 8.6% for-loop [26] 91.4% [34] 1286(9.5%) 642(4.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [45] 32.8% constant? [49] 17.3% for-loop [55] 8.6% ----------------------------------------------------------------------- option-on-expr [27] 100.0% [35] 1264(9.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [43] 100.0% ----------------------------------------------------------------------- ??? [28] 100.0% [36] 664(4.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [44] 100.0% ----------------------------------------------------------------------- loop [30] 47.6% one-iter [19] 52.4% [37] 424(3.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [48] 52.4% for-loop [51] 47.6% ----------------------------------------------------------------------- option-on-expr [27] 100.0% [38] 242(1.8%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [46] 100.0% ----------------------------------------------------------------------- for-loop [29] 100.0% [39] 242(1.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [47] 100.0% ----------------------------------------------------------------------- ??? [28] 100.0% [40] 220(1.6%) 0(0.0%) atab-pick-alt8 ...rbie/src/core/alt-table.rkt:54:0 ??? [50] 100.0% ----------------------------------------------------------------------- for-loop [32] 100.0% [41] 200(1.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:90:0 rewriter [52] 100.0% ----------------------------------------------------------------------- ??? [33] 100.0% [42] 7988(59.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [53] 51.0% make-exacts* [63] 31.2% loop [64] 17.8% ----------------------------------------------------------------------- sort-context-on-expr [35] 100.0% [43] 1264(9.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [54] 84.2% loop [65] 15.8% ----------------------------------------------------------------------- for-loop [36] 100.0% [44] 664(4.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [57] 33.4% loop [77] 33.4% override-at-pnts [59] 33.1% ----------------------------------------------------------------------- match-e [34] 100.0% [45] 422(3.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [55] 100.0% ----------------------------------------------------------------------- pick-errors [38] 100.0% [46] 242(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [79] 100.0% ----------------------------------------------------------------------- taylor-alt [39] 100.0% [47] 242(1.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [56] 100.0% ----------------------------------------------------------------------- apply-match [37] 100.0% [48] 222(1.6%) 222(1.6%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 ----------------------------------------------------------------------- match-e [34] 100.0% [49] 222(1.6%) 222(1.6%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ----------------------------------------------------------------------- atab-pick-alt8 [40] 100.0% [50] 220(1.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:369:33 best-alt [58] 100.0% ----------------------------------------------------------------------- apply-match [37] 100.0% [51] 202(1.5%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 substitute-e [60] 100.0% ----------------------------------------------------------------------- ??? [41] 25.0% matcher [70] 75.0% [52] 200(1.5%) 0(0.0%) rewriter ...lock/herbie/src/core/matcher.rkt:123:2 for-loop [62] 75.0% *rules* [61] 25.0% ----------------------------------------------------------------------- loop [42] 100.0% [53] 4076(30.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [63] 42.1% loop [64] 34.4% eval-prog [79] 23.5% ----------------------------------------------------------------------- sort [43] 40.8% copying-mergesort [54] 59.2% [54] 1064(7.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [54] 59.2% loop [65] 25.8% jloop [5] 15.1% ----------------------------------------------------------------------- match-e [34] 34.5% for-loop [45] 65.5% [55] 644(4.8%) 422(3.1%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [34] 34.5% ----------------------------------------------------------------------- for-loop [47] 100.0% [56] 242(1.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [66] 100.0% ----------------------------------------------------------------------- atab-add-altn [44] 100.0% [57] 222(1.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [78] 100.0% ----------------------------------------------------------------------- ??? [50] 100.0% [58] 220(1.6%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:79:0 argmins [67] 100.0% ----------------------------------------------------------------------- atab-add-altn [44] 100.0% [59] 220(1.6%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [78] 100.0% ----------------------------------------------------------------------- for-loop [51] 100.0% [60] 202(1.5%) 0(0.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 mk-enode! [68] 100.0% ----------------------------------------------------------------------- rewriter [52] 100.0% [61] 200(1.5%) 0(0.0%) *rules* ...tlock/herbie/src/syntax/rules.rkt:296:0 for-loop [69] 100.0% ----------------------------------------------------------------------- rewriter [52] 100.0% [62] 200(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:126:10 matcher [70] 100.0% ----------------------------------------------------------------------- loop [53] 40.8% loop [42] 59.2% [63] 4208(31.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [71] 46.7% loop [77] 46.0% eval-prog [79] 7.3% ----------------------------------------------------------------------- loop [53] 49.7% loop [42] 50.3% [64] 2824(20.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [71] 100.0% ----------------------------------------------------------------------- sort [43] 32.2% copying-mergesort [54] 67.8% [65] 622(4.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [72] 100.0% ----------------------------------------------------------------------- location-do [56] 100.0% [66] 242(1.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [73] 100.0% ----------------------------------------------------------------------- best-alt [58] 100.0% [67] 220(1.6%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 composed [74] 100.0% ----------------------------------------------------------------------- substitute-e [60] 100.0% [68] 202(1.5%) 0(0.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 hash-has-key? [75] 100.0% ----------------------------------------------------------------------- *rules* [61] 100.0% [69] 200(1.5%) 200(1.5%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ----------------------------------------------------------------------- for-loop [76] 16.7% matcher [70] 33.3% for-loop [62] 50.0% [70] 200(1.5%) 0(0.0%) matcher ...tlock/herbie/src/core/matcher.rkt:159:2 rewriter [52] 50.0% matcher [70] 33.3% for-loop [76] 16.7% ----------------------------------------------------------------------- make-exacts* [63] 41.0% loop [64] 59.0% [71] 4788(35.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [77] 100.0% ----------------------------------------------------------------------- loop [65] 49.2% jloop [5] 50.8% [72] 1264(9.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [79] 84.2% ??? [82] 15.8% ----------------------------------------------------------------------- approximate9 [66] 100.0% [73] 242(1.8%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [83] 100.0% ----------------------------------------------------------------------- argmins [67] 100.0% [74] 220(1.6%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [78] 100.0% ----------------------------------------------------------------------- mk-enode! [68] 100.0% [75] 202(1.5%) 202(1.5%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ----------------------------------------------------------------------- matcher [70] 100.0% [76] 200(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:175:21 matcher [70] 100.0% ----------------------------------------------------------------------- make-exacts* [63] 0.2% atab-add-altn [44] 0.9% map [71] 1.8% option-on-expr [27] 2.6% ??? [4] 15.0% loop [77] 79.5% [77] 8432(62.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [77] 79.5% hash-ref! [83] 15.0% errors [78] 2.6% ??? [82] 2.0% loop [81] 0.9% ->flonum [86] 0.0% ----------------------------------------------------------------------- override-at-pnts [59] 24.9% composed [74] 24.9% best-and-tied-at-points [57] 25.1% loop [77] 25.1% [78] 884(6.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [79] 50.0% for-loop [80] 50.0% ----------------------------------------------------------------------- for-loop [46] 8.0% make-exacts* [63] 10.2% errors [78] 14.7% loop [53] 31.7% ??? [72] 35.3% [79] 3012(22.2%) 1748(12.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [83] 42.0% ----------------------------------------------------------------------- errors [78] 100.0% [80] 442(3.3%) 220(1.6%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [82] 50.2% ----------------------------------------------------------------------- loop [77] 2.6% loop [81] 97.4% [81] 222(1.6%) 222(1.6%) loop ...ket/collects/racket/private/list.rkt:82:16 loop [81] 97.4% ----------------------------------------------------------------------- ??? [72] 3.0% for-loop [80] 3.3% loop [77] 93.8% [82] 6772(50.0%) 228(1.7%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [84] 84.8% real->bigfloat [87] 5.5% ...e/case-arrow.rkt:150:50 [90] 3.4% ->flonum [86] 3.0% ----------------------------------------------------------------------- for-loop [14] 4.0% for-loop [13] 4.0% ??? [89] 4.0% loop [73] 4.0% eval-prog [79] 30.7% loop [77] 53.2% [83] 1506(11.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 53.2% bigfloat-hash [85] 30.7% ??? [89] 4.0% ??? [7] 4.0% ??? [6] 4.0% simplify [88] 4.0% ----------------------------------------------------------------------- ??? [82] 100.0% [84] 5742(42.4%) 420(3.1%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [91] 89.3% ...higher-order.rkt:373:33 [96] 3.4% ----------------------------------------------------------------------- hash-ref! [83] 100.0% [85] 1264(9.3%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [92] 73.6% bfcanonicalize [93] 26.4% ----------------------------------------------------------------------- ??? [82] 34.8% loop [77] 65.2% [86] 574(4.2%) 208(1.5%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [95] 34.8% ??? [102] 28.9% ----------------------------------------------------------------------- ??? [82] 100.0% [87] 374(2.8%) 374(2.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ----------------------------------------------------------------------- hash-ref! [83] 100.0% [88] 242(1.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [94] 100.0% ----------------------------------------------------------------------- hash-ref! [83] 100.0% [89] 242(1.8%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [83] 100.0% ----------------------------------------------------------------------- ??? [82] 100.0% [90] 228(1.7%) 228(1.7%) ...e/case-arrow.rkt:150:50 (unknown source) ----------------------------------------------------------------------- ??? [84] 100.0% [91] 5126(37.8%) 192(1.4%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [97] 48.8% bfadd [98] 32.9% ??? [102] 14.6% ----------------------------------------------------------------------- bigfloat-hash [85] 100.0% [92] 930(6.9%) 930(6.9%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- bigfloat-hash [85] 100.0% [93] 334(2.5%) 334(2.5%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ----------------------------------------------------------------------- parse-loop50 [94] 50.0% simplify [88] 50.0% [94] 242(1.8%) 242(1.8%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [94] 50.0% ----------------------------------------------------------------------- ->flonum [86] 100.0% [95] 200(1.5%) 200(1.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ??? [84] 100.0% [96] 196(1.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [99] 100.0% ----------------------------------------------------------------------- ??? [91] 100.0% [97] 2504(18.5%) 1416(10.5%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [100] 43.5% ----------------------------------------------------------------------- ??? [91] 100.0% [98] 1684(12.4%) 1430(10.6%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [100] 15.1% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [96]100.0% [99] 196(1.4%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [101] 100.0% ----------------------------------------------------------------------- bfadd [98] 18.9% bfsqrt [97] 81.1% [100] 1342(9.9%) 1342(9.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [99] 100.0% [101] 196(1.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [102] 100.0% ----------------------------------------------------------------------- ->flonum [86] 15.0% ??? [101] 17.7% ??? [91] 67.3% [102] 1108(8.2%) 868(6.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [103] 21.7% ----------------------------------------------------------------------- ??? [102] 100.0% [103] 240(1.8%) 240(1.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 -----------------------------------------------------------------------