Profiling results ----------------- Total cpu time observed: 5722ms (out of 6080ms) Number of samples taken: 25 (once every 229ms) ================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ================================================================== ??? [11] 100.0% [1] 5722(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ------------------------------------------------------------------ ??? [11] 100.0% [2] 622(10.9%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [7] 67.5% iterate-egraph!5 [12] 32.5% ------------------------------------------------------------------ hash-ref! [53] 100.0% [3] 220(3.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [9] 100.0% ------------------------------------------------------------------ hash-ref! [53] 100.0% [4] 220(3.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [8] 100.0% ------------------------------------------------------------------ match-e [27] 100.0% [5] 196(3.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [10] 100.0% ------------------------------------------------------------------ profile-thunk14 [1] 100.0% [6] 5722(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [11] 100.0% ------------------------------------------------------------------ simplify [2] 100.0% [7] 420(7.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [12] 100.0% ------------------------------------------------------------------ ??? [4] 100.0% [8] 220(3.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [13] 100.0% ------------------------------------------------------------------ ??? [3] 100.0% [9] 220(3.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [53] 100.0% ------------------------------------------------------------------ for-loop [5] 100.0% [10] 196(3.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [27] 100.0% ------------------------------------------------------------------ for-loop [37] 3.6% run [6] 48.2% [11] 5722(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.2% loop [14] 25.6% run-improve58 [15] 22.6% simplify [2] 3.6% ------------------------------------------------------------------ simplify [2] 32.5% simplify-expr [7] 67.5% [12] 622(10.9%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [16] 100.0% ------------------------------------------------------------------ for-loop [8] 100.0% [13] 220(3.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [53] 100.0% ------------------------------------------------------------------ ??? [11] 100.0% [14] 2928(51.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [22] 42.8% loop [19] 41.0% loop [25] 16.2% ------------------------------------------------------------------ ??? [11] 100.0% [15] 2794(48.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [17] 54.9% for-loop [18] 45.1% ------------------------------------------------------------------ iterate-egraph!5 [12] 100.0% [16] 622(10.9%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 loop [20] 68.5% for-loop [21] 31.5% ------------------------------------------------------------------ run-improve58 [15] 100.0% [17] 1534(26.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [23] 100.0% ------------------------------------------------------------------ run-improve58 [15] 100.0% [18] 1260(22.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [24] 100.0% ------------------------------------------------------------------ loop [14] 100.0% [19] 1200(21.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [22] 58.3% loop [25] 21.7% eval-prog [52] 20.0% ------------------------------------------------------------------ one-iter [16] 100.0% [20] 426(7.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [26] 100.0% ------------------------------------------------------------------ for-loop [21] 50.0% one-iter [16] 50.0% [21] 196(3.4%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [21] 50.0% match-e [27] 50.0% ------------------------------------------------------------------ loop [19] 35.8% loop [14] 64.2% [22] 1954(34.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [35] 71.8% map [29] 28.2% ------------------------------------------------------------------ get-final-combination [17] 100.0% [23] 1534(26.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [28] 100.0% ------------------------------------------------------------------ for-loop [18] 100.0% [24] 1260(22.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [30] 49.4% gen-series! [31] 34.9% finalize-iter! [34] 15.7% ------------------------------------------------------------------ loop [19] 35.4% loop [14] 64.6% [25] 734(12.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [29] 100.0% ------------------------------------------------------------------ loop [20] 100.0% [26] 426(7.4%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 mk-enode! [32] 52.6% substitute-e [33] 47.4% ------------------------------------------------------------------ for-loop [10] 50.0% for-loop [21] 50.0% [27] 196(3.4%) 196(3.4%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [5] 50.0% ------------------------------------------------------------------ split-table [23] 100.0% [28] 1534(26.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [36] 100.0% ------------------------------------------------------------------ make-exacts* [22] 42.9% loop [25] 57.1% [29] 1286(22.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [35] 100.0% ------------------------------------------------------------------ run-iter! [24] 100.0% [30] 622(10.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [37] 100.0% ------------------------------------------------------------------ run-iter! [24] 100.0% [31] 440(7.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [38] 100.0% ------------------------------------------------------------------ apply-match [26] 100.0% [32] 224(3.9%) 224(3.9%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ------------------------------------------------------------------ substitute-e [33] 50.0% apply-match [26] 50.0% [33] 202(3.5%) 202(3.5%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [33] 50.0% ------------------------------------------------------------------ run-iter! [24] 100.0% [34] 198(3.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [62] 100.0% ------------------------------------------------------------------ make-exacts* [22] 0.2% map [29] 0.3% loop [35] 99.5% [35] 2688(47.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [35] 99.5% ??? [69] 0.4% ->flonum [54] 0.0% ------------------------------------------------------------------ infer-splitpoints4 [28] 100.0% [36] 1534(26.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [39] 72.4% pick-errors [41] 14.6% errors [67] 13.0% ------------------------------------------------------------------ simplify! [30] 100.0% [37] 622(10.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [11] 100.0% ------------------------------------------------------------------ gen-series! [31] 100.0% [38] 440(7.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [40] 100.0% ------------------------------------------------------------------ option-on-expr [36] 100.0% [39] 1110(19.4%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [42] 100.0% ------------------------------------------------------------------ for-loop [38] 100.0% [40] 440(7.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [43] 100.0% ------------------------------------------------------------------ option-on-expr [36] 100.0% [41] 224(3.9%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [44] 100.0% ------------------------------------------------------------------ sort-context-on-expr [39] 100.0% [42] 1110(19.4%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [45] 100.0% ------------------------------------------------------------------ taylor-alt [40] 100.0% [43] 440(7.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ------------------------------------------------------------------ pick-errors [41] 100.0% [44] 224(3.9%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [52] 100.0% ------------------------------------------------------------------ copying-mergesort [45] 37.8% sort [42] 62.2% [45] 1110(19.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [47] 57.3% copying-mergesort [45] 37.8% jloop [49] 5.0% ------------------------------------------------------------------ for-loop [43] 100.0% [46] 440(7.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [48] 100.0% ------------------------------------------------------------------ copying-mergesort [45] 100.0% [47] 890(15.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [50] 100.0% ------------------------------------------------------------------ location-do [46] 100.0% [48] 440(7.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [51] 100.0% ------------------------------------------------------------------ copying-mergesort [45] 100.0% [49] 220(3.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [50] 100.0% ------------------------------------------------------------------ jloop [49] 19.8% loop [47] 80.2% [50] 1110(19.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [52] 80.2% ->flonum [54] 19.8% ------------------------------------------------------------------ approximate9 [48] 100.0% [51] 440(7.7%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [53] 100.0% ------------------------------------------------------------------ for-loop [44] 16.5% loop [19] 17.7% ??? [50] 65.7% [52] 1354(23.7%) 1114(19.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [57] 17.7% ------------------------------------------------------------------ for-loop [9] 12.5% for-loop [13] 12.5% ??? [56] 37.5% loop [51] 37.5% [53] 440(7.7%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [56] 37.5% simplify [55] 37.5% ??? [4] 12.5% ??? [3] 12.5% ------------------------------------------------------------------ loop [35] 49.3% ??? [50] 50.7% [54] 434(7.6%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [58] 50.7% ??? [75] 49.3% ------------------------------------------------------------------ hash-ref! [53] 100.0% [55] 440(7.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug7 [61] 50.0% parse-loop50 [60] 50.0% ------------------------------------------------------------------ hash-ref! [53] 100.0% [56] 440(7.7%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [53] 100.0% ------------------------------------------------------------------ inductor [57] 50.0% eval-prog [52] 50.0% [57] 240(4.2%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [57] 50.0% integer->bigfloat [59] 50.0% ------------------------------------------------------------------ ->flonum [54] 100.0% [58] 220(3.8%) 220(3.8%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------ inductor [57] 100.0% [59] 240(4.2%) 240(4.2%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ------------------------------------------------------------------ parse-loop50 [60] 50.0% simplify [55] 50.0% [60] 220(3.8%) 0(0.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [60] 50.0% parse-app [63] 50.0% ------------------------------------------------------------------ simplify [55] 100.0% [61] 220(3.8%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [62] 100.0% ------------------------------------------------------------------ finalize-iter! [34] 47.4% debug7 [61] 52.6% [62] 418(7.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 ??? [72] 52.6% for-loop [64] 47.4% ------------------------------------------------------------------ parse-loop50 [60] 100.0% [63] 220(3.8%) 220(3.8%) parse-app .../collects/racket/private/kw.rkt:903:2 ------------------------------------------------------------------ ??? [62] 100.0% [64] 198(3.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [65] 100.0% ------------------------------------------------------------------ for-loop [64] 100.0% [65] 198(3.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [66]100.0% ------------------------------------------------------------------ atab-add-altn [65] 100.0% [66] 198(3.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [67] 100.0% ------------------------------------------------------------------ best-and-tied-at-points [66] 49.7% option-on-expr [36] 50.3% [67] 398(7.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [68] 100.0% ------------------------------------------------------------------ errors [67] 100.0% [68] 398(7.0%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [69] 100.0% ------------------------------------------------------------------ for-loop [68] 13.9% loop [35] 86.1% [69] 2872(50.2%) 258(4.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [70] 49.7% real->bigfloat [71] 25.0% ??? [72] 16.3% ------------------------------------------------------------------ ??? [69] 100.0% [70] 1428(25.0%) 398(7.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [73] 72.1% ------------------------------------------------------------------ ??? [69] 100.0% [71] 718(12.5%) 718(12.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ------------------------------------------------------------------ ??? [62] 32.0% ??? [69] 68.0% [72] 688(12.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [75] 68.0% dict? [74] 32.0% ------------------------------------------------------------------ ??? [70] 100.0% [73] 1030(18.0%) 524(9.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [75] 25.8% bfexpt [76] 23.3% ------------------------------------------------------------------ ??? [72] 100.0% [74] 220(3.8%) 220(3.8%) dict? ...ollects/racket/private/generic.rkt:146:11 ------------------------------------------------------------------ ->flonum [54] 22.6% ??? [73] 28.1% ??? [72] 49.4% [75] 948(16.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [77] 77.4% ??? [78] 22.6% ------------------------------------------------------------------ ??? [73] 100.0% [76] 240(4.2%) 240(4.2%) bfexpt ...lib/math/private/bigfloat/mpfr.rkt:819:4 ------------------------------------------------------------------ ??? [75] 100.0% [77] 734(12.8%) 498(8.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [79] 32.2% ------------------------------------------------------------------ ??? [75] 100.0% [78] 214(3.7%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [80] 100.0% ------------------------------------------------------------------ ??? [77] 100.0% [79] 236(4.1%) 236(4.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------ ??? [78] 100.0% [80] 214(3.7%) 214(3.7%) ??? ...lects/racket/contract/private/orc.rkt:73:14 ------------------------------------------------------------------