Profiling results ----------------- Total cpu time observed: 9610ms (out of 9864ms) Number of samples taken: 37 (once every 260ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [6] 100.0% [1] 9388(97.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% --------------------------------------------------------------------- loop [28] 16.6% ??? [6] 83.4% [2] 1218(12.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [4] 50.9% iterate-egraph!5 [7] 32.5% for-loop [5] 16.6% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 9388(97.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [6] 100.0% --------------------------------------------------------------------- simplify [2] 100.0% [4] 620(6.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [7] 100.0% --------------------------------------------------------------------- simplify [2] 100.0% [5] 202(2.1%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [7] 100.0% --------------------------------------------------------------------- for-loop [30] 3.9% run [3] 47.5% [6] 9610(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.5% loop [8] 33.5% run-improve58 [9] 15.1% simplify [2] 3.9% --------------------------------------------------------------------- for-loop [5] 16.6% simplify [2] 32.5% simplify-expr [4] 50.9% [7] 1218(12.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [10] 100.0% --------------------------------------------------------------------- ??? [6] 100.0% [8] 6444(67.1%) 216(2.2%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [16] 48.8% loop [11] 29.1% loop [17] 18.7% --------------------------------------------------------------------- ??? [6] 100.0% [9] 3166(32.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [12] 54.6% for-loop [13] 45.4% --------------------------------------------------------------------- iterate-egraph!5 [7] 100.0% [10] 1218(12.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [14] 65.5% loop [15] 34.5% --------------------------------------------------------------------- loop [8] 100.0% [11] 1876(19.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [17] 51.1% make-exacts* [16] 48.9% --------------------------------------------------------------------- run-improve58 [9] 100.0% [12] 1728(18.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 88.3% extract-alt [21] 11.7% --------------------------------------------------------------------- run-improve58 [9] 100.0% [13] 1438(15.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [19] 100.0% --------------------------------------------------------------------- for-loop [14] 50.0% one-iter [10] 50.0% [14] 798(8.3%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [14] 50.0% match-e [24] 50.0% --------------------------------------------------------------------- one-iter [10] 100.0% [15] 420(4.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [20] 100.0% --------------------------------------------------------------------- loop [11] 22.6% loop [8] 77.4% [16] 4064(42.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [22] 66.4% loop [28] 33.6% --------------------------------------------------------------------- loop [11] 44.3% loop [8] 55.7% [17] 2164(22.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [22] 100.0% --------------------------------------------------------------------- get-final-combination [12] 100.0% [18] 1526(15.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [23] 100.0% --------------------------------------------------------------------- for-loop [13] 100.0% [19] 1438(15.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [25] 70.7% finalize-iter! [26] 15.4% gen-series! [27] 13.9% --------------------------------------------------------------------- loop [15] 100.0% [20] 420(4.4%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [24] 100.0% --------------------------------------------------------------------- get-final-combination [12] 100.0% [21] 202(2.1%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [28] 100.0% --------------------------------------------------------------------- loop [17] 44.5% make-exacts* [16] 55.5% [22] 4862(50.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [28] 100.0% --------------------------------------------------------------------- split-table [18] 100.0% [23] 1526(15.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [29] 100.0% --------------------------------------------------------------------- for-loop [37] 12.2% apply-match [20] 22.3% for-loop [14] 65.5% [24] 1218(12.7%) 1020(10.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [31] 22.3% for-loop [37] 6.1% --------------------------------------------------------------------- run-iter! [19] 100.0% [25] 1016(10.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% --------------------------------------------------------------------- run-iter! [19] 100.0% [26] 222(2.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [32] 100.0% --------------------------------------------------------------------- run-iter! [19] 100.0% [27] 200(2.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [33] 100.0% --------------------------------------------------------------------- make-exacts* [16] 0.1% extract-alt [21] 1.0% map [22] 3.8% loop [28] 95.1% [28] 6430(66.9%) 846(8.8%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [28] 95.1% ??? [53] 3.6% simplify [2] 1.0% ->flonum [57] 0.2% --------------------------------------------------------------------- infer-splitpoints4 [23] 100.0% [29] 1526(15.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [34] 70.9% pick-errors [35] 29.1% --------------------------------------------------------------------- simplify! [25] 100.0% [30] 1016(10.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [6] 100.0% --------------------------------------------------------------------- match-e [24] 100.0% [31] 420(4.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [37] 52.9% list-cartesian-product [39] 47.1% --------------------------------------------------------------------- finalize-iter! [26] 100.0% [32] 222(2.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 100.0% --------------------------------------------------------------------- gen-series! [27] 100.0% [33] 200(2.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [38] 100.0% --------------------------------------------------------------------- option-on-expr [29] 100.0% [34] 1082(11.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% --------------------------------------------------------------------- option-on-expr [29] 100.0% [35] 444(4.6%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [41] 100.0% --------------------------------------------------------------------- ??? [32] 100.0% [36] 222(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [42] 100.0% --------------------------------------------------------------------- match-e [24] 50.0% for-loop [31] 50.0% [37] 222(2.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [24] 100.0% --------------------------------------------------------------------- for-loop [33] 100.0% [38] 200(2.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [43] 100.0% --------------------------------------------------------------------- for-loop [31] 100.0% [39] 198(2.1%) 198(2.1%) list-cartesian-product ...src/core/ematch.rkt:20:0 --------------------------------------------------------------------- sort-context-on-expr [34] 100.0% [40] 1082(11.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [44] 59.1% loop [47] 40.9% --------------------------------------------------------------------- pick-errors [35] 100.0% [41] 444(4.6%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [54] 100.0% --------------------------------------------------------------------- for-loop [36] 100.0% [42] 222(2.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [45] 100.0% --------------------------------------------------------------------- taylor-alt [38] 100.0% [43] 200(2.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% --------------------------------------------------------------------- copying-mergesort [44] 39.6% sort [40] 60.4% [44] 640(6.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [47] 60.4% copying-mergesort [44] 39.6% --------------------------------------------------------------------- atab-add-altn [42] 100.0% [45] 222(2.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [48] 100.0% --------------------------------------------------------------------- for-loop [43] 100.0% [46] 200(2.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 simplify [49] 100.0% --------------------------------------------------------------------- sort [40] 40.9% copying-mergesort [44] 59.1% [47] 1082(11.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [50] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [45] 100.0% [48] 222(2.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [51] 100.0% --------------------------------------------------------------------- location-do [46] 100.0% [49] 200(2.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug-print [52] 100.0% --------------------------------------------------------------------- loop [47] 100.0% [50] 1082(11.3%) 402(4.2%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [54] 62.8% --------------------------------------------------------------------- errors [48] 100.0% [51] 222(2.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [53] 100.0% --------------------------------------------------------------------- simplify [49] 100.0% [52] 200(2.1%) 200(2.1%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 --------------------------------------------------------------------- for-loop [51] 4.3% loop [28] 95.7% [53] 5148(53.6%) 230(2.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [55] 46.5% real->bigfloat [56] 40.5% ->flonum [57] 4.3% ??? [62] 4.2% --------------------------------------------------------------------- for-loop [41] 39.5% ??? [50] 60.5% [54] 1124(11.7%) 1124(11.7%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 --------------------------------------------------------------------- ??? [53] 100.0% [55] 2392(24.9%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [58] 90.5% ...higher-order.rkt:373:33 [59] 9.5% --------------------------------------------------------------------- ??? [53] 100.0% [56] 2086(21.7%) 1584(16.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [64] 24.1% --------------------------------------------------------------------- ??? [53] 32.7% loop [28] 67.3% [57] 678(7.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [63] 67.3% ??? [60] 32.7% --------------------------------------------------------------------- ??? [55] 100.0% [58] 2164(22.5%) 682(7.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [61] 49.0% ??? [63] 19.5% --------------------------------------------------------------------- ??? [55] 100.0% [59] 228(2.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [62] 100.0% --------------------------------------------------------------------- ->flonum [57] 100.0% [60] 222(2.3%) 222(2.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [58] 100.0% [61] 1060(11.0%) 842(8.8%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [64] 20.6% --------------------------------------------------------------------- ??? [53] 48.9% ...higher-order.rkt:373:33 [59] 51.1% [62] 446(4.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [63] 100.0% --------------------------------------------------------------------- ??? [58] 31.9% ??? [62] 33.7% ->flonum [57] 34.4% [63] 1324(13.8%) 228(2.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [65] 82.8% --------------------------------------------------------------------- bfdiv [61] 30.3% real->bigfloat [56] 69.7% [64] 720(7.5%) 720(7.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [63] 100.0% [65] 1096(11.4%) 218(2.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [66] 80.1% --------------------------------------------------------------------- ??? [65] 100.0% [66] 878(9.1%) 878(9.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------