Profiling results ----------------- Total cpu time observed: 8480ms (out of 8696ms) Number of samples taken: 39 (once every 217ms) ================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ================================================================== ??? [7] 100.0% [1] 8258(97.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ------------------------------------------------------------------ hash-ref! [69] 100.0% [2] 220(2.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [6] 100.0% ------------------------------------------------------------------ hash-ref! [69] 100.0% [3] 220(2.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [5] 100.0% ------------------------------------------------------------------ profile-thunk14 [1] 100.0% [4] 8258(97.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ------------------------------------------------------------------ ??? [3] 100.0% [5] 220(2.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [69] 100.0% ------------------------------------------------------------------ ??? [2] 100.0% [6] 220(2.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [69] 100.0% ------------------------------------------------------------------ for-loop [29] 3.3% run [4] 47.1% [7] 8480(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.1% run-improve58 [8] 34.8% loop [9] 14.8% simplify [10] 3.3% ------------------------------------------------------------------ ??? [7] 100.0% [8] 5964(70.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [11] 79.0% for-loop [12] 21.0% ------------------------------------------------------------------ ??? [7] 100.0% [9] 2516(29.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [17] 63.6% loop [13] 36.4% ------------------------------------------------------------------ ??? [7] 100.0% [10] 828(9.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [14] 51.0% iterate-egraph!5 [19] 24.6% simplify-expr [15] 24.4% ------------------------------------------------------------------ run-improve58 [8] 100.0% [11] 4714(55.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 100.0% ------------------------------------------------------------------ run-improve58 [8] 100.0% [12] 1250(14.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [18] 100.0% ------------------------------------------------------------------ loop [9] 100.0% [13] 916(10.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 76.2% make-exacts* [17] 23.8% ------------------------------------------------------------------ simplify [10] 100.0% [14] 422(5.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [19] 100.0% ------------------------------------------------------------------ simplify [10] 100.0% [15] 202(2.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [19] 100.0% ------------------------------------------------------------------ get-final-combination [11] 100.0% [16] 4714(55.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ------------------------------------------------------------------ loop [13] 12.0% loop [9] 88.0% [17] 1818(21.4%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [28] 50.9% map [22] 49.1% ------------------------------------------------------------------ for-loop [12] 100.0% [18] 1250(14.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [24] 66.2% gen-series! [25] 17.6% finalize-iter! [26] 16.2% ------------------------------------------------------------------ simplify-expr [15] 24.4% simplify [10] 24.6% for-loop [14] 51.0% [19] 828(9.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [23] 100.0% ------------------------------------------------------------------ loop [13] 100.0% [20] 698(8.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [22] 100.0% ------------------------------------------------------------------ split-table [16] 100.0% [21] 4714(55.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [27] 95.7% exprs-to-branch-on [33] 4.3% ------------------------------------------------------------------ loop [20] 43.9% make-exacts* [17] 56.1% [22] 1590(18.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [28] 100.0% ------------------------------------------------------------------ iterate-egraph!5 [19] 100.0% [23] 828(9.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [30] 51.4% loop [31] 48.6% ------------------------------------------------------------------ run-iter! [18] 100.0% [24] 828(9.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [29] 100.0% ------------------------------------------------------------------ run-iter! [18] 100.0% [25] 220(2.6%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [32] 100.0% ------------------------------------------------------------------ run-iter! [18] 100.0% [26] 202(2.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [34] 100.0% ------------------------------------------------------------------ infer-splitpoints4 [21] 100.0% [27] 4512(53.2%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [35] 90.2% pick-errors [37] 9.8% ------------------------------------------------------------------ make-exacts* [17] 0.1% map [22] 0.4% loop [28] 99.5% [28] 2516(29.7%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [28] 99.5% ??? [36] 0.5% ------------------------------------------------------------------ simplify! [24] 100.0% [29] 828(9.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ------------------------------------------------------------------ for-loop [30] 50.0% one-iter [23] 50.0% [30] 426(5.0%) 204(2.4%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [30] 50.0% match-e [39] 26.1% ------------------------------------------------------------------ one-iter [23] 100.0% [31] 402(4.7%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [38] 100.0% ------------------------------------------------------------------ gen-series! [25] 100.0% [32] 220(2.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [40] 100.0% ------------------------------------------------------------------ infer-splitpoints4 [21] 100.0% [33] 202(2.4%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [41] 100.0% ------------------------------------------------------------------ finalize-iter! [26] 100.0% [34] 202(2.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [42] 100.0% ------------------------------------------------------------------ option-on-expr [27] 100.0% [35] 4070(48.0%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [43] 100.0% ------------------------------------------------------------------ loop [28] 100.0% [36] 2516(29.7%) 910(10.7%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 real->bigfloat [44] 37.3% ??? [46] 17.4% ??? [48] 9.1% ------------------------------------------------------------------ option-on-expr [27] 100.0% [37] 442(5.2%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [45] 100.0% ------------------------------------------------------------------ loop [31] 100.0% [38] 402(4.7%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [47] 100.0% ------------------------------------------------------------------ for-loop [30] 100.0% [39] 222(2.6%) 222(2.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ------------------------------------------------------------------ for-loop [32] 100.0% [40] 220(2.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [49] 100.0% ------------------------------------------------------------------ exprs-to-branch-on [33] 100.0% [41] 202(2.4%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [50] 100.0% ------------------------------------------------------------------ ??? [34] 100.0% [42] 202(2.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [51] 100.0% ------------------------------------------------------------------ sort-context-on-expr [35] 100.0% [43] 4070(48.0%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [52] 68.6% loop [59] 31.4% ------------------------------------------------------------------ ??? [36] 100.0% [44] 938(11.1%) 700(8.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [54] 25.4% ------------------------------------------------------------------ pick-errors [37] 100.0% [45] 442(5.2%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [68] 100.0% ------------------------------------------------------------------ ??? [36] 100.0% [46] 438(5.2%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [53] 100.0% ------------------------------------------------------------------ apply-match [38] 100.0% [47] 402(4.7%) 202(2.4%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 for-loop [58] 49.8% ------------------------------------------------------------------ ??? [36] 100.0% [48] 230(2.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [61] 100.0% ------------------------------------------------------------------ taylor-alt [40] 100.0% [49] 220(2.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [55] 100.0% ------------------------------------------------------------------ critical-subexpression [41] 100.0% [50] 202(2.4%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 for-loop [56] 100.0% ------------------------------------------------------------------ for-loop [42] 100.0% [51] 202(2.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [57]100.0% ------------------------------------------------------------------ sort [43] 36.9% copying-mergesort [52] 63.1% [52] 2794(32.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [52] 63.1% loop [59] 25.4% jloop [60] 11.6% ------------------------------------------------------------------ ??? [46] 100.0% [53] 438(5.2%) 218(2.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [61] 50.2% ------------------------------------------------------------------ real->bigfloat [44] 100.0% [54] 238(2.8%) 238(2.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------ location-do [55] 50.0% for-loop [49] 50.0% [55] 220(2.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [55] 50.0% approximate9 [62] 50.0% ------------------------------------------------------------------ localize-error [50] 100.0% [56] 202(2.4%) 0(0.0%) for-loop ...ock/herbie/src/core/localize.rkt:49:34 ??? [63] 100.0% ------------------------------------------------------------------ atab-add-altn [51] 100.0% [57] 202(2.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [64] 100.0% ------------------------------------------------------------------ merge-egraph-nodes! [47] 100.0% [58] 200(2.4%) 200(2.4%) for-loop ...tlock/herbie/src/core/egraph.rkt:232:6 ------------------------------------------------------------------ sort [43] 45.9% copying-mergesort [52] 54.1% [59] 2778(32.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [65] 100.0% ------------------------------------------------------------------ copying-mergesort [52] 100.0% [60] 1292(15.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [65] 100.0% ------------------------------------------------------------------ ??? [53] 48.9% ??? [48] 51.1% [61] 450(5.3%) 230(2.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [66] 48.9% ------------------------------------------------------------------ location-do [55] 100.0% [62] 220(2.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [67] 100.0% ------------------------------------------------------------------ for-loop [56] 100.0% [63] 202(2.4%) 202(2.4%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ------------------------------------------------------------------ best-and-tied-at-points [57]100.0% [64] 202(2.4%) 202(2.4%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ------------------------------------------------------------------ jloop [60] 31.7% loop [59] 68.3% [65] 4070(48.0%) 442(5.2%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [68] 83.8% ->flonum [70] 5.4% ------------------------------------------------------------------ ??? [61] 100.0% [66] 220(2.6%) 220(2.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 ------------------------------------------------------------------ approximate9 [62] 100.0% [67] 220(2.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [69] 100.0% ------------------------------------------------------------------ for-loop [45] 11.5% ??? [65] 88.5% [68] 3852(45.4%) 3610(42.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [71] 6.3% ------------------------------------------------------------------ for-loop [6] 20.0% for-loop [5] 20.0% ??? [73] 20.0% ??? [74] 20.0% loop [67] 20.0% [69] 220(2.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [74] 20.0% ??? [73] 20.0% ??? [3] 20.0% ??? [2] 20.0% ??? [72] 20.0% ------------------------------------------------------------------ ??? [65] 100.0% [70] 218(2.6%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [75] 100.0% ------------------------------------------------------------------ eval-prog [68] 100.0% [71] 242(2.9%) 242(2.9%) go .../collects/racket/private/qq-and-or.rkt:50:20 ------------------------------------------------------------------ hash-ref! [69] 100.0% [72] 220(2.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [76] 100.0% ------------------------------------------------------------------ hash-ref! [69] 100.0% [73] 220(2.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [69] 100.0% ------------------------------------------------------------------ hash-ref! [69] 100.0% [74] 220(2.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [69] 100.0% ------------------------------------------------------------------ ->flonum [70] 100.0% [75] 218(2.6%) 218(2.6%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------ ??? [72] 100.0% [76] 220(2.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 simplify [77] 100.0% ------------------------------------------------------------------ for-loop [76] 100.0% [77] 220(2.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [78] 100.0% ------------------------------------------------------------------ simplify [77] 100.0% [78] 220(2.6%) 220(2.6%) f37 ...t/collects/racket/match/compiler.rkt:499:40 ------------------------------------------------------------------