Profiling results ----------------- Total cpu time observed: 10720ms (out of 11068ms) Number of samples taken: 55 (once every 195ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 86 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [29] 100.0% [1] 10410(97.1%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ---------------------------------------------------------------------- ??? [29] 100.0% [2] 3268(30.5%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [9] 50.4% get-final-combination [10] 49.6% ---------------------------------------------------------------------- loop [59] 13.1% ??? [29] 86.9% [3] 1202(11.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [11] 66.6% for-loop [12] 33.4% ---------------------------------------------------------------------- copying-mergesort [43] 100.0% [4] 432(4.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [55] 100.0% ---------------------------------------------------------------------- hash-ref! [62] 100.0% [5] 402(3.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [13] 100.0% ---------------------------------------------------------------------- hash-ref! [62] 100.0% [6] 316(2.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [59] 100.0% ---------------------------------------------------------------------- hash-ref! [62] 100.0% [7] 202(1.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [14] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [8] 10410(97.1%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [29] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1648(15.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 1620(15.1%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 90.2% extract-alt [18] 9.8% ---------------------------------------------------------------------- simplify [3] 100.0% [11] 800(7.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [17] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [12] 402(3.8%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [17] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [13] 402(3.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [62] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [14] 202(1.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 hash-ref! [62] 50.0% simplify [68] 50.0% ---------------------------------------------------------------------- for-loop [9] 100.0% [15] 1648(15.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [21] 63.3% gen-series! [22] 24.4% finalize-iter! [23] 12.3% ---------------------------------------------------------------------- get-final-combination [10] 100.0% [16] 1462(13.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [19] 100.0% ---------------------------------------------------------------------- for-loop [12] 33.4% simplify-expr [11] 66.6% [17] 1202(11.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [20] 100.0% ---------------------------------------------------------------------- get-final-combination [10] 100.0% [18] 158(1.5%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [59] 100.0% ---------------------------------------------------------------------- split-table [16] 100.0% [19] 1462(13.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [24] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [17] 100.0% [20] 1202(11.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [25] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [21] 1044(9.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [26] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [22] 402(3.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [23] 202(1.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [28] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [24] 1462(13.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [30] 87.0% err-lsts->split-indices [34] 13.0% ---------------------------------------------------------------------- for-loop [25] 50.0% one-iter [20] 50.0% [25] 1202(11.2%) 560(5.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [25] 50.0% match-e [31] 26.7% ---------------------------------------------------------------------- simplify! [21] 100.0% [26] 1044(9.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [29] 100.0% ---------------------------------------------------------------------- gen-series! [22] 100.0% [27] 402(3.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [32] 100.0% ---------------------------------------------------------------------- finalize-iter! [23] 100.0% [28] 202(1.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [33] 100.0% ---------------------------------------------------------------------- for-loop [26] 3.2% run [8] 46.9% [29] 10720(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.9% loop [35] 36.2% run-improve58 [2] 13.6% simplify [3] 3.2% ---------------------------------------------------------------------- option-on-expr [24] 100.0% [30] 1272(11.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [36] 100.0% ---------------------------------------------------------------------- for-loop [44] 15.6% for-loop [25] 84.4% [31] 642(6.0%) 200(1.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [37] 50.2% constant? [39] 34.3% ---------------------------------------------------------------------- for-loop [27] 100.0% [32] 402(3.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [38] 100.0% ---------------------------------------------------------------------- ??? [28] 100.0% [33] 202(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [40] 100.0% ---------------------------------------------------------------------- option-on-expr [24] 100.0% [34] 190(1.8%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 for-loop [41] 100.0% ---------------------------------------------------------------------- ??? [29] 100.0% [35] 7452(69.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [42] 59.7% make-exacts* [48] 28.5% loop [49] 11.8% ---------------------------------------------------------------------- sort-context-on-expr [30] 100.0% [36] 1272(11.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 66.0% loop [50] 34.0% ---------------------------------------------------------------------- match-e [31] 100.0% [37] 422(3.9%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [44] 100.0% ---------------------------------------------------------------------- taylor-alt [32] 100.0% [38] 402(3.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [45] 100.0% ---------------------------------------------------------------------- match-e [31] 100.0% [39] 220(2.1%) 220(2.1%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ---------------------------------------------------------------------- for-loop [33] 100.0% [40] 202(1.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [46] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [34] 100.0% [41] 190(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:262:4 range [47] 100.0% ---------------------------------------------------------------------- loop [35] 100.0% [42] 4448(41.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [49] 48.4% make-exacts* [48] 37.4% eval-prog [60] 14.2% ---------------------------------------------------------------------- sort [36] 33.2% copying-mergesort [43] 66.8% [43] 840(7.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 66.8% loop [50] 20.3% jloop [4] 12.9% ---------------------------------------------------------------------- for-loop [37] 100.0% [44] 422(3.9%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ??? [52] 52.6% match-e [31] 47.4% ---------------------------------------------------------------------- for-loop [38] 100.0% [45] 402(3.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [51] 100.0% ---------------------------------------------------------------------- atab-add-altn [40] 100.0% [46] 202(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [53] 100.0% ---------------------------------------------------------------------- for-loop [41] 100.0% [47] 190(1.8%) 190(1.8%) range ...are/racket/collects/racket/list.rkt:559:2 ---------------------------------------------------------------------- loop [42] 43.9% loop [35] 56.1% [48] 3786(35.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [54] 47.0% loop [59] 40.9% eval-prog [60] 12.2% ---------------------------------------------------------------------- loop [35] 29.0% loop [42] 71.0% [49] 3034(28.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [54] 100.0% ---------------------------------------------------------------------- copying-mergesort [43] 48.6% sort [36] 51.4% [50] 840(7.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [55] 100.0% ---------------------------------------------------------------------- location-do [45] 100.0% [51] 402(3.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [56] 100.0% ---------------------------------------------------------------------- for-loop [44] 100.0% [52] 222(2.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [57] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [46] 100.0% [53] 202(1.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [58] 100.0% ---------------------------------------------------------------------- make-exacts* [48] 36.9% loop [49] 63.1% [54] 4812(44.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [59] 96.4% ??? [61] 3.6% ---------------------------------------------------------------------- jloop [4] 34.0% loop [50] 66.0% [55] 1272(11.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [60] 100.0% ---------------------------------------------------------------------- approximate9 [51] 100.0% [56] 402(3.8%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [62] 100.0% ---------------------------------------------------------------------- ??? [52] 100.0% [57] 222(2.1%) 222(2.1%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ---------------------------------------------------------------------- errors [53] 100.0% [58] 202(1.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ->flonum [63] 100.0% ---------------------------------------------------------------------- extract-alt [18] 0.8% make-exacts* [48] 0.9% map [54] 2.0% ??? [6] 4.7% loop [59] 91.7% [59] 6662(62.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [59] 91.7% hash-ref! [62] 4.7% ??? [61] 2.8% simplify [3] 0.8% ->flonum [63] 0.0% ---------------------------------------------------------------------- make-exacts* [48] 19.5% loop [42] 26.7% ??? [55] 53.8% [60] 2364(22.1%) 864(8.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [62] 54.7% parse-lambda [64] 8.8% ---------------------------------------------------------------------- map [54] 3.0% loop [59] 97.0% [61] 5816(54.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [65] 79.6% real->bigfloat [66] 20.4% ---------------------------------------------------------------------- for-loop [14] 2.0% ??? [69] 5.9% loop [56] 5.9% for-loop [13] 7.9% loop [59] 13.7% eval-prog [60] 62.5% [62] 1694(15.8%) 200(1.9%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [67] 50.7% ??? [6] 13.7% ??? [5] 7.9% ??? [69] 5.9% ??? [7] 4.0% simplify [68] 3.9% ---------------------------------------------------------------------- for-loop [58] 27.1% loop [59] 72.9% [63] 746(7.0%) 170(1.6%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [83] 50.1% ??? [70] 27.1% ---------------------------------------------------------------------- eval-prog [60] 100.0% [64] 208(1.9%) 208(1.9%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ---------------------------------------------------------------------- ??? [61] 100.0% [65] 4630(43.2%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [71] 92.6% ...higher-order.rkt:373:33 [74] 7.4% ---------------------------------------------------------------------- ??? [61] 100.0% [66] 1186(11.1%) 502(4.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [81] 57.7% ---------------------------------------------------------------------- hash-ref! [62] 100.0% [67] 1092(10.2%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [72] 68.5% sig+exp->bigfloat [73] 31.5% ---------------------------------------------------------------------- hash-ref! [62] 49.8% for-loop [14] 50.2% [68] 402(3.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug7 [75] 50.2% parse-loop50 [76] 49.8% ---------------------------------------------------------------------- hash-ref! [62] 100.0% [69] 402(3.8%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [62] 100.0% ---------------------------------------------------------------------- ->flonum [63] 100.0% [70] 202(1.9%) 202(1.9%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [65] 100.0% [71] 4286(40.0%) 156(1.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [77] 48.1% bfsqrt [78] 36.5% ??? [83] 11.7% ---------------------------------------------------------------------- bigfloat-hash [67] 100.0% [72] 748(7.0%) 748(7.0%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- bigfloat-hash [67] 100.0% [73] 344(3.2%) 344(3.2%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- ??? [65] 100.0% [74] 344(3.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [79] 100.0% ---------------------------------------------------------------------- simplify [68] 100.0% [75] 202(1.9%) 202(1.9%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ---------------------------------------------------------------------- simplify [68] 100.0% [76] 200(1.9%) 0(0.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-app [80] 100.0% ---------------------------------------------------------------------- ??? [71] 100.0% [77] 2062(19.2%) 1896(17.7%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [81] 8.1% ---------------------------------------------------------------------- ??? [71] 100.0% [78] 1566(14.6%) 1066(9.9%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [81] 31.9% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [74]100.0% [79] 344(3.2%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [82] 100.0% ---------------------------------------------------------------------- parse-loop50 [76] 100.0% [80] 200(1.9%) 200(1.9%) parse-app .../collects/racket/private/kw.rkt:903:2 ---------------------------------------------------------------------- bfdiv [77] 12.3% bfsqrt [78] 37.0% real->bigfloat [66] 50.7% [81] 1350(12.6%) 1350(12.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [79] 100.0% [82] 344(3.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [83] 100.0% ---------------------------------------------------------------------- ??? [82] 28.2% ->flonum [63] 30.7% ??? [71] 41.1% [83] 1220(11.4%) 860(8.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [84] 29.5% ---------------------------------------------------------------------- ??? [83] 100.0% [84] 360(3.4%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [85] 100.0% ---------------------------------------------------------------------- ??? [84] 100.0% [85] 360(3.4%) 360(3.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------