Profiling results ----------------- Total cpu time observed: 30216ms (out of 30516ms) Number of samples taken: 130 (once every 232ms) (Hiding functions with self<1.0% and local<2.0%: 2 of 70 hidden) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== ??? [6] 100.0% [1] 29132(96.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% -------------------------------------------------------------------- copying-mergesort [39] 100.0% [2] 652(2.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [45] 100.0% -------------------------------------------------------------------- hash-ref! [48] 100.0% [3] 218(0.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [5] 100.0% -------------------------------------------------------------------- profile-thunk14 [1] 98.6% [4] 29554(97.8%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [6] 100.0% -------------------------------------------------------------------- simplify [3] 33.1% hash-ref! [48] 66.9% [5] 658(2.2%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [23] 100.0% -------------------------------------------------------------------- for-loop [25] 0.4% run [4] 49.4% [6] 30216(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.0% loop [9] 46.0% run-improve58 [7] 5.5% simplify [8] 0.4% -------------------------------------------------------------------- ??? [6] 100.0% [7] 3242(10.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [10] 53.9% for-loop [11] 25.8% loop [9] 20.2% -------------------------------------------------------------------- ??? [6] 100.0% [8] 402(1.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [12] 100.0% -------------------------------------------------------------------- run-improve58 [7] 2.4% ??? [6] 97.6% [9] 27630(91.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [17] 55.4% loop [13] 43.1% loop [18] 1.5% -------------------------------------------------------------------- run-improve58 [7] 100.0% [10] 1748(5.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 100.0% -------------------------------------------------------------------- run-improve58 [7] 100.0% [11] 838(2.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% -------------------------------------------------------------------- simplify [8] 100.0% [12] 402(1.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 100.0% -------------------------------------------------------------------- loop [9] 100.0% [13] 11914(39.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [18] 58.2% make-exacts* [17] 33.2% eval-prog [47] 8.6% -------------------------------------------------------------------- get-final-combination [10] 100.0% [14] 1748(5.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [19] 100.0% -------------------------------------------------------------------- for-loop [11] 100.0% [15] 838(2.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [21] 48.0% gen-series! [22] 26.0% localize-error [36] 26.0% -------------------------------------------------------------------- simplify-expr [12] 100.0% [16] 402(1.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [20] 100.0% -------------------------------------------------------------------- loop [13] 20.6% loop [9] 79.4% [17] 19256(63.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [53] 50.2% map [23] 48.8% eval-prog [47] 1.0% -------------------------------------------------------------------- loop [9] 5.7% loop [13] 94.3% [18] 7350(24.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [23] 100.0% -------------------------------------------------------------------- split-table [14] 100.0% [19] 1748(5.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [24] 87.3% exprs-to-branch-on [26] 12.7% -------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [20] 402(1.3%) 202(0.7%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [28] 49.8% -------------------------------------------------------------------- run-iter! [15] 100.0% [21] 402(1.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [25] 100.0% -------------------------------------------------------------------- run-iter! [15] 100.0% [22] 218(0.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% -------------------------------------------------------------------- f6 [5] 3.8% loop [18] 42.3% make-exacts* [17] 54.0% [23] 17396(57.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [53] 96.3% ??? [30] 1.3% ??? [56] 1.2% -------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [24] 1526(5.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [29] 85.2% err-lsts->split-indices [31] 14.8% -------------------------------------------------------------------- simplify! [21] 100.0% [25] 402(1.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [6] 100.0% -------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [26] 222(0.7%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [32] 100.0% -------------------------------------------------------------------- gen-series! [22] 100.0% [27] 218(0.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [33] 100.0% -------------------------------------------------------------------- for-loop [28] 50.0% one-iter [20] 50.0% [28] 200(0.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [28] 50.0% match-e [34] 50.0% -------------------------------------------------------------------- option-on-expr [24] 100.0% [29] 1300(4.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [35] 100.0% -------------------------------------------------------------------- map [23] 41.6% loop [53] 58.4% [30] 440(1.5%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [48] 100.0% -------------------------------------------------------------------- option-on-expr [24] 100.0% [31] 226(0.7%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [37] 100.0% -------------------------------------------------------------------- exprs-to-branch-on [26] 100.0% [32] 222(0.7%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [36] 100.0% -------------------------------------------------------------------- for-loop [27] 100.0% [33] 218(0.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [38] 100.0% -------------------------------------------------------------------- for-loop [28] 100.0% [34] 200(0.7%) 200(0.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 -------------------------------------------------------------------- sort-context-on-expr [29] 100.0% [35] 1300(4.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [39] 66.3% loop [42] 33.7% -------------------------------------------------------------------- run-iter! [15] 49.5% critical-subexpression [32] 50.5% [36] 440(1.5%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [48] 100.0% -------------------------------------------------------------------- err-lsts->split-indices [31]100.0% [37] 226(0.7%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [40] 100.0% -------------------------------------------------------------------- taylor-alt [33] 100.0% [38] 218(0.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [41] 100.0% -------------------------------------------------------------------- sort [35] 31.1% copying-mergesort [39] 68.9% [39] 862(2.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [39] 68.9% jloop [2] 18.9% loop [42] 12.2% -------------------------------------------------------------------- add-splitpoint [37] 100.0% [40] 226(0.7%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [43] 100.0% -------------------------------------------------------------------- for-loop [38] 100.0% [41] 218(0.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [44] 100.0% -------------------------------------------------------------------- copying-mergesort [39] 32.4% sort [35] 67.6% [42] 648(2.1%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [45] 100.0% -------------------------------------------------------------------- for-loop [40] 100.0% [43] 226(0.7%) 226(0.7%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 -------------------------------------------------------------------- location-do [41] 100.0% [44] 218(0.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [46] 100.0% -------------------------------------------------------------------- loop [42] 49.8% jloop [2] 50.2% [45] 1300(4.3%) 228(0.8%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [47] 65.5% ??? [56] 16.9% -------------------------------------------------------------------- approximate9 [44] 100.0% [46] 218(0.7%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [48] 100.0% -------------------------------------------------------------------- make-exacts* [17] 9.5% ??? [45] 41.1% loop [13] 49.4% [47] 2072(6.9%) 852(2.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [48] 58.9% -------------------------------------------------------------------- ??? [52] 5.8% loop [46] 5.8% localize-error [36] 6.8% ??? [30] 16.6% loop [53] 18.6% eval-prog [47] 46.4% [48] 1878(6.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [49] 46.4% ??? [51] 18.6% f6 [5] 13.6% parse-loop12 [50] 9.8% ??? [52] 5.8% simplify [3] 5.8% -------------------------------------------------------------------- hash-ref! [48] 100.0% [49] 1220(4.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [54] 52.0% sig+exp->bigfloat [55] 48.0% -------------------------------------------------------------------- hash-ref! [48] 100.0% [50] 440(1.5%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [53] 100.0% -------------------------------------------------------------------- hash-ref! [48] 100.0% [51] 436(1.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [53] 100.0% -------------------------------------------------------------------- hash-ref! [48] 100.0% [52] 218(0.7%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [48] 100.0% -------------------------------------------------------------------- parse-loop12 [50] 0.1% make-exacts* [17] 0.3% ??? [51] 1.6% map [23] 2.2% loop [53] 95.8% [53] 27078(89.6%) 238(0.8%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [53] 95.8% ??? [56] 2.4% hash-ref! [48] 1.6% ??? [30] 0.1% ??? [63] 0.1% -------------------------------------------------------------------- bigfloat-hash [49] 100.0% [54] 634(2.1%) 634(2.1%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 -------------------------------------------------------------------- bigfloat-hash [49] 100.0% [55] 586(1.9%) 586(1.9%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 -------------------------------------------------------------------- map [23] 0.8% ??? [45] 0.8% loop [53] 98.4% [56] 26392(87.3%) 236(0.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [57] 91.8% real->bigfloat [58] 4.8% ??? [59] 0.9% ->flonum [60] 0.8% -------------------------------------------------------------------- ??? [56] 100.0% [57] 24220(80.2%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [63] 95.0% bf* [61] 5.0% -------------------------------------------------------------------- ??? [56] 100.0% [58] 1270(4.2%) 1068(3.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [67] 15.9% -------------------------------------------------------------------- ??? [56] 100.0% [59] 238(0.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [66] 100.0% -------------------------------------------------------------------- ??? [56] 100.0% [60] 220(0.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [62] 100.0% -------------------------------------------------------------------- ??? [57] 100.0% [61] 1202(4.0%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [63] 100.0% -------------------------------------------------------------------- ->flonum [60] 100.0% [62] 220(0.7%) 220(0.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 -------------------------------------------------------------------- loop [53] 1.8% bf* [61] 4.9% ??? [57] 93.3% [63] 24660(81.6%) 20542(68.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexpm1 [64] 7.4% bfdiv [65] 5.5% ??? [66] 3.7% -------------------------------------------------------------------- ??? [63] 100.0% [64] 1830(6.1%) 1174(3.9%) bfexpm1 ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [67] 35.8% -------------------------------------------------------------------- ??? [63] 100.0% [65] 1366(4.5%) 720(2.4%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [67] 47.3% -------------------------------------------------------------------- ??? [59] 20.5% ??? [63] 79.5% [66] 1160(3.8%) 940(3.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [68] 19.0% -------------------------------------------------------------------- real->bigfloat [58] 13.4% bfdiv [65] 43.0% bfexpm1 [64] 43.6% [67] 1504(5.0%) 1504(5.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 -------------------------------------------------------------------- ??? [66] 100.0% [68] 220(0.7%) 220(0.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 --------------------------------------------------------------------