Profiling results ----------------- Total cpu time observed: 8946ms (out of 9168ms) Number of samples taken: 40 (once every 224ms) ================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ================================================================== ??? [28] 100.0% [1] 8946(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ------------------------------------------------------------------ ??? [28] 100.0% [2] 4512(50.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [8] 72.0% for-loop [9] 28.0% ------------------------------------------------------------------ copying-mergesort [42] 100.0% [3] 856(9.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [55] 100.0% ------------------------------------------------------------------ ??? [28] 100.0% [4] 624(7.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [11] 64.7% for-loop [12] 35.3% ------------------------------------------------------------------ match-e [37] 100.0% [5] 422(4.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [10] 100.0% ------------------------------------------------------------------ hash-ref! [61] 100.0% [6] 200(2.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [13] 100.0% ------------------------------------------------------------------ profile-thunk14 [1] 100.0% [7] 8946(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [28] 100.0% ------------------------------------------------------------------ run-improve58 [2] 100.0% [8] 3248(36.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 100.0% ------------------------------------------------------------------ run-improve58 [2] 100.0% [9] 1264(14.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ------------------------------------------------------------------ for-loop [5] 100.0% [10] 422(4.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [37] 100.0% ------------------------------------------------------------------ simplify [4] 100.0% [11] 404(4.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 100.0% ------------------------------------------------------------------ simplify [4] 100.0% [12] 220(2.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% ------------------------------------------------------------------ ??? [6] 100.0% [13] 200(2.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [61] 100.0% ------------------------------------------------------------------ get-final-combination [8] 100.0% [14] 3248(36.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [17] 100.0% ------------------------------------------------------------------ for-loop [9] 100.0% [15] 1264(14.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [18] 49.4% gen-series! [20] 33.2% finalize-iter! [21] 17.4% ------------------------------------------------------------------ for-loop [12] 35.3% simplify-expr [11] 64.7% [16] 624(7.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 100.0% ------------------------------------------------------------------ split-table [14] 100.0% [17] 3248(36.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [22] 100.0% ------------------------------------------------------------------ run-iter! [15] 100.0% [18] 624(7.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [23] 100.0% ------------------------------------------------------------------ iterate-egraph!5 [16] 100.0% [19] 624(7.0%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [24] 67.6% loop [27] 32.4% ------------------------------------------------------------------ run-iter! [15] 100.0% [20] 420(4.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [25] 100.0% ------------------------------------------------------------------ run-iter! [15] 100.0% [21] 220(2.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% ------------------------------------------------------------------ infer-splitpoints4 [17] 100.0% [22] 3248(36.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [29] 79.6% err-lsts->split-indices [30] 13.6% pick-errors [32] 6.8% ------------------------------------------------------------------ simplify! [18] 100.0% [23] 624(7.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [28] 100.0% ------------------------------------------------------------------ for-loop [24] 50.0% one-iter [19] 50.0% [24] 422(4.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [24] 50.0% match-e [37] 50.0% ------------------------------------------------------------------ gen-series! [20] 100.0% [25] 420(4.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [31] 100.0% ------------------------------------------------------------------ finalize-iter! [21] 100.0% [26] 220(2.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [33] 100.0% ------------------------------------------------------------------ one-iter [19] 100.0% [27] 202(2.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [34] 100.0% ------------------------------------------------------------------ for-loop [23] 2.3% run [7] 48.8% [28] 8946(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.8% loop [35] 24.8% run-improve58 [2] 24.1% simplify [4] 2.3% ------------------------------------------------------------------ option-on-expr [22] 100.0% [29] 2584(28.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [36] 100.0% ------------------------------------------------------------------ option-on-expr [22] 100.0% [30] 442(4.9%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [38] 100.0% ------------------------------------------------------------------ for-loop [25] 100.0% [31] 420(4.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [39] 100.0% ------------------------------------------------------------------ option-on-expr [22] 100.0% [32] 222(2.5%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [40] 100.0% ------------------------------------------------------------------ ??? [26] 100.0% [33] 220(2.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [41] 100.0% ------------------------------------------------------------------ loop [27] 100.0% [34] 202(2.3%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [37] 100.0% ------------------------------------------------------------------ ??? [28] 100.0% [35] 4434(49.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [48] 59.7% loop [43] 40.3% ------------------------------------------------------------------ sort-context-on-expr [29] 100.0% [36] 2584(28.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [42] 75.5% loop [49] 24.5% ------------------------------------------------------------------ apply-match [34] 16.2% for-loop [10] 33.8% for-loop [24] 50.0% [37] 624(7.0%) 220(2.5%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [5] 33.8% constant? [47] 32.4% loop [58] 16.2% ------------------------------------------------------------------ err-lsts->split-indices [30]100.0% [38] 442(4.9%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [44] 100.0% ------------------------------------------------------------------ taylor-alt [31] 100.0% [39] 420(4.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [45] 100.0% ------------------------------------------------------------------ pick-errors [32] 100.0% [40] 222(2.5%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [59] 100.0% ------------------------------------------------------------------ for-loop [33] 100.0% [41] 220(2.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 override-at-pnts [46] 100.0% ------------------------------------------------------------------ sort [36] 46.6% copying-mergesort [42] 53.4% [42] 1952(21.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [42] 53.4% loop [49] 35.6% jloop [3] 11.0% ------------------------------------------------------------------ loop [35] 100.0% [43] 1788(20.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [50] 73.9% make-exacts* [48] 26.1% ------------------------------------------------------------------ add-splitpoint [38] 100.0% [44] 442(4.9%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [51] 100.0% ------------------------------------------------------------------ location-do [45] 26.2% for-loop [39] 73.8% [45] 420(4.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [52] 73.8% location-do [45] 26.2% ------------------------------------------------------------------ atab-add-altn [41] 100.0% [46] 220(2.5%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [53] 100.0% ------------------------------------------------------------------ match-e [37] 100.0% [47] 202(2.3%) 202(2.3%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ------------------------------------------------------------------ loop [43] 15.0% loop [35] 85.0% [48] 3112(34.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [54] 54.4% loop [58] 45.6% ------------------------------------------------------------------ sort [36] 36.6% copying-mergesort [42] 63.4% [49] 1728(19.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [55] 100.0% ------------------------------------------------------------------ loop [43] 100.0% [50] 1322(14.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [54] 100.0% ------------------------------------------------------------------ for-loop [44] 100.0% [51] 442(4.9%) 442(4.9%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ------------------------------------------------------------------ location-do [45] 100.0% [52] 420(4.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [56] 100.0% ------------------------------------------------------------------ override-at-pnts [46] 100.0% [53] 220(2.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [57] 100.0% ------------------------------------------------------------------ f37 [75] 6.8% loop [50] 40.9% make-exacts* [48] 52.3% [54] 3236(36.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [58] 93.2% f37 [75] 4.5% parse-loop50 [71] 2.3% ------------------------------------------------------------------ jloop [3] 33.1% loop [49] 66.9% [55] 2584(28.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [59] 100.0% ------------------------------------------------------------------ approximate9 [52] 100.0% [56] 420(4.7%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [61] 100.0% ------------------------------------------------------------------ errors [53] 100.0% [57] 220(2.5%) 220(2.5%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ------------------------------------------------------------------ make-exacts* [48] 0.0% map [54] 0.5% match-e [37] 4.4% loop [58] 95.1% [58] 4636(51.8%) 202(2.3%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [58] 95.1% ??? [60] 0.6% ->flonum [62] 0.0% ------------------------------------------------------------------ for-loop [40] 7.9% ??? [55] 92.1% [59] 2806(31.4%) 2362(26.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [63] 7.9% hash-ref! [61] 7.9% ------------------------------------------------------------------ loop [58] 100.0% [60] 3938(44.0%) 472(5.3%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [64] 57.8% real->bigfloat [65] 24.6% ??? [69] 5.6% ------------------------------------------------------------------ for-loop [13] 7.8% ??? [67] 19.2% ??? [68] 19.2% loop [56] 19.2% eval-prog [59] 34.6% [61] 642(7.2%) 222(2.5%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [68] 19.2% ??? [67] 19.2% simplify [66] 19.2% ??? [6] 7.8% ------------------------------------------------------------------ loop [58] 100.0% [62] 496(5.5%) 496(5.5%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ------------------------------------------------------------------ eval-prog [59] 100.0% [63] 222(2.5%) 222(2.5%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ------------------------------------------------------------------ ??? [60] 100.0% [64] 2276(25.4%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [70] 100.0% ------------------------------------------------------------------ ??? [60] 100.0% [65] 970(10.8%) 970(10.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ------------------------------------------------------------------ hash-ref! [61] 100.0% [66] 420(4.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [75] 52.4% parse-loop50 [71] 47.6% ------------------------------------------------------------------ hash-ref! [61] 100.0% [67] 420(4.7%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [61] 100.0% ------------------------------------------------------------------ hash-ref! [61] 100.0% [68] 420(4.7%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [61] 100.0% ------------------------------------------------------------------ ??? [60] 100.0% [69] 220(2.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [73] 100.0% ------------------------------------------------------------------ ??? [64] 100.0% [70] 2276(25.4%) 1362(15.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfatan2 [72] 20.1% bflog [74] 10.4% ??? [73] 9.7% ------------------------------------------------------------------ simplify [66] 7.9% parse-loop50 [71] 39.7% map [54] 52.4% [71] 420(4.7%) 200(2.2%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 f37 [75] 52.4% parse-loop50 [71] 39.7% ------------------------------------------------------------------ ??? [70] 100.0% [72] 458(5.1%) 458(5.1%) bfatan2 ...ib/math/private/bigfloat/mpfr.rkt:819:4 ------------------------------------------------------------------ ??? [70] 50.0% ??? [69] 50.0% [73] 440(4.9%) 220(2.5%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [76] 50.0% ------------------------------------------------------------------ ??? [70] 100.0% [74] 236(2.6%) 236(2.6%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ------------------------------------------------------------------ parse-loop50 [71] 25.0% simplify [66] 25.0% map [54] 50.0% [75] 220(2.5%) 220(2.5%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [54] 75.0% ------------------------------------------------------------------ ??? [73] 100.0% [76] 220(2.5%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [77] 100.0% ------------------------------------------------------------------ ??? [76] 100.0% [77] 220(2.5%) 220(2.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------