Profiling results ----------------- Total cpu time observed: 16992ms (out of 17316ms) Number of samples taken: 62 (once every 274ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [27] 100.0% [1] 16134(95.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ---------------------------------------------------------------------- ??? [27] 100.0% [2] 3708(21.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [9] 52.7% get-final-combination [10] 41.9% loop [32] 5.4% ---------------------------------------------------------------------- ??? [27] 100.0% [3] 1736(10.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [11] 50.6% simplify-expr [12] 49.4% ---------------------------------------------------------------------- copying-mergesort [38] 100.0% [4] 656(3.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [50] 100.0% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [5] 400(2.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [52] 100.0% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [6] 218(1.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [14] 100.0% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [7] 218(1.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [13] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [8] 16134(95.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [27] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1954(11.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 1554(9.1%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [11] 878(5.2%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [12] 858(5.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [13] 218(1.3%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [56] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [14] 218(1.3%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [56] 100.0% ---------------------------------------------------------------------- for-loop [9] 100.0% [15] 1954(11.5%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [18] 88.8% gen-series! [21] 11.2% ---------------------------------------------------------------------- simplify-expr [12] 49.4% for-loop [11] 50.6% [16] 1736(10.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 100.0% ---------------------------------------------------------------------- get-final-combination [10] 100.0% [17] 1554(9.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [20] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [18] 1736(10.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [22] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [19] 1736(10.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [24] 50.6% loop [25] 49.4% ---------------------------------------------------------------------- split-table [17] 100.0% [20] 1554(9.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [23] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [21] 218(1.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [26] 100.0% ---------------------------------------------------------------------- simplify! [18] 100.0% [22] 1736(10.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [27] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [20] 100.0% [23] 1554(9.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [28] 85.8% err-lsts->split-indices [30] 14.2% ---------------------------------------------------------------------- for-loop [24] 50.0% one-iter [19] 50.0% [24] 878(5.2%) 878(5.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [24] 50.0% ---------------------------------------------------------------------- one-iter [19] 100.0% [25] 858(5.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [29] 100.0% ---------------------------------------------------------------------- gen-series! [21] 100.0% [26] 218(1.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [31] 100.0% ---------------------------------------------------------------------- for-loop [22] 4.2% run [8] 46.6% [27] 16992(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.6% loop [32] 39.1% run-improve58 [2] 10.0% simplify [3] 4.2% ---------------------------------------------------------------------- option-on-expr [23] 100.0% [28] 1334(7.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [33] 100.0% ---------------------------------------------------------------------- loop [25] 100.0% [29] 858(5.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [34] 100.0% ---------------------------------------------------------------------- option-on-expr [23] 100.0% [30] 220(1.3%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [35] 100.0% ---------------------------------------------------------------------- for-loop [26] 100.0% [31] 218(1.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [36] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 1.5% ??? [27] 98.5% [32] 13484(79.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [37] 52.4% make-exacts* [42] 35.8% loop [43] 11.8% ---------------------------------------------------------------------- sort-context-on-expr [28] 100.0% [33] 1334(7.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [38] 83.7% loop [46] 16.3% ---------------------------------------------------------------------- for-loop [45] 50.0% apply-match [29] 50.0% [34] 858(5.0%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [39] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [30] 100.0% [35] 220(1.3%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [40] 100.0% ---------------------------------------------------------------------- taylor-alt [31] 100.0% [36] 218(1.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [41] 100.0% ---------------------------------------------------------------------- loop [32] 100.0% [37] 7066(41.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [42] 51.2% loop [43] 31.0% eval-prog [53] 17.8% ---------------------------------------------------------------------- sort [33] 35.3% copying-mergesort [38] 64.7% [38] 1116(6.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [38] 64.7% loop [46] 20.6% jloop [4] 14.7% ---------------------------------------------------------------------- match-e [34] 100.0% [39] 858(5.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [45] 50.0% list-cartesian-product [44] 50.0% ---------------------------------------------------------------------- add-splitpoint [35] 100.0% [40] 220(1.3%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [47] 100.0% ---------------------------------------------------------------------- for-loop [36] 100.0% [41] 218(1.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [48] 100.0% ---------------------------------------------------------------------- loop [37] 42.8% loop [32] 57.2% [42] 8446(49.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [49] 56.5% loop [52] 38.1% eval-prog [53] 5.4% ---------------------------------------------------------------------- loop [32] 42.0% loop [37] 58.0% [43] 3782(22.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [49] 100.0% ---------------------------------------------------------------------- for-loop [39] 100.0% [44] 858(5.0%) 858(5.0%) list-cartesian-product ...src/core/ematch.rkt:20:0 ---------------------------------------------------------------------- for-loop [39] 100.0% [45] 858(5.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [34] 100.0% ---------------------------------------------------------------------- sort [33] 32.2% copying-mergesort [38] 67.8% [46] 678(4.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [50] 100.0% ---------------------------------------------------------------------- for-loop [40] 100.0% [47] 220(1.3%) 220(1.3%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ---------------------------------------------------------------------- location-do [41] 100.0% [48] 218(1.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [51] 100.0% ---------------------------------------------------------------------- loop [43] 44.2% make-exacts* [42] 55.8% [49] 8552(50.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [52] 95.0% ??? [54] 5.0% ---------------------------------------------------------------------- jloop [4] 49.2% loop [46] 50.8% [50] 1334(7.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [53] 100.0% ---------------------------------------------------------------------- approximate9 [48] 100.0% [51] 218(1.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [56] 100.0% ---------------------------------------------------------------------- make-exacts* [42] 0.3% map [49] 2.5% ??? [5] 3.4% loop [52] 93.8% [52] 11748(69.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [52] 93.8% hash-ref! [56] 3.4% ??? [54] 2.8% ->flonum [57] 0.0% ---------------------------------------------------------------------- make-exacts* [42] 15.0% loop [37] 41.2% ??? [50] 43.8% [53] 3046(17.9%) 1372(8.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [55] 27.3% hash-ref! [56] 13.1% ??? [58] 7.3% parse-lambda [59] 7.2% ---------------------------------------------------------------------- map [49] 3.8% loop [52] 96.2% [54] 11276(66.4%) 768(4.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [60] 54.3% real->bigfloat [61] 30.7% ??? [78] 8.1% ---------------------------------------------------------------------- eval-prog [53] 33.3% inductor [55] 66.7% [55] 832(4.9%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [55] 66.7% integer->bigfloat [62] 33.3% ---------------------------------------------------------------------- for-loop [14] 8.8% for-loop [13] 8.8% ??? [68] 8.8% loop [51] 8.8% eval-prog [53] 26.9% loop [52] 37.9% [56] 618(3.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [5] 37.9% bigfloat-hash [63] 26.9% ??? [68] 8.8% ??? [7] 8.8% ??? [6] 8.8% simplify [67] 8.8% ---------------------------------------------------------------------- loop [52] 100.0% [57] 496(2.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [64] 51.6% ??? [65] 48.4% ---------------------------------------------------------------------- eval-prog [53] 100.0% [58] 222(1.3%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [66] 100.0% ---------------------------------------------------------------------- eval-prog [53] 100.0% [59] 220(1.3%) 220(1.3%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ---------------------------------------------------------------------- ??? [54] 100.0% [60] 6128(36.1%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [76] 55.4% bf<= [69] 14.9% ...higher-order.rkt:369:33 [70] 13.8% ...higher-order.rkt:373:33 [71] 12.7% bf* [74] 3.3% ---------------------------------------------------------------------- ??? [54] 100.0% [61] 3464(20.4%) 3028(17.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [82] 12.6% ---------------------------------------------------------------------- inductor [55] 100.0% [62] 832(4.9%) 832(4.9%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- hash-ref! [56] 100.0% [63] 400(2.4%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [73] 51.0% sig+exp->bigfloat [75] 49.0% ---------------------------------------------------------------------- ->flonum [57] 100.0% [64] 256(1.5%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [82] 100.0% ---------------------------------------------------------------------- ->flonum [57] 100.0% [65] 240(1.4%) 240(1.4%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [58] 100.0% [66] 222(1.3%) 222(1.3%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------- hash-ref! [56] 100.0% [67] 218(1.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [72] 100.0% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [68] 218(1.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [56] 100.0% ---------------------------------------------------------------------- ??? [60] 100.0% [69] 916(5.4%) 0(0.0%) bf<= ...h/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [81] 100.0% ---------------------------------------------------------------------- ??? [60] 100.0% [70] 844(5.0%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [77] 54.0% ??? [78] 46.0% ---------------------------------------------------------------------- ??? [60] 100.0% [71] 776(4.6%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [77] 100.0% ---------------------------------------------------------------------- simplify [67] 100.0% [72] 218(1.3%) 218(1.3%) f37 ...t/collects/racket/match/compiler.rkt:499:40 ---------------------------------------------------------------------- bigfloat-hash [63] 100.0% [73] 204(1.2%) 204(1.2%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- ??? [60] 100.0% [74] 200(1.2%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [76] 100.0% ---------------------------------------------------------------------- bigfloat-hash [63] 100.0% [75] 196(1.2%) 196(1.2%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- bf* [74] 5.6% ??? [60] 94.4% [76] 3592(21.1%) 200(1.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqr [79] 49.7% ??? [81] 32.3% bfadd [80] 12.5% ---------------------------------------------------------------------- ...higher-order.rkt:369:33 [70] 37.0% ...higher-order.rkt:373:33 [71] 63.0% [77] 1232(7.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [78] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:369:33 [70] 15.3% ??? [54] 36.1% ??? [77] 48.6% [78] 2536(14.9%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [81] 100.0% ---------------------------------------------------------------------- ??? [76] 100.0% [79] 1784(10.5%) 1512(8.9%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [82] 15.2% ---------------------------------------------------------------------- ??? [76] 100.0% [80] 448(2.6%) 448(2.6%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- bf<= [69] 19.9% ??? [76] 25.2% ??? [78] 55.0% [81] 4612(27.1%) 3126(18.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [83] 32.2% ---------------------------------------------------------------------- ??? [64] 26.6% bfsqr [79] 28.2% real->bigfloat [61] 45.2% [82] 964(5.7%) 964(5.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [81] 100.0% [83] 1486(8.7%) 638(3.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [84] 57.1% ---------------------------------------------------------------------- ??? [83] 100.0% [84] 848(5.0%) 848(5.0%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------