Profiling results ----------------- Total cpu time observed: 28556ms (out of 29012ms) Number of samples taken: 115 (once every 248ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 84 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [36] 100.0% [1] 28556(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [36] 100.0% [2] 6928(24.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [9] 76.0% for-loop [10] 18.2% loop [8] 5.7% ---------------------------------------------------------------------- copying-mergesort [50] 100.0% [3] 1988(7.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [58] 100.0% ---------------------------------------------------------------------- ??? [36] 100.0% [4] 422(1.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [12] 52.1% simplify-expr [14] 47.9% ---------------------------------------------------------------------- match-e [41] 100.0% [5] 220(0.8%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [11] 100.0% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [6] 206(0.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [13] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 28556(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [36] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 1.8% ??? [36] 98.2% [8] 22026(77.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [15] 45.8% make-exacts* [21] 39.3% loop [22] 14.9% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 5268(18.4%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 96.2% extract-alt [20] 3.8% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 1262(4.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [17] 100.0% ---------------------------------------------------------------------- for-loop [5] 100.0% [11] 220(0.8%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [41] 100.0% ---------------------------------------------------------------------- simplify [4] 100.0% [12] 220(0.8%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [18] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [13] 206(0.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 ??? [19] 100.0% ---------------------------------------------------------------------- simplify [4] 100.0% [14] 202(0.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [18] 100.0% ---------------------------------------------------------------------- loop [8] 100.0% [15] 10094(35.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [21] 51.1% loop [22] 48.9% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [16] 5068(17.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [23] 100.0% ---------------------------------------------------------------------- for-loop [10] 100.0% [17] 1262(4.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 finalize-iter! [24] 34.2% simplify! [25] 33.4% gen-series! [27] 32.3% ---------------------------------------------------------------------- simplify-expr [14] 47.9% for-loop [12] 52.1% [18] 422(1.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [26] 100.0% ---------------------------------------------------------------------- for-loop [13] 100.0% [19] 206(0.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [63] 100.0% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [20] 200(0.7%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 argmins [28] 100.0% ---------------------------------------------------------------------- loop [15] 37.3% loop [8] 62.7% [21] 13806(48.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [29] 52.1% loop [37] 47.9% ---------------------------------------------------------------------- loop [8] 39.9% loop [15] 60.1% [22] 8220(28.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [29] 100.0% ---------------------------------------------------------------------- split-table [16] 100.0% [23] 5068(17.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [30] 70.0% loop [37] 30.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [24] 432(1.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [31] 100.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [25] 422(1.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [32] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [18] 100.0% [26] 422(1.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [33] 100.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [27] 408(1.4%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [34] 100.0% ---------------------------------------------------------------------- extract-alt [20] 100.0% [28] 200(0.7%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 composed [35] 100.0% ---------------------------------------------------------------------- f143 [76] 1.3% make-exacts* [21] 46.1% loop [22] 52.6% [29] 15614(54.7%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [37] 98.7% f143 [76] 1.3% ---------------------------------------------------------------------- loop [37] 30.0% infer-splitpoints4 [23] 70.0% [30] 5068(17.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [38] 83.3% err-lsts->split-indices [39] 12.7% pick-errors [43] 4.0% ---------------------------------------------------------------------- finalize-iter! [24] 100.0% [31] 432(1.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [40] 100.0% ---------------------------------------------------------------------- simplify! [25] 100.0% [32] 422(1.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [36] 100.0% ---------------------------------------------------------------------- for-loop [33] 50.0% one-iter [26] 50.0% [33] 422(1.5%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [33] 50.0% match-e [41] 50.0% ---------------------------------------------------------------------- gen-series! [27] 100.0% [34] 408(1.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [42] 100.0% ---------------------------------------------------------------------- argmins [28] 100.0% [35] 200(0.7%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [55] 100.0% ---------------------------------------------------------------------- for-loop [32] 0.5% run [7] 49.8% [36] 28556(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.8% loop [8] 37.9% run-improve58 [2] 11.9% simplify [4] 0.5% ---------------------------------------------------------------------- ??? [61] 0.5% make-exacts* [21] 1.8% map [29] 3.0% infer-splitpoints4 [23] 6.4% loop [37] 88.2% [37] 23544(82.4%) 478(1.7%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [37] 88.2% option-on-expr [30] 6.4% ??? [61] 4.8% real->bigfloat [65] 0.5% ->flonum [46] 0.0% ??? [66] 0.0% ---------------------------------------------------------------------- option-on-expr [30] 100.0% [38] 4220(14.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [44] 100.0% ---------------------------------------------------------------------- option-on-expr [30] 100.0% [39] 646(2.3%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [45] 100.0% ---------------------------------------------------------------------- ??? [31] 100.0% [40] 432(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [47] 100.0% ---------------------------------------------------------------------- for-loop [11] 26.1% for-loop [33] 73.9% [41] 422(1.5%) 422(1.5%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [5] 26.1% ---------------------------------------------------------------------- for-loop [34] 100.0% [42] 408(1.4%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [48] 100.0% ---------------------------------------------------------------------- option-on-expr [30] 100.0% [43] 202(0.7%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [49] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [38] 100.0% [44] 4220(14.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [50] 89.5% ??? [58] 5.3% loop [54] 5.2% ---------------------------------------------------------------------- err-lsts->split-indices [39] 100.0% [45] 646(2.3%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [51] 100.0% ---------------------------------------------------------------------- loop [37] 100.0% [46] 456(1.6%) 226(0.8%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [77] 50.4% ---------------------------------------------------------------------- for-loop [40] 100.0% [47] 432(1.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [52] 100.0% ---------------------------------------------------------------------- taylor-alt [42] 100.0% [48] 408(1.4%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [53] 100.0% ---------------------------------------------------------------------- pick-errors [43] 100.0% [49] 202(0.7%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [62] 100.0% ---------------------------------------------------------------------- sort [44] 41.7% copying-mergesort [50] 58.3% [50] 3778(13.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [50] 58.3% loop [54] 28.5% jloop [3] 13.2% ---------------------------------------------------------------------- add-splitpoint [45] 100.0% [51] 646(2.3%) 224(0.8%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [56] 65.3% ---------------------------------------------------------------------- atab-add-altn [47] 100.0% [52] 432(1.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [55] 100.0% ---------------------------------------------------------------------- location-do [53] 24.8% for-loop [48] 75.2% [53] 408(1.4%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [57] 75.2% location-do [53] 24.8% ---------------------------------------------------------------------- sort [44] 10.9% copying-mergesort [50] 89.1% [54] 2010(7.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [58] 100.0% ---------------------------------------------------------------------- composed [35] 31.6% best-and-tied-at-points [52] 68.4% [55] 632(2.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [59] 65.2% eval-prog [62] 34.8% ---------------------------------------------------------------------- for-loop [51] 100.0% [56] 422(1.5%) 422(1.5%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ---------------------------------------------------------------------- location-do [53] 100.0% [57] 408(1.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [60] 100.0% ---------------------------------------------------------------------- sort [44] 5.3% jloop [3] 47.1% loop [54] 47.6% [58] 4220(14.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [62] 89.5% ??? [61] 10.5% ---------------------------------------------------------------------- errors [55] 100.0% [59] 412(1.4%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [61] 100.0% ---------------------------------------------------------------------- approximate9 [57] 100.0% [60] 408(1.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [63] 100.0% ---------------------------------------------------------------------- for-loop [59] 1.9% ??? [58] 2.0% loop [37] 96.2% [61] 22184(77.7%) 1832(6.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [64] 51.3% real->bigfloat [65] 17.7% loop [37] 13.7% ??? [66] 8.0% ---------------------------------------------------------------------- for-loop [49] 4.8% errors [55] 5.2% ??? [58] 90.0% [62] 4200(14.7%) 3108(10.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [67] 20.8% new-lambda [71] 5.2% ---------------------------------------------------------------------- ??? [19] 12.6% ??? [69] 29.1% ??? [70] 29.1% loop [60] 29.1% [63] 408(1.4%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [70] 29.1% ??? [69] 29.1% simplify [68] 29.1% ??? [6] 12.6% ---------------------------------------------------------------------- ??? [61] 100.0% [64] 11378(39.8%) 1450(5.1%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [72] 83.0% ...higher-order.rkt:373:33 [73] 4.2% ---------------------------------------------------------------------- loop [37] 32.0% ??? [61] 68.0% [65] 5780(20.2%) 5090(17.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [82] 11.9% ---------------------------------------------------------------------- loop [37] 35.1% ??? [61] 64.9% [66] 2732(9.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [77] 100.0% ---------------------------------------------------------------------- eval-prog [62] 100.0% [67] 872(3.1%) 444(1.6%) parse-lambda ...llects/racket/private/kw.rkt:393:2 loop [74] 49.1% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [68] 408(1.4%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [75] 50.5% f143 [76] 49.5% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [69] 408(1.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [63] 100.0% ---------------------------------------------------------------------- hash-ref! [63] 100.0% [70] 408(1.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [63] 100.0% ---------------------------------------------------------------------- eval-prog [62] 100.0% [71] 220(0.8%) 220(0.8%) new-lambda ...ollects/racket/private/kw.rkt:631:11 ---------------------------------------------------------------------- ??? [64] 100.0% [72] 9446(33.1%) 3746(13.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [77] 28.2% bfdiv [78] 20.4% bflog [79] 11.8% ---------------------------------------------------------------------- ??? [64] 100.0% [73] 482(1.7%) 482(1.7%) ...higher-order.rkt:373:33 (unknown source) ---------------------------------------------------------------------- parse-lambda [67] 100.0% [74] 428(1.5%) 428(1.5%) loop .../collects/racket/private/stxcase.rkt:112:7 ---------------------------------------------------------------------- simplify [68] 33.3% parse-loop50 [75] 66.7% [75] 206(0.7%) 206(0.7%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [75] 66.7% ---------------------------------------------------------------------- simplify [68] 33.3% map [29] 66.7% [76] 202(0.7%) 0(0.0%) f143 .../collects/racket/match/compiler.rkt:499:40 map [29] 66.7% combine-mterms [80] 33.3% ---------------------------------------------------------------------- ->flonum [46] 4.1% ??? [72] 47.3% ??? [66] 48.6% [77] 5622(19.7%) 3300(11.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [81] 41.3% ---------------------------------------------------------------------- ??? [72] 100.0% [78] 1926(6.7%) 1266(4.4%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [82] 34.3% ---------------------------------------------------------------------- ??? [72] 100.0% [79] 1114(3.9%) 878(3.1%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [82] 21.2% ---------------------------------------------------------------------- f143 [76] 100.0% [80] 202(0.7%) 202(0.7%) combine-mterms ...herbie/src/core/reduce.rkt:182:0 ---------------------------------------------------------------------- ??? [77] 100.0% [81] 2322(8.1%) 1352(4.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [83] 41.8% ---------------------------------------------------------------------- bflog [79] 14.9% bfdiv [78] 41.6% real->bigfloat [65] 43.5% [82] 1586(5.6%) 1586(5.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [81] 100.0% [83] 970(3.4%) 970(3.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------