Profiling results ----------------- Total cpu time observed: 30836ms (out of 31300ms) Number of samples taken: 132 (once every 234ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 75 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [4] 100.0% [1] 30178(97.9%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ---------------------------------------------------------------------- copying-mergesort [40] 100.0% [2] 400(1.3%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [45] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 99.3% [3] 30384(98.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [4] 100.0% ---------------------------------------------------------------------- for-loop [26] 0.4% run [3] 49.7% [4] 30614(99.3%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.1% loop [7] 45.2% run-improve58 [5] 5.3% simplify [6] 0.4% ---------------------------------------------------------------------- ??? [4] 100.0% [5] 3184(10.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [8] 50.8% loop [7] 23.4% for-loop [9] 19.5% finalize-table! [11] 6.3% ---------------------------------------------------------------------- ??? [4] 100.0% [6] 400(1.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [10] 100.0% ---------------------------------------------------------------------- run-improve58 [5] 2.6% ??? [4] 97.4% [7] 28176(91.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [17] 53.8% loop [12] 45.3% loop [18] 0.9% ---------------------------------------------------------------------- run-improve58 [5] 100.0% [8] 1616(5.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [13] 100.0% ---------------------------------------------------------------------- run-improve58 [5] 100.0% [9] 620(2.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ---------------------------------------------------------------------- simplify [6] 100.0% [10] 400(1.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 100.0% ---------------------------------------------------------------------- run-improve58 [5] 100.0% [11] 202(0.7%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [16] 100.0% ---------------------------------------------------------------------- loop [7] 100.0% [12] 12768(41.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [18] 64.0% make-exacts* [17] 34.1% eval-prog [48] 1.9% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [13] 1616(5.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [19] 100.0% ---------------------------------------------------------------------- for-loop [9] 100.0% [14] 620(2.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 64.5% gen-series! [21] 35.5% ---------------------------------------------------------------------- simplify-expr [10] 100.0% [15] 400(1.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 *simplify-rules* [23] 50.0% one-iter [24] 50.0% ---------------------------------------------------------------------- finalize-table! [11] 100.0% [16] 202(0.7%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [22] 100.0% ---------------------------------------------------------------------- loop [12] 22.3% loop [7] 77.7% [17] 19508(63.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [58] 49.8% map [52] 49.0% eval-prog [48] 1.2% ---------------------------------------------------------------------- loop [7] 3.0% loop [12] 97.0% [18] 8422(27.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [52] 100.0% ---------------------------------------------------------------------- split-table [13] 100.0% [19] 1616(5.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [25] 87.5% exprs-to-branch-on [28] 12.5% ---------------------------------------------------------------------- run-iter! [14] 100.0% [20] 400(1.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [26] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [21] 220(0.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% ---------------------------------------------------------------------- post-process [16] 100.0% [22] 202(0.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [29] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [23] 200(0.6%) 0(0.0%) *simplify-rules* ...bie/src/syntax/rules.rkt:300:0 for-loop [30] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [24] 200(0.6%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [31] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [25] 1414(4.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [32] 85.4% err-lsts->split-indices [34] 14.6% ---------------------------------------------------------------------- simplify! [20] 100.0% [26] 400(1.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [4] 100.0% ---------------------------------------------------------------------- gen-series! [21] 100.0% [27] 220(0.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [33] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [28] 202(0.7%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [35] 100.0% ---------------------------------------------------------------------- for-loop [22] 100.0% [29] 202(0.7%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [33] 100.0% ---------------------------------------------------------------------- *simplify-rules* [23] 100.0% [30] 200(0.6%) 200(0.6%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ---------------------------------------------------------------------- for-loop [31] 50.0% one-iter [24] 50.0% [31] 200(0.6%) 200(0.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [31] 50.0% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [32] 1208(3.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [36] 100.0% ---------------------------------------------------------------------- append-map [29] 47.9% for-loop [27] 52.1% [33] 422(1.4%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [37] 100.0% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [34] 206(0.7%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [38] 100.0% ---------------------------------------------------------------------- exprs-to-branch-on [28] 100.0% [35] 202(0.7%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [39] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [32] 100.0% [36] 1208(3.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [40] 66.6% loop [43] 33.4% ---------------------------------------------------------------------- taylor-alt [33] 100.0% [37] 422(1.4%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [41] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [34] 100.0% [38] 206(0.7%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [42] 100.0% ---------------------------------------------------------------------- critical-subexpression [35] 100.0% [39] 202(0.7%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [54] 100.0% ---------------------------------------------------------------------- sort [36] 33.4% copying-mergesort [40] 66.6% [40] 804(2.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [40] 66.6% loop [43] 20.9% jloop [2] 12.4% ---------------------------------------------------------------------- location-do [41] 50.0% for-loop [37] 50.0% [41] 422(1.4%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [41] 50.0% approximate9 [44] 50.0% ---------------------------------------------------------------------- add-splitpoint [38] 100.0% [42] 206(0.7%) 206(0.7%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ---------------------------------------------------------------------- copying-mergesort [40] 50.0% sort [36] 50.0% [43] 808(2.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [45] 100.0% ---------------------------------------------------------------------- location-do [41] 100.0% [44] 422(1.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 taylor-quotient [46] 52.1% taylor [47] 47.9% ---------------------------------------------------------------------- jloop [2] 33.1% loop [43] 66.9% [45] 1208(3.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [48] 100.0% ---------------------------------------------------------------------- approximate9 [44] 100.0% [46] 220(0.7%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 simplify [49] 100.0% ---------------------------------------------------------------------- approximate9 [44] 100.0% [47] 202(0.7%) 202(0.7%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 ---------------------------------------------------------------------- make-exacts* [17] 14.2% loop [12] 14.5% ??? [45] 71.3% [48] 1694(5.5%) 1006(3.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [54] 28.7% parse-lambda [51] 11.9% ---------------------------------------------------------------------- taylor-quotient [46] 100.0% [49] 220(0.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [50] 100.0% ---------------------------------------------------------------------- simplify [49] 34.2% hash-ref! [54] 48.6% [50] 644(2.1%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [52] 100.0% ---------------------------------------------------------------------- eval-prog [48] 100.0% [51] 202(0.7%) 202(0.7%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ---------------------------------------------------------------------- f6 [50] 3.5% loop [18] 45.2% make-exacts* [17] 51.3% [52] 18622(60.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [58] 97.1% ??? [53] 1.7% ---------------------------------------------------------------------- loop [58] 26.2% map [52] 73.8% [53] 424(1.4%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [54] 100.0% ---------------------------------------------------------------------- localize-error [39] 11.1% loop [58] 13.2% ??? [53] 35.5% eval-prog [48] 40.2% [54] 910(3.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [55] 40.2% parse-loop12 [56] 23.3% f6 [50] 23.3% ??? [57] 13.2% ---------------------------------------------------------------------- hash-ref! [54] 100.0% [55] 486(1.6%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [59] 100.0% ---------------------------------------------------------------------- hash-ref! [54] 100.0% [56] 424(1.4%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [58] 100.0% ---------------------------------------------------------------------- hash-ref! [54] 100.0% [57] 240(0.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [58] 100.0% ---------------------------------------------------------------------- parse-loop12 [56] 0.0% make-exacts* [17] 0.2% ??? [57] 0.8% map [52] 2.5% loop [58] 96.3% [58] 28354(92.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [58] 96.3% ??? [60] 2.7% hash-ref! [54] 0.8% ??? [66] 0.0% ??? [53] 0.0% ->flonum [61] 0.0% ---------------------------------------------------------------------- bigfloat-hash [55] 100.0% [59] 486(1.6%) 486(1.6%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- loop [58] 100.0% [60] 27442(89.0%) 242(0.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [62] 92.5% real->bigfloat [63] 5.8% ??? [67] 0.9% ---------------------------------------------------------------------- loop [58] 100.0% [61] 248(0.8%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [68] 100.0% ---------------------------------------------------------------------- ??? [60] 100.0% [62] 25380(82.3%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [66] 94.3% bf* [64] 4.6% ...higher-order.rkt:373:33 [65] 1.1% ---------------------------------------------------------------------- ??? [60] 100.0% [63] 1582(5.1%) 1582(5.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ??? [62] 100.0% [64] 1180(3.8%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [66] 100.0% ---------------------------------------------------------------------- ??? [62] 100.0% [65] 272(0.9%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [67] 100.0% ---------------------------------------------------------------------- loop [58] 1.7% bf* [64] 4.6% ??? [62] 93.7% [66] 25532(82.8%) 22246(72.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [69] 5.6% bfexpm1 [70] 3.8% ??? [68] 3.5% ---------------------------------------------------------------------- ??? [60] 46.7% ...higher-order.rkt:373:33 [65] 53.3% [67] 510(1.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [68] 100.0% ---------------------------------------------------------------------- ->flonum [61] 15.0% ??? [67] 30.9% ??? [66] 54.1% [68] 1652(5.4%) 728(2.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [72] 42.0% ??? [73] 13.9% ---------------------------------------------------------------------- ??? [66] 100.0% [69] 1418(4.6%) 1176(3.8%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [71] 17.1% ---------------------------------------------------------------------- ??? [66] 100.0% [70] 974(3.2%) 222(0.7%) bfexpm1 ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [71] 77.2% ---------------------------------------------------------------------- bfmul [69] 24.3% bfexpm1 [70] 75.7% [71] 994(3.2%) 994(3.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [68] 100.0% [72] 694(2.3%) 422(1.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [74] 39.2% ---------------------------------------------------------------------- ??? [68] 100.0% [73] 230(0.7%) 230(0.7%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ---------------------------------------------------------------------- ??? [72] 100.0% [74] 272(0.9%) 272(0.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------