Profiling results ----------------- Total cpu time observed: 15832ms (out of 16084ms) Number of samples taken: 70 (once every 226ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [21] 100.0% [1] 15438(97.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% --------------------------------------------------------------------- ??? [21] 100.0% [2] 3128(19.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [6] 51.1% get-final-combination [7] 48.9% --------------------------------------------------------------------- copying-mergesort [35] 100.0% [3] 202(1.3%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [52] 100.0% --------------------------------------------------------------------- parse-loop12 [70] 100.0% [4] 202(1.3%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [51] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 15438(97.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [21] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 1598(10.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [8] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1530(9.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [9] 100.0% --------------------------------------------------------------------- for-loop [6] 100.0% [8] 1598(10.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [11] 37.4% finalize-iter! [12] 25.0% gen-rewrites! [13] 12.6% gen-series! [14] 12.6% localize-error [15] 12.3% --------------------------------------------------------------------- get-final-combination [7] 100.0% [9] 1530(9.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [10] 100.0% --------------------------------------------------------------------- split-table [9] 100.0% [10] 1530(9.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [16] 100.0% --------------------------------------------------------------------- run-iter! [8] 100.0% [11] 598(3.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [17] 100.0% --------------------------------------------------------------------- run-iter! [8] 100.0% [12] 400(2.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [18] 100.0% --------------------------------------------------------------------- run-iter! [8] 100.0% [13] 202(1.3%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:148:0 for-loop [19] 100.0% --------------------------------------------------------------------- run-iter! [8] 100.0% [14] 202(1.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [20] 100.0% --------------------------------------------------------------------- run-iter! [8] 100.0% [15] 196(1.2%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [59] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [10] 100.0% [16] 1530(9.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [22] 86.1% err-lsts->split-indices [24] 13.9% --------------------------------------------------------------------- simplify! [11] 100.0% [17] 598(3.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [21] 100.0% --------------------------------------------------------------------- finalize-iter! [12] 100.0% [18] 400(2.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [23] 100.0% --------------------------------------------------------------------- gen-rewrites! [13] 100.0% [19] 202(1.3%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:153:11 ??? [25] 100.0% --------------------------------------------------------------------- gen-series! [14] 100.0% [20] 202(1.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [26] 100.0% --------------------------------------------------------------------- for-loop [17] 1.3% run [5] 48.7% [21] 15634(98.7%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.7% loop [27] 40.6% run-improve58 [2] 9.4% simplify [29] 1.3% --------------------------------------------------------------------- option-on-expr [16] 100.0% [22] 1318(8.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [28] 100.0% --------------------------------------------------------------------- ??? [18] 100.0% [23] 400(2.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [30] 100.0% --------------------------------------------------------------------- option-on-expr [16] 100.0% [24] 212(1.3%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [31] 100.0% --------------------------------------------------------------------- for-loop [19] 100.0% [25] 202(1.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:90:0 rewriter [32] 100.0% --------------------------------------------------------------------- for-loop [20] 100.0% [26] 202(1.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [33] 100.0% --------------------------------------------------------------------- ??? [21] 100.0% [27] 12506(79.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [42] 42.7% loop [34] 37.5% loop [43] 19.9% --------------------------------------------------------------------- sort-context-on-expr [22] 100.0% [28] 1318(8.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [35] 65.7% loop [44] 34.3% --------------------------------------------------------------------- ??? [21] 100.0% [29] 598(3.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [36] 66.9% iterate-egraph!5 [45] 33.1% --------------------------------------------------------------------- for-loop [23] 100.0% [30] 400(2.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [41] 50.0% hash-set-lsts [40] 50.0% --------------------------------------------------------------------- err-lsts->split-indices [24] 100.0% [31] 212(1.3%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [37] 100.0% --------------------------------------------------------------------- matcher [47] 50.0% ??? [25] 50.0% [32] 202(1.3%) 202(1.3%) rewriter ...lock/herbie/src/core/matcher.rkt:123:2 for-loop [38] 50.0% --------------------------------------------------------------------- taylor-alt [26] 100.0% [33] 202(1.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [39] 100.0% --------------------------------------------------------------------- loop [27] 100.0% [34] 4688(29.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [43] 58.6% make-exacts* [42] 36.7% eval-prog [56] 4.7% --------------------------------------------------------------------- sort [28] 35.7% copying-mergesort [35] 64.3% [35] 866(5.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [35] 64.3% loop [44] 29.9% jloop [3] 5.8% --------------------------------------------------------------------- simplify [29] 100.0% [36] 400(2.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [45] 100.0% --------------------------------------------------------------------- add-splitpoint [31] 100.0% [37] 212(1.3%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [46] 100.0% --------------------------------------------------------------------- rewriter [32] 100.0% [38] 202(1.3%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:126:10 matcher [47] 100.0% --------------------------------------------------------------------- for-loop [33] 100.0% [39] 202(1.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [48] 100.0% --------------------------------------------------------------------- atab-add-altn [30] 100.0% [40] 200(1.3%) 0(0.0%) hash-set-lsts ...rbie/src/core/alt-table.rkt:111:0 loop [49] 100.0% --------------------------------------------------------------------- atab-add-altn [30] 100.0% [41] 200(1.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [50] 100.0% --------------------------------------------------------------------- loop [34] 24.4% loop [27] 75.6% [42] 7054(44.6%) 222(1.4%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [51] 50.3% loop [74] 42.5% eval-prog [56] 4.0% --------------------------------------------------------------------- loop [27] 47.5% loop [34] 52.5% [43] 5232(33.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [51] 100.0% --------------------------------------------------------------------- sort [28] 40.5% copying-mergesort [35] 59.5% [44] 1116(7.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [52] 100.0% --------------------------------------------------------------------- simplify [29] 33.1% simplify-expr [36] 66.9% [45] 598(3.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [53] 100.0% --------------------------------------------------------------------- for-loop [37] 100.0% [46] 212(1.3%) 212(1.3%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 --------------------------------------------------------------------- matcher [47] 50.0% for-loop [38] 50.0% [47] 202(1.3%) 0(0.0%) matcher ...tlock/herbie/src/core/matcher.rkt:159:2 matcher [47] 50.0% rewriter [32] 50.0% --------------------------------------------------------------------- location-do [39] 100.0% [48] 202(1.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [54] 100.0% --------------------------------------------------------------------- hash-set-lsts [40] 100.0% [49] 200(1.3%) 200(1.3%) loop ...atlock/herbie/src/core/alt-table.rkt:106:2 --------------------------------------------------------------------- best-and-tied-at-points [41] 100.0% [50] 200(1.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [55] 100.0% --------------------------------------------------------------------- f37 [4] 2.2% make-exacts* [42] 39.5% loop [43] 58.2% [51] 8984(56.7%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [74] 92.9% ??? [76] 4.8% parse-loop12 [70] 2.2% --------------------------------------------------------------------- jloop [3] 15.3% loop [44] 84.7% [52] 1318(8.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [56] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [45] 100.0% [53] 598(3.8%) 200(1.3%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [57] 33.4% loop [58] 33.1% --------------------------------------------------------------------- approximate9 [48] 100.0% [54] 202(1.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [59] 100.0% --------------------------------------------------------------------- errors [50] 100.0% [55] 200(1.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ->flonum [77] 100.0% --------------------------------------------------------------------- loop [34] 12.1% make-exacts* [42] 15.6% ??? [52] 72.3% [56] 1822(11.5%) 1318(8.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [59] 15.6% inductor [60] 12.1% --------------------------------------------------------------------- for-loop [57] 50.0% one-iter [53] 50.0% [57] 200(1.3%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [57] 50.0% match-e [61] 50.0% --------------------------------------------------------------------- one-iter [53] 100.0% [58] 198(1.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [62] 100.0% --------------------------------------------------------------------- ??? [66] 9.9% ??? [65] 9.9% loop [54] 9.9% ??? [78] 14.4% localize-error [15] 14.4% eval-prog [56] 41.6% [59] 682(4.3%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [63] 41.6% parse-loop12 [70] 14.4% ??? [69] 14.4% ??? [65] 9.9% ??? [66] 9.9% simplify [67] 9.9% --------------------------------------------------------------------- eval-prog [56] 33.3% inductor [60] 66.7% [60] 220(1.4%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [60] 66.7% integer->bigfloat [64] 33.3% --------------------------------------------------------------------- for-loop [57] 100.0% [61] 200(1.3%) 200(1.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 --------------------------------------------------------------------- loop [58] 100.0% [62] 198(1.3%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 mk-enode! [68] 100.0% --------------------------------------------------------------------- hash-ref! [59] 100.0% [63] 284(1.8%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [71] 100.0% --------------------------------------------------------------------- inductor [60] 100.0% [64] 220(1.4%) 220(1.4%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 --------------------------------------------------------------------- hash-ref! [59] 100.0% [65] 202(1.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [59] 100.0% --------------------------------------------------------------------- hash-ref! [59] 100.0% [66] 202(1.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [59] 100.0% --------------------------------------------------------------------- hash-ref! [59] 100.0% [67] 202(1.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [70] 100.0% --------------------------------------------------------------------- apply-match [62] 100.0% [68] 198(1.3%) 0(0.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 hash-has-key? [72] 100.0% --------------------------------------------------------------------- hash-ref! [59] 100.0% [69] 196(1.2%) 0(0.0%) ??? ...ztatlock/herbie/src/core/localize.rkt:22:13 repeat [73] 100.0% --------------------------------------------------------------------- map [51] 12.7% simplify [67] 12.7% parse-loop12 [70] 25.4% hash-ref! [59] 49.2% [70] 398(2.5%) 202(1.3%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [74] 49.2% parse-loop12 [70] 25.4% f37 [4] 12.7% --------------------------------------------------------------------- bigfloat-hash [63] 100.0% [71] 284(1.8%) 284(1.8%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- mk-enode! [68] 100.0% [72] 198(1.3%) 198(1.3%) hash-has-key? ...et/private/more-scheme.rkt:368:13 --------------------------------------------------------------------- ??? [69] 100.0% [73] 196(1.2%) 0(0.0%) repeat ...atlock/herbie/src/core/localize.rkt:13:0 for-loop [75] 100.0% --------------------------------------------------------------------- make-exacts* [42] 0.2% map [51] 0.7% parse-loop12 [70] 1.7% loop [74] 97.4% [74] 11742(74.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [74] 97.4% ??? [78] 1.7% ??? [76] 0.9% ->flonum [77] 0.0% --------------------------------------------------------------------- repeat [73] 100.0% [75] 196(1.2%) 196(1.2%) for-loop ...lock/herbie/src/core/localize.rkt:14:2 --------------------------------------------------------------------- map [51] 3.8% loop [74] 96.2% [76] 11500(72.6%) 234(1.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [79] 83.7% real->bigfloat [80] 12.3% ??? [89] 1.9% --------------------------------------------------------------------- for-loop [55] 29.5% loop [74] 70.5% [77] 678(4.3%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [81] 100.0% --------------------------------------------------------------------- loop [74] 100.0% [78] 196(1.2%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [59] 100.0% --------------------------------------------------------------------- ??? [76] 100.0% [79] 9630(60.8%) 238(1.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [85] 82.6% bf* [82] 7.6% ...higher-order.rkt:373:33 [83] 5.0% bf/ [84] 2.4% --------------------------------------------------------------------- ??? [76] 100.0% [80] 1418(9.0%) 746(4.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [91] 47.4% --------------------------------------------------------------------- ->flonum [77] 100.0% [81] 678(4.3%) 678(4.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [79] 100.0% [82] 728(4.6%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [85] 100.0% --------------------------------------------------------------------- ??? [79] 100.0% [83] 486(3.1%) 248(1.6%) ...higher-order.rkt:373:33 (unknown source) ??? [86] 49.0% --------------------------------------------------------------------- ??? [79] 100.0% [84] 228(1.4%) 228(1.4%) bf/ ...th/private/bigfloat/bigfloat-mpfr.rkt:102:0 --------------------------------------------------------------------- bf* [82] 8.4% ??? [79] 91.6% [85] 8678(54.8%) 5282(33.4%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [90] 16.0% bfexp [87] 13.4% bfdiv [88] 9.7% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [83]100.0% [86] 238(1.5%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [89] 100.0% --------------------------------------------------------------------- ??? [85] 100.0% [87] 1166(7.4%) 964(6.1%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [91] 17.3% --------------------------------------------------------------------- ??? [85] 100.0% [88] 840(5.3%) 622(3.9%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [91] 26.0% --------------------------------------------------------------------- ??? [76] 47.8% ??? [86] 52.2% [89] 456(2.9%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [90] 100.0% --------------------------------------------------------------------- ??? [89] 24.7% ??? [85] 75.3% [90] 1846(11.7%) 664(4.2%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [92] 51.1% ??? [93] 12.9% --------------------------------------------------------------------- bfexp [87] 18.5% bfdiv [88] 20.0% real->bigfloat [80] 61.5% [91] 1092(6.9%) 1092(6.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [90] 100.0% [92] 944(6.0%) 704(4.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [94] 25.4% --------------------------------------------------------------------- ??? [90] 100.0% [93] 238(1.5%) 238(1.5%) ??? ...ects/racket/contract/private/prop.rkt:489:4 --------------------------------------------------------------------- ??? [92] 100.0% [94] 240(1.5%) 240(1.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------