Profiling results ----------------- Total cpu time observed: 51110ms (out of 52296ms) Number of samples taken: 222 (once every 230ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 97 hidden) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [15] 100.0% [1] 49464(96.8%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ----------------------------------------------------------------------- location-do [58] 100.0% [2] 2704(5.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [9] 92.6% f143 [50] 7.4% ----------------------------------------------------------------------- hash-ref! [19] 100.0% [3] 1464(2.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [10] 100.0% ----------------------------------------------------------------------- hash-ref! [19] 100.0% [4] 1040(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:483:23 for-loop [11] 100.0% ----------------------------------------------------------------------- hash-ref! [19] 100.0% [5] 842(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [19] 52.5% for-loop [14] 47.5% ----------------------------------------------------------------------- hash-ref! [19] 100.0% [6] 842(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [12] 100.0% ----------------------------------------------------------------------- hash-ref! [19] 100.0% [7] 822(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [13] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 97.9% [8] 50508(98.8%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [15] 100.0% ----------------------------------------------------------------------- approximate9 [2] 100.0% [9] 2504(4.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [19] 100.0% ----------------------------------------------------------------------- ??? [3] 100.0% [10] 1464(2.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [19] 100.0% ----------------------------------------------------------------------- ??? [4] 100.0% [11] 1040(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:487:35 parse-loop457 [59] 100.0% ----------------------------------------------------------------------- ??? [6] 100.0% [12] 842(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [19] 52.5% ??? [17] 23.8% simplify [25] 23.8% ----------------------------------------------------------------------- ??? [7] 100.0% [13] 822(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [16] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [14] 400(0.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [19] 100.0% ----------------------------------------------------------------------- for-loop [47] 0.4% run [8] 50.2% [15] 51110(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.2% loop [21] 43.1% run-improve58 [18] 8.3% simplify [20] 0.4% ----------------------------------------------------------------------- for-loop [13] 100.0% [16] 822(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [19] 100.0% ----------------------------------------------------------------------- for-loop [12] 100.0% [17] 200(0.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [19] 100.0% ----------------------------------------------------------------------- ??? [15] 100.0% [18] 8282(16.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [22] 52.4% get-final-combination [23] 38.7% loop [21] 8.9% ----------------------------------------------------------------------- ??? [17] 1.6% for-loop [12] 4.0% ??? [5] 4.0% for-loop [14] 4.3% for-loop [16] 6.6% for-loop [64] 6.6% for-loop [10] 12.9% ??? [24] 26.1% loop [9] 34.1% [19] 2504(4.9%) 200(0.4%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [24] 26.1% simplify [25] 19.1% ??? [3] 12.9% ??? [4] 10.9% ??? [5] 8.2% ??? [6] 8.2% ??? [7] 6.6% ----------------------------------------------------------------------- ??? [15] 100.0% [20] 622(1.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [26] 67.5% for-loop [27] 32.5% ----------------------------------------------------------------------- run-improve58 [18] 1.7% ??? [15] 98.3% [21] 43566(85.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [28] 50.6% make-exacts* [34] 37.5% loop [35] 11.4% filter-points [33] 0.5% ----------------------------------------------------------------------- run-improve58 [18] 100.0% [22] 4338(8.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [29] 100.0% ----------------------------------------------------------------------- run-improve58 [18] 100.0% [23] 3206(6.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [30] 100.0% ----------------------------------------------------------------------- hash-ref! [19] 100.0% [24] 2304(4.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [19] 100.0% ----------------------------------------------------------------------- for-loop [12] 8.7% loop [52] 8.7% hash-ref! [19] 82.5% [25] 2286(4.5%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop457 [59] 64.0% debug7 [32] 18.4% f143 [50] 8.8% ??? [67] 8.7% ----------------------------------------------------------------------- simplify [20] 100.0% [26] 420(0.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [31] 100.0% ----------------------------------------------------------------------- simplify [20] 100.0% [27] 202(0.4%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [31] 100.0% ----------------------------------------------------------------------- loop [21] 100.0% [28] 22024(43.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [35] 63.1% make-exacts* [34] 36.9% ----------------------------------------------------------------------- for-loop [22] 100.0% [29] 4338(8.5%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 gen-series! [37] 62.3% finalize-iter! [38] 18.7% simplify! [40] 14.3% localize-error [42] 4.7% ----------------------------------------------------------------------- get-final-combination [23] 100.0% [30] 3206(6.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [36] 100.0% ----------------------------------------------------------------------- for-loop [27] 32.5% simplify-expr [26] 67.5% [31] 622(1.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [39] 100.0% ----------------------------------------------------------------------- simplify [25] 100.0% [32] 420(0.8%) 220(0.4%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [45] 47.6% ----------------------------------------------------------------------- loop [21] 100.0% [33] 238(0.5%) 0(0.0%) filter-points ...tlock/herbie/src/points.rkt:101:0 for-loop [41] 100.0% ----------------------------------------------------------------------- loop [28] 33.2% loop [21] 66.8% [34] 24456(47.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [43] 54.7% loop [52] 45.3% ----------------------------------------------------------------------- loop [21] 26.4% loop [28] 73.6% [35] 18872(36.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [43] 100.0% ----------------------------------------------------------------------- split-table [30] 100.0% [36] 3206(6.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [57] 72.2% loop [52] 27.8% ----------------------------------------------------------------------- run-iter! [29] 100.0% [37] 2704(5.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [44] 100.0% ----------------------------------------------------------------------- run-iter! [29] 100.0% [38] 810(1.6%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [45] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [31] 100.0% [39] 622(1.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [46] 100.0% ----------------------------------------------------------------------- run-iter! [29] 100.0% [40] 622(1.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [47] 100.0% ----------------------------------------------------------------------- filter-points [33] 100.0% [41] 238(0.5%) 238(0.5%) for-loop ...e/ztatlock/herbie/src/points.rkt:104:4 ----------------------------------------------------------------------- run-iter! [29] 100.0% [42] 202(0.4%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 sort [68] 100.0% ----------------------------------------------------------------------- parse-loop457 [59] 0.6% f143 [50] 0.6% make-exacts* [34] 41.0% loop [35] 57.8% [43] 32652(63.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [52] 97.0% ??? [56] 2.4% f143 [50] 0.4% parse-loop457 [59] 0.2% ----------------------------------------------------------------------- gen-series! [37] 100.0% [44] 2704(5.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [48] 100.0% ----------------------------------------------------------------------- debug7 [32] 19.8% finalize-iter! [38] 80.2% [45] 1010(2.0%) 200(0.4%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [49] 80.2% ----------------------------------------------------------------------- for-loop [46] 50.0% one-iter [39] 50.0% [46] 622(1.2%) 220(0.4%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [46] 50.0% match-e [51] 32.3% ----------------------------------------------------------------------- simplify! [40] 100.0% [47] 622(1.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [15] 100.0% ----------------------------------------------------------------------- for-loop [44] 100.0% [48] 2704(5.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [53] 100.0% ----------------------------------------------------------------------- ??? [45] 100.0% [49] 810(1.6%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [54] 100.0% ----------------------------------------------------------------------- simplify [25] 8.1% map [43] 16.3% approximate9 [2] 32.3% parse-loop457 [59] 43.3% [50] 620(1.2%) 202(0.4%) f143 .../collects/racket/match/compiler.rkt:499:40 parse-loop457 [59] 35.2% loop [52] 32.3% map [43] 24.4% ----------------------------------------------------------------------- for-loop [46] 100.0% [51] 402(0.8%) 200(0.4%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [55] 50.2% ----------------------------------------------------------------------- f143 [50] 0.4% parse-loop457 [59] 1.4% infer-splitpoints4 [36] 2.0% map [43] 3.4% make-exacts* [34] 3.4% loop [52] 89.4% [52] 44672(87.4%) 236(0.5%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [52] 89.4% ??? [56] 6.2% option-on-expr [57] 2.0% parse-loop457 [59] 1.9% simplify [25] 0.4% ->flonum [76] 0.1% ----------------------------------------------------------------------- taylor-alt [48] 100.0% [53] 2704(5.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [58] 100.0% ----------------------------------------------------------------------- for-loop [49] 100.0% [54] 810(1.6%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [60] 100.0% ----------------------------------------------------------------------- match-e [51] 100.0% [55] 202(0.4%) 202(0.4%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ----------------------------------------------------------------------- map [43] 1.9% loop [52] 98.1% [56] 41974(82.1%) 1928(3.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [61] 78.2% real->bigfloat [62] 13.5% ??? [82] 3.1% ----------------------------------------------------------------------- loop [52] 27.8% infer-splitpoints4 [36] 72.2% [57] 3206(6.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [63] 87.1% pick-errors [66] 12.9% ----------------------------------------------------------------------- for-loop [53] 45.7% location-do [58] 54.3% [58] 2704(5.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [58] 54.3% approximate9 [2] 45.7% ----------------------------------------------------------------------- f143 [50] 1.9% map [43] 10.7% loop [52] 14.1% for-loop [11] 21.0% simplify [25] 23.5% parse-loop457 [59] 28.8% [59] 1884(3.7%) 1480(2.9%) parse-loop457 .../racket/match/compiler.rkt:410:15 parse-loop457 [59] 28.8% f143 [50] 12.7% loop [52] 12.3% for-loop [64] 9.4% ??? [67] 2.1% map [43] 1.8% ----------------------------------------------------------------------- atab-add-altn [54] 100.0% [60] 810(1.6%) 200(0.4%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [65] 75.3% ----------------------------------------------------------------------- ??? [56] 100.0% [61] 32840(64.3%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [74] 95.2% bf* [69] 4.1% ...higher-order.rkt:373:33 [71] 0.6% ----------------------------------------------------------------------- ??? [56] 100.0% [62] 5648(11.1%) 4766(9.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [89] 15.6% ----------------------------------------------------------------------- option-on-expr [57] 100.0% [63] 2792(5.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [68] 100.0% ----------------------------------------------------------------------- parse-loop457 [59] 100.0% [64] 822(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:490:59 hash-ref! [19] 100.0% ----------------------------------------------------------------------- best-and-tied-at-points [60] 100.0% [65] 610(1.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [90] 67.2% for-loop [73] 32.8% ----------------------------------------------------------------------- option-on-expr [57] 100.0% [66] 414(0.8%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [70] 100.0% ----------------------------------------------------------------------- simplify [25] 49.8% parse-loop457 [59] 50.2% [67] 402(0.8%) 200(0.4%) ??? /home/ztatlock/herbie/src/core/reduce.rkt:52:5 for-loop [72] 50.2% ----------------------------------------------------------------------- localize-error [42] 6.7% sort-context-on-expr [63] 93.3% [68] 2994(5.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [75] 71.9% loop [81] 21.4% errors-score [78] 6.7% ----------------------------------------------------------------------- ??? [61] 100.0% [69] 1358(2.7%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [74] 100.0% ----------------------------------------------------------------------- pick-errors [66] 100.0% [70] 414(0.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 ->flonum [76] 51.2% eval-prog [90] 48.8% ----------------------------------------------------------------------- ??? [61] 100.0% [71] 204(0.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [77] 100.0% ----------------------------------------------------------------------- ??? [67] 100.0% [72] 202(0.4%) 0(0.0%) for-loop ...atlock/herbie/src/core/reduce.rkt:53:7 pattern-match [79] 100.0% ----------------------------------------------------------------------- errors [65] 100.0% [73] 200(0.4%) 200(0.4%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ----------------------------------------------------------------------- bf* [69] 4.2% ??? [61] 95.8% [74] 32636(63.9%) 26600(52.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog [80] 9.9% ??? [87] 5.2% bfmul [83] 3.4% ----------------------------------------------------------------------- sort [68] 39.0% copying-mergesort [75] 61.0% [75] 2152(4.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [75] 61.0% loop [81] 26.6% jloop [84] 12.4% ----------------------------------------------------------------------- for-loop [70] 15.9% loop [52] 84.1% [76] 1330(2.6%) 454(0.9%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [87] 35.2% ??? [85] 15.8% ??? [86] 14.9% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [71]100.0% [77] 204(0.4%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [82] 100.0% ----------------------------------------------------------------------- sort [68] 100.0% [78] 202(0.4%) 202(0.4%) errors-score ...atlock/herbie/src/points.rkt:154:0 ----------------------------------------------------------------------- for-loop [72] 100.0% [79] 202(0.4%) 202(0.4%) pattern-match .../herbie/src/core/matcher.rkt:47:0 ----------------------------------------------------------------------- ??? [74] 100.0% [80] 3244(6.3%) 2340(4.6%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [89] 27.9% ----------------------------------------------------------------------- sort [68] 37.1% copying-mergesort [75] 62.9% [81] 1724(3.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [88] 100.0% ----------------------------------------------------------------------- ??? [77] 13.4% ??? [56] 86.6% [82] 1524(3.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [87] 100.0% ----------------------------------------------------------------------- ??? [74] 100.0% [83] 1100(2.2%) 920(1.8%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [89] 16.4% ----------------------------------------------------------------------- copying-mergesort [75] 100.0% [84] 1068(2.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [88] 100.0% ----------------------------------------------------------------------- ->flonum [76] 100.0% [85] 210(0.4%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [89] 100.0% ----------------------------------------------------------------------- ->flonum [76] 100.0% [86] 198(0.4%) 198(0.4%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ->flonum [76] 12.7% ??? [82] 41.4% ??? [74] 45.9% [87] 3684(7.2%) 2382(4.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [91] 35.3% ----------------------------------------------------------------------- jloop [84] 38.3% loop [81] 61.7% [88] 2792(5.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [90] 100.0% ----------------------------------------------------------------------- bfmul [83] 8.3% ??? [85] 9.7% real->bigfloat [62] 40.5% bflog [80] 41.5% [89] 2176(4.3%) 2176(4.3%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- for-loop [70] 5.9% errors [65] 12.0% ??? [88] 82.0% [90] 3404(6.7%) 2968(5.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [93] 6.7% go [94] 6.1% ----------------------------------------------------------------------- ??? [87] 100.0% [91] 1302(2.5%) 838(1.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [92] 35.6% ----------------------------------------------------------------------- ??? [91] 100.0% [92] 464(0.9%) 464(0.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------- eval-prog [90] 100.0% [93] 228(0.4%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [95] 100.0% ----------------------------------------------------------------------- eval-prog [90] 100.0% [94] 208(0.4%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [96] 100.0% ----------------------------------------------------------------------- ??? [93] 100.0% [95] 228(0.4%) 228(0.4%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ----------------------------------------------------------------------- go [94] 100.0% [96] 208(0.4%) 208(0.4%) loop ...llects/racket/private/qq-and-or.rkt:101:61 -----------------------------------------------------------------------