Profiling results ----------------- Total cpu time observed: 12398ms (out of 12636ms) Number of samples taken: 53 (once every 234ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [21] 100.0% [1] 12398(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ---------------------------------------------------------------------- ??? [21] 100.0% [2] 5596(45.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [7] 69.0% for-loop [8] 31.0% ---------------------------------------------------------------------- copying-mergesort [34] 100.0% [3] 700(5.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [45] 66.9% ??? [51] 33.1% ---------------------------------------------------------------------- hash-ref! [54] 100.0% [4] 196(1.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [48] 100.0% ---------------------------------------------------------------------- hash-ref! [54] 100.0% [5] 180(1.5%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [9] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 12398(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [21] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 3862(31.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [10] 95.1% extract-alt [12] 4.9% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 1734(14.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [9] 180(1.5%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [54] 100.0% ---------------------------------------------------------------------- get-final-combination [7] 100.0% [10] 3672(29.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [13] 100.0% ---------------------------------------------------------------------- for-loop [8] 100.0% [11] 1734(14.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [14] 67.0% finalize-iter! [15] 22.6% gen-series! [16] 10.4% ---------------------------------------------------------------------- get-final-combination [7] 100.0% [12] 190(1.5%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [48] 100.0% ---------------------------------------------------------------------- split-table [10] 100.0% [13] 3672(29.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [17] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [14] 1162(9.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [18] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [15] 392(3.2%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [19] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [16] 180(1.5%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [20] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [13] 100.0% [17] 3672(29.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [22] 88.0% pick-errors [25] 6.6% errors [41] 5.4% ---------------------------------------------------------------------- simplify! [14] 100.0% [18] 1162(9.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [21] 74.7% debug-print [24] 25.3% ---------------------------------------------------------------------- finalize-iter! [15] 100.0% [19] 392(3.2%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [23] 100.0% ---------------------------------------------------------------------- gen-series! [16] 100.0% [20] 180(1.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [26] 100.0% ---------------------------------------------------------------------- for-loop [18] 2.3% run [6] 48.8% [21] 12398(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.8% loop [27] 27.4% run-improve58 [2] 21.4% simplify [52] 2.3% ---------------------------------------------------------------------- option-on-expr [17] 100.0% [22] 3230(26.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [28] 100.0% ---------------------------------------------------------------------- ??? [19] 100.0% [23] 392(3.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [29] 100.0% ---------------------------------------------------------------------- for-loop [18] 100.0% [24] 294(2.4%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [30] 100.0% ---------------------------------------------------------------------- option-on-expr [17] 100.0% [25] 242(2.0%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [31] 100.0% ---------------------------------------------------------------------- for-loop [20] 100.0% [26] 180(1.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [32] 100.0% ---------------------------------------------------------------------- ??? [21] 100.0% [27] 6802(54.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [33] 55.2% make-exacts* [38] 32.8% loop [39] 12.0% ---------------------------------------------------------------------- sort-context-on-expr [22] 100.0% [28] 3230(26.1%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [34] 65.6% loop [40] 34.4% ---------------------------------------------------------------------- for-loop [23] 100.0% [29] 392(3.2%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 override-at-pnts [35] 50.5% best-and-tied-at-points [36] 49.5% ---------------------------------------------------------------------- debug-print [24] 100.0% [30] 294(2.4%) 294(2.4%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ---------------------------------------------------------------------- pick-errors [25] 100.0% [31] 242(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [49] 100.0% ---------------------------------------------------------------------- taylor-alt [26] 100.0% [32] 180(1.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [37] 100.0% ---------------------------------------------------------------------- loop [27] 100.0% [33] 3756(30.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [39] 64.5% make-exacts* [38] 35.5% ---------------------------------------------------------------------- sort [28] 46.3% copying-mergesort [34] 53.7% [34] 2120(17.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [34] 53.7% loop [40] 38.0% jloop [3] 8.3% ---------------------------------------------------------------------- atab-add-altn [29] 100.0% [35] 198(1.6%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 for-loop [42] 100.0% ---------------------------------------------------------------------- atab-add-altn [29] 100.0% [36] 194(1.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [41] 100.0% ---------------------------------------------------------------------- for-loop [32] 100.0% [37] 180(1.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [43] 100.0% ---------------------------------------------------------------------- loop [33] 37.4% loop [27] 62.6% [38] 3560(28.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [48] 55.7% map [44] 44.3% ---------------------------------------------------------------------- loop [27] 25.2% loop [33] 74.8% [39] 3242(26.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [44] 100.0% ---------------------------------------------------------------------- sort [28] 43.9% copying-mergesort [34] 56.1% [40] 2530(20.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [45] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [36] 49.2% option-on-expr [17] 50.8% [41] 394(3.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [46] 100.0% ---------------------------------------------------------------------- override-at-pnts [35] 100.0% [42] 198(1.6%) 198(1.6%) for-loop ...k/herbie/src/core/alt-table.rkt:146:43 ---------------------------------------------------------------------- location-do [37] 100.0% [43] 180(1.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [47] 100.0% ---------------------------------------------------------------------- make-exacts* [38] 32.7% loop [39] 67.3% [44] 4820(38.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [48] 100.0% ---------------------------------------------------------------------- jloop [3] 15.6% loop [40] 84.4% [45] 2998(24.2%) 196(1.6%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [49] 93.5% ---------------------------------------------------------------------- errors [41] 100.0% [46] 394(3.2%) 200(1.6%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [50] 49.2% ---------------------------------------------------------------------- approximate9 [43] 100.0% [47] 180(1.5%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [54] 100.0% ---------------------------------------------------------------------- make-exacts* [38] 0.4% extract-alt [12] 1.3% ??? [4] 2.7% map [44] 3.0% loop [48] 92.6% [48] 7188(58.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [48] 92.6% ??? [51] 3.3% hash-ref! [54] 2.7% simplify [52] 1.3% ->flonum [53] 0.0% ---------------------------------------------------------------------- for-loop [31] 8.0% ??? [45] 92.0% [49] 3044(24.6%) 2848(23.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [54] 6.4% ---------------------------------------------------------------------- for-loop [46] 100.0% [50] 194(1.6%) 194(1.6%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ---------------------------------------------------------------------- jloop [3] 3.5% loop [48] 96.5% [51] 6644(53.6%) 446(3.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [55] 76.3% real->bigfloat [57] 10.2% ??? [71] 6.8% ---------------------------------------------------------------------- loop [48] 18.0% ??? [21] 82.0% [52] 1058(8.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [56] 72.8% iterate-egraph!5 [61] 27.2% ---------------------------------------------------------------------- loop [48] 100.0% [53] 390(3.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [73] 100.0% ---------------------------------------------------------------------- for-loop [9] 12.0% ??? [59] 12.0% ??? [60] 12.0% loop [47] 12.0% loop [48] 26.1% eval-prog [49] 26.1% [54] 376(3.0%) 196(1.6%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 26.1% ??? [60] 12.0% ??? [59] 12.0% ??? [5] 12.0% simplify [58] 12.0% ---------------------------------------------------------------------- ??? [51] 100.0% [55] 5068(40.9%) 466(3.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [65] 83.6% bf* [62] 3.7% ...higher-order.rkt:373:33 [64] 3.5% ---------------------------------------------------------------------- simplify [52] 100.0% [56] 770(6.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [61] 100.0% ---------------------------------------------------------------------- ??? [51] 100.0% [57] 680(5.5%) 444(3.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [72] 34.7% ---------------------------------------------------------------------- hash-ref! [54] 100.0% [58] 180(1.5%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [63] 100.0% ---------------------------------------------------------------------- hash-ref! [54] 100.0% [59] 180(1.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [54] 100.0% ---------------------------------------------------------------------- hash-ref! [54] 100.0% [60] 180(1.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [54] 100.0% ---------------------------------------------------------------------- simplify [52] 27.2% simplify-expr [56] 72.8% [61] 1058(8.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [66] 81.7% *simplify-rules* [67] 18.3% ---------------------------------------------------------------------- ??? [55] 100.0% [62] 188(1.5%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [65] 100.0% ---------------------------------------------------------------------- simplify [58] 100.0% [63] 180(1.5%) 180(1.5%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 ---------------------------------------------------------------------- ??? [55] 100.0% [64] 176(1.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [68] 100.0% ---------------------------------------------------------------------- bf* [62] 4.2% ??? [55] 95.8% [65] 4426(35.7%) 822(6.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexp [69] 63.8% ??? [73] 17.6% ---------------------------------------------------------------------- iterate-egraph!5 [61] 100.0% [66] 864(7.0%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [70] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [61] 100.0% [67] 194(1.6%) 194(1.6%) *simplify-rules* ...bie/src/syntax/rules.rkt:300:0 ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [64]100.0% [68] 176(1.4%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [71] 100.0% ---------------------------------------------------------------------- ??? [65] 100.0% [69] 2824(22.8%) 1182(9.5%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [72] 58.1% ---------------------------------------------------------------------- for-loop [70] 50.0% one-iter [66] 50.0% [70] 864(7.0%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [70] 50.0% match-e [74] 50.0% ---------------------------------------------------------------------- ??? [68] 28.1% ??? [51] 71.9% [71] 626(5.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [73] 100.0% ---------------------------------------------------------------------- real->bigfloat [57] 12.6% bfexp [69] 87.4% [72] 1878(15.1%) 1878(15.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ->flonum [53] 21.7% ??? [71] 34.9% ??? [65] 43.4% [73] 1796(14.5%) 1202(9.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [75] 33.1% ---------------------------------------------------------------------- for-loop [70] 100.0% [74] 864(7.0%) 864(7.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- ??? [73] 100.0% [75] 594(4.8%) 594(4.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 ----------------------------------------------------------------------