Profiling results ----------------- Total cpu time observed: 22612ms (out of 23188ms) Number of samples taken: 101 (once every 224ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [33] 100.0% [1] 21982(97.2%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [9] 100.0% ----------------------------------------------------------------------- ??? [33] 100.0% [2] 5960(26.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [10] 67.1% get-final-combination [11] 25.7% loop [39] 7.1% ----------------------------------------------------------------------- ??? [33] 100.0% [3] 2688(11.9%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [12] 38.0% iterate-egraph!5 [17] 32.0% simplify-expr [13] 30.0% ----------------------------------------------------------------------- copying-mergesort [48] 100.0% [4] 652(2.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [67] 100.0% ----------------------------------------------------------------------- hash-ref! [75] 100.0% [5] 456(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [14] 100.0% ----------------------------------------------------------------------- hash-ref! [75] 100.0% [6] 328(1.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [71] 100.0% ----------------------------------------------------------------------- hash-ref! [75] 100.0% [7] 218(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:483:23 for-loop [15] 100.0% ----------------------------------------------------------------------- map [66] 33.3% loop [71] 66.7% [8] 216(1.0%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [75] 66.7% map [66] 33.3% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [9] 21982(97.2%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [33] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 4002(17.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [16] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [11] 1534(6.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 100.0% ----------------------------------------------------------------------- simplify [3] 100.0% [12] 1022(4.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [17] 100.0% ----------------------------------------------------------------------- simplify [3] 100.0% [13] 806(3.6%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [17] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [14] 456(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [75] 52.2% simplify [79] 47.8% ----------------------------------------------------------------------- ??? [7] 100.0% [15] 218(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:487:35 parse-loop427 [19] 100.0% ----------------------------------------------------------------------- for-loop [10] 100.0% [16] 4002(17.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 67.2% finalize-iter! [23] 16.0% gen-series! [24] 11.4% localize-error [26] 5.4% ----------------------------------------------------------------------- simplify-expr [13] 30.0% simplify [3] 32.0% for-loop [12] 38.0% [17] 2688(11.9%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [21] 100.0% ----------------------------------------------------------------------- get-final-combination [11] 100.0% [18] 1534(6.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [22] 100.0% ----------------------------------------------------------------------- hash-ref! [75] 49.8% for-loop [15] 50.2% [19] 434(1.9%) 0(0.0%) parse-loop427 .../racket/match/compiler.rkt:410:15 for-loop [25] 50.2% loop [71] 49.8% ----------------------------------------------------------------------- run-iter! [16] 100.0% [20] 2688(11.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [27] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [17] 100.0% [21] 2688(11.9%) 202(0.9%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [28] 69.3% loop [31] 23.2% ----------------------------------------------------------------------- split-table [18] 100.0% [22] 1534(6.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [29] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [23] 642(2.8%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [30] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [24] 456(2.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [32] 100.0% ----------------------------------------------------------------------- parse-loop427 [19] 100.0% [25] 218(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:490:59 hash-ref! [75] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [26] 216(1.0%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [75] 100.0% ----------------------------------------------------------------------- simplify! [20] 100.0% [27] 2688(11.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [33] 100.0% ----------------------------------------------------------------------- for-loop [28] 50.0% one-iter [21] 50.0% [28] 1862(8.2%) 1040(4.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [28] 50.0% match-e [41] 22.1% ----------------------------------------------------------------------- infer-splitpoints4 [22] 100.0% [29] 1534(6.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [34] 86.0% err-lsts->split-indices [38] 14.0% ----------------------------------------------------------------------- finalize-iter! [23] 100.0% [30] 642(2.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [35] 100.0% ----------------------------------------------------------------------- one-iter [21] 100.0% [31] 624(2.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [36] 100.0% ----------------------------------------------------------------------- gen-series! [24] 100.0% [32] 456(2.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [37] 100.0% ----------------------------------------------------------------------- for-loop [27] 4.0% run [9] 46.6% [33] 22612(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.6% loop [39] 37.7% run-improve58 [2] 11.7% simplify [3] 4.0% ----------------------------------------------------------------------- option-on-expr [29] 100.0% [34] 1320(5.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ----------------------------------------------------------------------- ??? [30] 100.0% [35] 642(2.8%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [42] 100.0% ----------------------------------------------------------------------- loop [31] 100.0% [36] 624(2.8%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [44] 35.3% match-e [41] 32.4% substitute-e [46] 32.4% ----------------------------------------------------------------------- for-loop [32] 100.0% [37] 456(2.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [43] 100.0% ----------------------------------------------------------------------- option-on-expr [29] 100.0% [38] 214(0.9%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [45] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 2.5% ??? [33] 97.5% [39] 17076(75.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [47] 53.6% make-exacts* [57] 33.6% loop [58] 11.6% for-loop [56] 1.1% ----------------------------------------------------------------------- sort-context-on-expr [34] 100.0% [40] 1320(5.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [48] 67.6% loop [59] 32.4% ----------------------------------------------------------------------- for-loop [55] 9.9% apply-match [36] 9.9% for-loop [28] 80.3% [41] 1024(4.5%) 624(2.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [51] 39.1% for-loop [55] 9.9% ----------------------------------------------------------------------- for-loop [35] 100.0% [42] 642(2.8%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [50] 66.0% loop [53] 34.0% ----------------------------------------------------------------------- taylor-alt [37] 100.0% [43] 456(2.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [49] 100.0% ----------------------------------------------------------------------- apply-match [36] 100.0% [44] 220(1.0%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [52] 100.0% ----------------------------------------------------------------------- err-lsts->split-indices [38] 100.0% [45] 214(0.9%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [54] 100.0% ----------------------------------------------------------------------- apply-match [36] 100.0% [46] 202(0.9%) 202(0.9%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 ----------------------------------------------------------------------- loop [39] 100.0% [47] 9158(40.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [58] 65.9% make-exacts* [57] 32.3% eval-prog [72] 1.7% ----------------------------------------------------------------------- sort [40] 45.2% copying-mergesort [48] 54.8% [48] 892(3.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [48] 54.8% loop [59] 26.9% jloop [4] 18.3% ----------------------------------------------------------------------- location-do [49] 50.0% for-loop [43] 50.0% [49] 456(2.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [49] 50.0% approximate9 [60] 50.0% ----------------------------------------------------------------------- atab-add-altn [42] 100.0% [50] 424(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [61] 100.0% ----------------------------------------------------------------------- match-e [41] 100.0% [51] 400(1.8%) 198(0.9%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [64] 50.5% ----------------------------------------------------------------------- loop! [44] 100.0% [52] 220(1.0%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [62] 100.0% ----------------------------------------------------------------------- atab-add-altn [42] 100.0% [53] 218(1.0%) 0(0.0%) loop ...atlock/herbie/src/core/alt-table.rkt:182:2 loop [63] 100.0% ----------------------------------------------------------------------- add-splitpoint [45] 100.0% [54] 214(0.9%) 214(0.9%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ----------------------------------------------------------------------- match-e [41] 100.0% [55] 202(0.9%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [41] 100.0% ----------------------------------------------------------------------- loop [39] 100.0% [56] 192(0.8%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [65] 100.0% ----------------------------------------------------------------------- loop [47] 34.0% loop [39] 66.0% [57] 8704(38.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [71] 51.0% map [66] 47.1% eval-prog [72] 2.0% ----------------------------------------------------------------------- loop [39] 24.7% loop [47] 75.3% [58] 8022(35.5%) 222(1.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [66] 97.2% ----------------------------------------------------------------------- copying-mergesort [48] 35.9% sort [40] 64.1% [59] 668(3.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [67] 100.0% ----------------------------------------------------------------------- location-do [49] 100.0% [60] 456(2.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [68] 100.0% ----------------------------------------------------------------------- best-and-tied-at-points [50] 100.0% [61] 424(1.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [72] 52.4% for-loop [69] 47.6% ----------------------------------------------------------------------- custom-set-union [52] 100.0% [62] 220(1.0%) 220(1.0%) for-loop ...cts/racket/private/set-types.rkt:152:2 ----------------------------------------------------------------------- loop [53] 4.3% loop [63] 95.7% [63] 218(1.0%) 218(1.0%) loop ...are/racket/collects/racket/list.rkt:431:28 loop [63] 95.7% ----------------------------------------------------------------------- for-loop [51] 100.0% [64] 202(0.9%) 202(0.9%) list-cartesian-product ...src/core/ematch.rkt:20:0 ----------------------------------------------------------------------- for-loop [56] 100.0% [65] 192(0.8%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-double [70] 100.0% ----------------------------------------------------------------------- ??? [8] 0.6% f6 [84] 3.1% make-exacts* [57] 33.2% loop [58] 63.1% [66] 12352(54.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [71] 95.1% f6 [84] 1.9% ??? [74] 1.8% ??? [8] 0.6% ->flonum [76] 0.6% ----------------------------------------------------------------------- jloop [4] 49.4% loop [59] 50.6% [67] 1320(5.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [72] 100.0% ----------------------------------------------------------------------- approximate9 [60] 100.0% [68] 456(2.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [75] 100.0% ----------------------------------------------------------------------- errors [61] 100.0% [69] 202(0.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [74] 100.0% ----------------------------------------------------------------------- for-loop [65] 100.0% [70] 192(0.8%) 0(0.0%) sample-double .../src/syntax/distributions.rkt:8:0 random-exp [73] 100.0% ----------------------------------------------------------------------- parse-loop427 [19] 0.1% map [66] 1.8% make-exacts* [57] 1.9% ??? [6] 2.0% loop [71] 94.2% [71] 16658(73.7%) 234(1.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [71] 94.2% ??? [74] 3.5% hash-ref! [75] 2.0% ??? [8] 0.2% ->flonum [76] 0.1% ----------------------------------------------------------------------- loop [47] 8.4% make-exacts* [57] 9.1% errors [61] 11.9% ??? [67] 70.6% [72] 1870(8.3%) 1542(6.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [75] 17.5% ----------------------------------------------------------------------- sample-double [70] 100.0% [73] 192(0.8%) 192(0.8%) random-exp ...ztatlock/herbie/src/common.rkt:153:0 ----------------------------------------------------------------------- for-loop [69] 1.3% map [66] 1.4% loop [71] 97.3% [74] 15870(70.2%) 636(2.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [77] 68.2% real->bigfloat [78] 17.9% ??? [92] 9.9% ----------------------------------------------------------------------- localize-error [26] 7.2% for-loop [25] 7.3% for-loop [14] 7.9% eval-prog [72] 13.6% ??? [8] 14.4% ??? [80] 15.2% loop [68] 15.2% loop [71] 19.2% [75] 1000(4.4%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [6] 19.2% ??? [80] 15.2% ??? [5] 15.2% f6 [84] 14.4% bigfloat-hash [81] 13.6% simplify [79] 7.9% ??? [7] 7.3% parse-loop427 [19] 7.2% ----------------------------------------------------------------------- map [66] 33.3% loop [71] 66.7% [76] 648(2.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [94] 100.0% ----------------------------------------------------------------------- ??? [74] 100.0% [77] 10822(47.9%) 640(2.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [82] 82.0% ...higher-order.rkt:373:33 [83] 12.0% ----------------------------------------------------------------------- ??? [74] 100.0% [78] 2838(12.6%) 2662(11.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [93] 6.2% ----------------------------------------------------------------------- for-loop [14] 47.8% hash-ref! [75] 52.2% [79] 456(2.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [84] 52.2% debug-print [85] 47.8% ----------------------------------------------------------------------- hash-ref! [75] 100.0% [80] 456(2.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [75] 100.0% ----------------------------------------------------------------------- hash-ref! [75] 100.0% [81] 328(1.5%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [86] 51.8% bfcanonicalize [87] 48.2% ----------------------------------------------------------------------- ??? [77] 100.0% [82] 8878(39.3%) 886(3.9%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog [88] 41.2% bfdiv [89] 33.9% ??? [94] 14.9% ----------------------------------------------------------------------- ??? [77] 100.0% [83] 1304(5.8%) 216(1.0%) ...higher-order.rkt:373:33 (unknown source) ??? [92] 49.1% ??? [90] 34.4% ----------------------------------------------------------------------- simplify [79] 7.5% map [66] 44.9% hash-ref! [75] 47.6% [84] 454(2.0%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [66] 92.5% gather-multiplicative-terms [91] 7.5% ----------------------------------------------------------------------- simplify [79] 100.0% [85] 218(1.0%) 218(1.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ----------------------------------------------------------------------- bigfloat-hash [81] 100.0% [86] 170(0.8%) 170(0.8%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- bigfloat-hash [81] 100.0% [87] 158(0.7%) 158(0.7%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ----------------------------------------------------------------------- ??? [82] 100.0% [88] 3658(16.2%) 2602(11.5%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [93] 28.9% ----------------------------------------------------------------------- ??? [82] 100.0% [89] 3012(13.3%) 1940(8.6%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [93] 35.6% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [83] 100.0% [90] 448(2.0%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [92] 100.0% ----------------------------------------------------------------------- f6 [84] 100.0% [91] 238(1.1%) 238(1.1%) gather-multiplicative-terms ...re/reduce.rkt:107:0 ----------------------------------------------------------------------- ??? [90] 16.8% ...higher-order.rkt:373:33 [83] 24.0% ??? [74] 59.1% [92] 2662(11.8%) 392(1.7%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [94] 85.3% ----------------------------------------------------------------------- real->bigfloat [78] 7.6% bflog [88] 45.8% bfdiv [89] 46.5% [93] 2304(10.2%) 2304(10.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ->flonum [76] 15.3% ??? [82] 31.2% ??? [92] 53.5% [94] 4240(18.8%) 1078(4.8%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [95] 63.6% ??? [96] 10.9% ----------------------------------------------------------------------- ??? [94] 100.0% [95] 2698(11.9%) 1192(5.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [97] 55.8% ----------------------------------------------------------------------- ??? [94] 100.0% [96] 464(2.1%) 238(1.1%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [98] 48.7% ----------------------------------------------------------------------- ??? [95] 100.0% [97] 1506(6.7%) 1506(6.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------- ??? [96] 100.0% [98] 226(1.0%) 226(1.0%) ??? ...lects/racket/contract/private/orc.rkt:73:14 -----------------------------------------------------------------------