Profiling results ----------------- Total cpu time observed: 13642ms (out of 13912ms) Number of samples taken: 61 (once every 224ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [20] 100.0% [1] 13642(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [2] 3320(24.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [5] 54.0% get-final-combination [6] 46.0% ---------------------------------------------------------------------- hash-ref! [48] 100.0% [3] 402(2.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [7] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 13642(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [20] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [5] 1794(13.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [8] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 1526(11.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [9] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [7] 402(2.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 ??? [10] 100.0% ---------------------------------------------------------------------- for-loop [5] 100.0% [8] 1794(13.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [12] 55.5% gen-series! [13] 22.4% finalize-iter! [14] 11.1% localize-error [29] 10.9% ---------------------------------------------------------------------- get-final-combination [6] 100.0% [9] 1526(11.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [11] 100.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [10] 402(2.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [48] 100.0% ---------------------------------------------------------------------- split-table [9] 100.0% [11] 1526(11.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [15] 86.9% exprs-to-branch-on [19] 13.1% ---------------------------------------------------------------------- run-iter! [8] 100.0% [12] 996(7.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [16] 100.0% ---------------------------------------------------------------------- run-iter! [8] 100.0% [13] 402(2.9%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [17] 100.0% ---------------------------------------------------------------------- run-iter! [8] 100.0% [14] 200(1.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [18] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [11] 100.0% [15] 1326(9.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [21] 100.0% ---------------------------------------------------------------------- simplify! [12] 100.0% [16] 996(7.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [20] 100.0% ---------------------------------------------------------------------- gen-series! [13] 100.0% [17] 402(2.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [22] 100.0% ---------------------------------------------------------------------- finalize-iter! [14] 100.0% [18] 200(1.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [23] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [11] 100.0% [19] 200(1.5%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [24] 100.0% ---------------------------------------------------------------------- for-loop [16] 2.4% run [4] 48.8% [20] 13642(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.8% loop [25] 37.8% run-improve58 [2] 11.0% simplify [27] 2.4% ---------------------------------------------------------------------- option-on-expr [15] 100.0% [21] 1326(9.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [26] 100.0% ---------------------------------------------------------------------- for-loop [17] 100.0% [22] 402(2.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [28] 100.0% ---------------------------------------------------------------------- ??? [18] 100.0% [23] 200(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [30] 100.0% ---------------------------------------------------------------------- exprs-to-branch-on [19] 100.0% [24] 200(1.5%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [29] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [25] 10322(75.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [31] 42.8% make-exacts* [37] 37.4% loop [38] 19.8% ---------------------------------------------------------------------- sort-context-on-expr [21] 100.0% [26] 1326(9.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [32] 67.0% loop [40] 33.0% ---------------------------------------------------------------------- ??? [20] 100.0% [27] 996(7.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [34] 40.0% iterate-egraph!5 [39] 39.8% for-loop [35] 20.3% ---------------------------------------------------------------------- taylor-alt [22] 100.0% [28] 402(2.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [33] 100.0% ---------------------------------------------------------------------- run-iter! [8] 49.5% critical-subexpression [24] 50.5% [29] 396(2.9%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [48] 100.0% ---------------------------------------------------------------------- for-loop [23] 100.0% [30] 200(1.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [36] 100.0% ---------------------------------------------------------------------- loop [25] 100.0% [31] 4416(32.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [38] 63.3% make-exacts* [37] 36.7% ---------------------------------------------------------------------- copying-mergesort [32] 37.5% sort [26] 62.5% [32] 888(6.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [40] 50.0% copying-mergesort [32] 37.5% jloop [41] 12.5% ---------------------------------------------------------------------- location-do [33] 50.0% for-loop [28] 50.0% [33] 402(2.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [33] 50.0% approximate9 [42] 50.0% ---------------------------------------------------------------------- simplify [27] 100.0% [34] 398(2.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [39] 100.0% ---------------------------------------------------------------------- simplify [27] 100.0% [35] 202(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [39] 100.0% ---------------------------------------------------------------------- atab-add-altn [30] 100.0% [36] 200(1.5%) 200(1.5%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 ---------------------------------------------------------------------- loop [31] 29.6% loop [25] 70.4% [37] 5480(40.2%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [61] 56.9% map [57] 43.1% ---------------------------------------------------------------------- loop [25] 42.3% loop [31] 57.7% [38] 4842(35.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [57] 100.0% ---------------------------------------------------------------------- for-loop [35] 20.3% simplify [27] 39.8% simplify-expr [34] 40.0% [39] 996(7.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [44] 79.9% *simplify-rules* [46] 20.1% ---------------------------------------------------------------------- sort [26] 49.7% copying-mergesort [32] 50.3% [40] 882(6.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [43] 100.0% ---------------------------------------------------------------------- copying-mergesort [32] 100.0% [41] 444(3.3%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [43] 100.0% ---------------------------------------------------------------------- location-do [33] 100.0% [42] 402(2.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [45] 100.0% ---------------------------------------------------------------------- jloop [41] 33.5% loop [40] 66.5% [43] 1326(9.7%) 202(1.5%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [47] 84.8% ---------------------------------------------------------------------- iterate-egraph!5 [39] 100.0% [44] 796(5.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [49] 100.0% ---------------------------------------------------------------------- approximate9 [42] 100.0% [45] 402(2.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [48] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [39] 100.0% [46] 200(1.5%) 0(0.0%) *simplify-rules* ...bie/src/syntax/rules.rkt:300:0 for-loop [50] 100.0% ---------------------------------------------------------------------- ??? [43] 100.0% [47] 1124(8.2%) 1124(8.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ---------------------------------------------------------------------- ??? [10] 16.8% ??? [52] 16.8% loop [45] 16.8% ??? [65] 18.4% localize-error [29] 31.2% [48] 798(5.8%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 f6 [54] 31.2% ??? [52] 16.8% ??? [3] 16.8% simplify [53] 16.8% parse-loop12 [58] 12.3% ??? [56] 6.1% ---------------------------------------------------------------------- for-loop [49] 50.0% one-iter [44] 50.0% [49] 796(5.8%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [49] 50.0% match-e [51] 50.0% ---------------------------------------------------------------------- *simplify-rules* [46] 100.0% [50] 200(1.5%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ormap [55] 100.0% ---------------------------------------------------------------------- for-loop [49] 100.0% [51] 796(5.8%) 600(4.4%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [60] 24.6% ---------------------------------------------------------------------- hash-ref! [48] 100.0% [52] 402(2.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [48] 100.0% ---------------------------------------------------------------------- hash-ref! [48] 100.0% [53] 402(2.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [58] 100.0% ---------------------------------------------------------------------- hash-ref! [48] 100.0% [54] 396(2.9%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [57] 100.0% ---------------------------------------------------------------------- for-loop [50] 100.0% [55] 200(1.5%) 0(0.0%) ormap ...et/collects/racket/private/map.rkt:106:13 ??? [59] 100.0% ---------------------------------------------------------------------- hash-ref! [48] 100.0% [56] 196(1.4%) 0(0.0%) ??? ...ztatlock/herbie/src/core/localize.rkt:22:13 loop [61] 100.0% ---------------------------------------------------------------------- f6 [54] 5.2% make-exacts* [37] 31.1% loop [38] 63.7% [57] 7600(55.7%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [61] 94.5% ->flonum [64] 2.9% ??? [65] 2.6% ---------------------------------------------------------------------- loop [61] 6.8% parse-loop12 [58] 20.3% hash-ref! [48] 32.8% simplify [53] 40.2% [58] 598(4.4%) 402(2.9%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [61] 39.5% parse-loop12 [58] 20.3% ---------------------------------------------------------------------- ormap [55] 100.0% [59] 200(1.5%) 200(1.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- match-e [51] 100.0% [60] 196(1.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [62] 100.0% ---------------------------------------------------------------------- ??? [56] 0.0% make-exacts* [37] 0.2% parse-loop12 [58] 2.0% map [57] 2.7% loop [61] 95.0% [61] 10698(78.4%) 214(1.6%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [61] 95.0% ??? [63] 2.6% parse-loop12 [58] 1.9% ??? [69] 0.2% ??? [65] 0.1% ??? [72] 0.0% ->flonum [64] 0.0% ---------------------------------------------------------------------- list-cartesian-product [62] 50.0% for-loop [60] 50.0% [62] 196(1.4%) 196(1.4%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [62] 50.0% ---------------------------------------------------------------------- loop [61] 100.0% [63] 9444(69.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [66] 72.1% real->bigfloat [67] 20.6% ??? [72] 4.8% ...e/case-arrow.rkt:150:50 [68] 2.5% ---------------------------------------------------------------------- map [57] 33.4% loop [61] 66.6% [64] 664(4.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [74] 100.0% ---------------------------------------------------------------------- map [57] 33.3% loop [61] 66.7% [65] 196(1.4%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [48] 100.0% ---------------------------------------------------------------------- ??? [63] 100.0% [66] 6812(49.9%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [69] 96.7% ...higher-order.rkt:373:33 [70] 3.3% ---------------------------------------------------------------------- ??? [63] 100.0% [67] 1942(14.2%) 1942(14.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ??? [63] 100.0% [68] 232(1.7%) 232(1.7%) ...e/case-arrow.rkt:150:50 (unknown source) ---------------------------------------------------------------------- loop [61] 2.9% ??? [66] 97.1% [69] 6786(49.7%) 4252(31.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqr [71] 26.8% ??? [74] 7.1% bfsub [73] 3.5% ---------------------------------------------------------------------- ??? [66] 100.0% [70] 226(1.7%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [72] 100.0% ---------------------------------------------------------------------- ??? [69] 100.0% [71] 1816(13.3%) 1144(8.4%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [75] 37.0% ---------------------------------------------------------------------- loop [61] 22.3% ...higher-order.rkt:373:33 [70] 25.7% ??? [63] 52.0% [72] 880(6.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [74] 100.0% ---------------------------------------------------------------------- ??? [69] 100.0% [73] 238(1.7%) 238(1.7%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ??? [69] 23.7% ->flonum [64] 32.8% ??? [72] 43.5% [74] 2024(14.8%) 1102(8.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [76] 45.6% ---------------------------------------------------------------------- bfsqr [71] 100.0% [75] 672(4.9%) 672(4.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [74] 100.0% [76] 922(6.8%) 922(6.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 ----------------------------------------------------------------------