Profiling results ----------------- Total cpu time observed: 10646ms (out of 10952ms) Number of samples taken: 48 (once every 222ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [7] 100.0% [1] 10394(97.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [2] 232(2.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [6] 100.0% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [3] 232(2.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [5] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 97.6% [4] 10646(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [5] 232(2.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [58] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [6] 232(2.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [58] 100.0% ---------------------------------------------------------------------- for-loop [31] 1.3% run [4] 50.5% [7] 10646(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.2% loop [8] 33.6% run-improve58 [9] 17.0% simplify [10] 1.3% ---------------------------------------------------------------------- ??? [7] 100.0% [8] 6898(64.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [11] 47.8% make-exacts* [16] 38.4% loop [17] 10.1% filter-points [15] 3.7% ---------------------------------------------------------------------- ??? [7] 100.0% [9] 3748(35.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [12] 66.6% for-loop [13] 33.4% ---------------------------------------------------------------------- ??? [7] 100.0% [10] 416(3.9%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [14] 100.0% ---------------------------------------------------------------------- loop [8] 100.0% [11] 3298(31.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [17] 59.1% make-exacts* [16] 40.9% ---------------------------------------------------------------------- run-improve58 [9] 100.0% [12] 2496(23.4%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 100.0% ---------------------------------------------------------------------- run-improve58 [9] 100.0% [13] 1252(11.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [19] 100.0% ---------------------------------------------------------------------- simplify [10] 100.0% [14] 416(3.9%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [20] 100.0% ---------------------------------------------------------------------- loop [8] 100.0% [15] 252(2.4%) 0(0.0%) filter-points ...tlock/herbie/src/points.rkt:101:0 for-loop [21] 100.0% ---------------------------------------------------------------------- loop [11] 33.7% loop [8] 66.3% [16] 3996(37.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [28] 57.8% map [22] 42.2% ---------------------------------------------------------------------- loop [8] 26.4% loop [11] 73.6% [17] 2650(24.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [22] 100.0% ---------------------------------------------------------------------- get-final-combination [12] 100.0% [18] 2496(23.4%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [23] 100.0% ---------------------------------------------------------------------- for-loop [13] 100.0% [19] 1252(11.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 gen-series! [24] 34.7% simplify! [25] 33.2% finalize-iter! [26] 32.1% ---------------------------------------------------------------------- iterate-egraph!5 [14] 100.0% [20] 416(3.9%) 216(2.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [27] 48.1% ---------------------------------------------------------------------- filter-points [15] 100.0% [21] 252(2.4%) 252(2.4%) for-loop ...e/ztatlock/herbie/src/points.rkt:104:4 ---------------------------------------------------------------------- parse-loop50 [67] 5.1% make-exacts* [16] 36.9% loop [17] 58.0% [22] 4568(42.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [28] 100.0% ---------------------------------------------------------------------- split-table [18] 100.0% [23] 2496(23.4%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [29] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [24] 434(4.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [30] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [25] 416(3.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [31] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [26] 402(3.8%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [32] 100.0% ---------------------------------------------------------------------- for-loop [27] 50.0% one-iter [20] 50.0% [27] 200(1.9%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [27] 50.0% match-e [33] 50.0% ---------------------------------------------------------------------- make-exacts* [16] 3.8% map [22] 4.7% loop [28] 91.5% [28] 6878(64.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [28] 91.5% ??? [56] 5.0% parse-loop50 [67] 3.4% ->flonum [61] 0.1% ---------------------------------------------------------------------- infer-splitpoints4 [23] 100.0% [29] 2496(23.4%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [34] 83.6% pick-errors [36] 8.3% err-lsts->split-indices [37] 8.1% ---------------------------------------------------------------------- gen-series! [24] 100.0% [30] 434(4.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [35] 100.0% ---------------------------------------------------------------------- simplify! [25] 100.0% [31] 416(3.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ---------------------------------------------------------------------- finalize-iter! [26] 100.0% [32] 402(3.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [38] 50.2% atab-add-altns [39] 49.8% ---------------------------------------------------------------------- for-loop [27] 100.0% [33] 200(1.9%) 200(1.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- option-on-expr [29] 100.0% [34] 2086(19.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ---------------------------------------------------------------------- for-loop [30] 100.0% [35] 434(4.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [41] 100.0% ---------------------------------------------------------------------- option-on-expr [29] 100.0% [36] 208(2.0%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [43] 100.0% ---------------------------------------------------------------------- option-on-expr [29] 100.0% [37] 202(1.9%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [44] 100.0% ---------------------------------------------------------------------- ??? [32] 100.0% [38] 202(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [42] 100.0% ---------------------------------------------------------------------- ??? [32] 100.0% [39] 200(1.9%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [42] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [34] 100.0% [40] 2086(19.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [45] 89.5% loop [50] 10.5% ---------------------------------------------------------------------- taylor-alt [35] 100.0% [41] 434(4.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ---------------------------------------------------------------------- atab-add-altns [39] 49.8% for-loop [38] 50.2% [42] 402(3.8%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 override-at-pnts [48] 50.2% best-and-tied-at-points [49] 49.8% ---------------------------------------------------------------------- pick-errors [36] 100.0% [43] 208(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [57] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [37] 100.0% [44] 202(1.9%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [47] 100.0% ---------------------------------------------------------------------- copying-mergesort [45] 41.5% sort [40] 58.5% [45] 1868(17.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [50] 50.2% copying-mergesort [45] 41.5% jloop [51] 8.3% ---------------------------------------------------------------------- location-do [46] 23.3% for-loop [41] 76.7% [46] 434(4.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [52] 76.7% location-do [46] 23.3% ---------------------------------------------------------------------- add-splitpoint [44] 100.0% [47] 202(1.9%) 202(1.9%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ---------------------------------------------------------------------- atab-add-altn [42] 100.0% [48] 202(1.9%) 202(1.9%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 ---------------------------------------------------------------------- atab-add-altn [42] 100.0% [49] 200(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [53] 100.0% ---------------------------------------------------------------------- sort [40] 14.9% copying-mergesort [45] 85.1% [50] 1464(13.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [54] 100.0% ---------------------------------------------------------------------- copying-mergesort [45] 100.0% [51] 622(5.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [54] 100.0% ---------------------------------------------------------------------- location-do [46] 100.0% [52] 434(4.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [55] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [49] 100.0% [53] 200(1.9%) 200(1.9%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- jloop [51] 29.8% loop [50] 70.2% [54] 2086(19.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [57] 90.4% ??? [56] 9.6% ---------------------------------------------------------------------- approximate9 [52] 100.0% [55] 434(4.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [58] 100.0% ---------------------------------------------------------------------- ??? [54] 3.2% loop [28] 96.8% [56] 6160(57.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [59] 55.9% real->bigfloat [60] 33.2% ??? [64] 3.8% ...e/case-arrow.rkt:150:50 [65] 3.7% ->flonum [61] 3.2% ---------------------------------------------------------------------- for-loop [43] 9.9% ??? [54] 90.1% [57] 2094(19.7%) 2094(19.7%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ---------------------------------------------------------------------- for-loop [6] 13.4% for-loop [5] 13.4% ??? [63] 36.6% loop [55] 36.6% [58] 434(4.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [63] 36.6% simplify [62] 36.6% ??? [3] 13.4% ??? [2] 13.4% ---------------------------------------------------------------------- ??? [56] 100.0% [59] 3446(32.4%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [71] 79.9% bf* [66] 20.1% ---------------------------------------------------------------------- ??? [56] 100.0% [60] 2048(19.2%) 1352(12.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [76] 34.0% ---------------------------------------------------------------------- ??? [56] 22.6% loop [28] 77.4% [61] 886(8.3%) 228(2.1%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [73] 26.6% ??? [68] 25.1% ??? [70] 22.6% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [62] 434(4.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [67] 53.5% debug-print [69] 46.5% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [63] 434(4.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [58] 100.0% ---------------------------------------------------------------------- ??? [56] 100.0% [64] 236(2.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [73] 100.0% ---------------------------------------------------------------------- ??? [56] 100.0% [65] 230(2.2%) 230(2.2%) ...e/case-arrow.rkt:150:50 (unknown source) ---------------------------------------------------------------------- ??? [59] 100.0% [66] 692(6.5%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [71] 100.0% ---------------------------------------------------------------------- parse-loop50 [67] 33.3% loop [28] 33.3% simplify [62] 33.3% [67] 232(2.2%) 232(2.2%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 map [22] 33.3% parse-loop50 [67] 33.3% ---------------------------------------------------------------------- ->flonum [61] 100.0% [68] 222(2.1%) 222(2.1%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ---------------------------------------------------------------------- simplify [62] 100.0% [69] 202(1.9%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [72] 100.0% ---------------------------------------------------------------------- ->flonum [61] 100.0% [70] 200(1.9%) 200(1.9%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- bf* [66] 20.1% ??? [59] 79.9% [71] 3446(32.4%) 2058(19.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [73] 14.0% bfexpm1 [74] 13.2% bfmul [75] 13.1% ---------------------------------------------------------------------- debug-print [69] 100.0% [72] 202(1.9%) 202(1.9%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ---------------------------------------------------------------------- ->flonum [61] 24.7% ??? [64] 24.7% ??? [71] 50.5% [73] 954(9.0%) 240(2.3%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [77] 74.8% ---------------------------------------------------------------------- ??? [71] 100.0% [74] 454(4.3%) 216(2.0%) bfexpm1 ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [76] 52.4% ---------------------------------------------------------------------- ??? [71] 100.0% [75] 452(4.2%) 452(4.2%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- bfexpm1 [74] 25.5% real->bigfloat [60] 74.5% [76] 934(8.8%) 934(8.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [73] 100.0% [77] 714(6.7%) 236(2.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [78] 66.9% ---------------------------------------------------------------------- ??? [77] 100.0% [78] 478(4.5%) 478(4.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------