Profiling results ----------------- Total cpu time observed: 21620ms (out of 20996ms) Number of samples taken: 77 (once every 281ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [25] 100.0% [1] 21118(97.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [25] 100.0% [2] 9740(45.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 70.4% for-loop [7] 27.1% loop [30] 2.5% ---------------------------------------------------------------------- copying-mergesort [35] 100.0% [3] 2294(10.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [46] 91.4% ??? [50] 8.6% ---------------------------------------------------------------------- ??? [25] 100.0% [4] 1746(8.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [8] 75.0% iterate-egraph!5 [12] 12.6% mk-egraph [9] 12.4% ---------------------------------------------------------------------- profile-thunk14 [1] 98.9% [5] 21350(98.8%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [25] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 6854(31.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [10] 96.6% extract-alt [13] 3.4% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 2642(12.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% ---------------------------------------------------------------------- simplify [4] 100.0% [8] 1310(6.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [12] 81.8% debug7 [18] 18.2% ---------------------------------------------------------------------- simplify [4] 100.0% [9] 216(1.0%) 216(1.0%) mk-egraph ...lock/herbie/src/core/egraph.rkt:123:0 ---------------------------------------------------------------------- get-final-combination [6] 100.0% [10] 6618(30.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [14] 100.0% ---------------------------------------------------------------------- for-loop [7] 100.0% [11] 2642(12.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [15] 66.1% finalize-iter! [17] 25.2% debug7 [18] 8.7% ---------------------------------------------------------------------- simplify [4] 17.0% simplify-expr [8] 83.0% [12] 1292(6.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [16] 100.0% ---------------------------------------------------------------------- get-final-combination [6] 100.0% [13] 236(1.1%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 argmins [19] 100.0% ---------------------------------------------------------------------- split-table [10] 100.0% [14] 6618(30.6%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [20] 73.0% loop [48] 27.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [15] 1746(8.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [21] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [12] 100.0% [16] 1292(6.0%) 414(1.9%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [23] 68.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [17] 666(3.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [22] 100.0% ---------------------------------------------------------------------- run-iter! [11] 49.1% simplify-expr [8] 50.9% [18] 468(2.2%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [22] 100.0% ---------------------------------------------------------------------- extract-alt [13] 100.0% [19] 236(1.1%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 composed [24] 100.0% ---------------------------------------------------------------------- loop [48] 27.0% infer-splitpoints4 [14] 73.0% [20] 6618(30.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [26] 96.4% pick-errors [29] 3.6% ---------------------------------------------------------------------- simplify! [15] 100.0% [21] 1746(8.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [25] 100.0% ---------------------------------------------------------------------- debug7 [18] 41.3% finalize-iter! [17] 58.7% [22] 1134(5.2%) 468(2.2%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [28] 58.7% ---------------------------------------------------------------------- for-loop [23] 50.0% one-iter [16] 50.0% [23] 878(4.1%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [23] 50.0% match-e [27] 50.0% ---------------------------------------------------------------------- argmins [19] 100.0% [24] 236(1.1%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [42] 100.0% ---------------------------------------------------------------------- for-loop [21] 2.7% run [5] 48.6% [25] 21620(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.5% loop [30] 28.6% run-improve58 [2] 21.2% simplify [4] 2.7% ---------------------------------------------------------------------- option-on-expr [20] 100.0% [26] 6380(29.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [31] 100.0% ---------------------------------------------------------------------- for-loop [23] 100.0% [27] 878(4.1%) 662(3.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 constant? [34] 24.6% ---------------------------------------------------------------------- ??? [22] 100.0% [28] 666(3.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [32] 100.0% ---------------------------------------------------------------------- option-on-expr [20] 100.0% [29] 238(1.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [33] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 2.0% ??? [25] 98.0% [30] 12124(56.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [39] 47.4% loop [36] 28.0% loop [40] 22.7% filter-exacts [38] 1.9% ---------------------------------------------------------------------- sort-context-on-expr [26] 100.0% [31] 6380(29.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [35] 72.7% loop [41] 27.3% ---------------------------------------------------------------------- for-loop [28] 100.0% [32] 666(3.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [37] 100.0% ---------------------------------------------------------------------- pick-errors [29] 100.0% [33] 238(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [49] 100.0% ---------------------------------------------------------------------- match-e [27] 100.0% [34] 216(1.0%) 216(1.0%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ---------------------------------------------------------------------- sort [31] 40.8% copying-mergesort [35] 59.2% [35] 4638(21.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [35] 59.2% loop [41] 28.4% jloop [3] 12.4% ---------------------------------------------------------------------- loop [30] 100.0% [36] 3392(15.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [40] 68.6% make-exacts* [39] 31.4% ---------------------------------------------------------------------- atab-add-altn [32] 100.0% [37] 666(3.1%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [42] 68.8% for-loop [44] 31.2% ---------------------------------------------------------------------- loop [30] 100.0% [38] 232(1.1%) 0(0.0%) filter-exacts ...tlock/herbie/src/points.rkt:108:0 for-loop [43] 100.0% ---------------------------------------------------------------------- loop [36] 15.6% loop [30] 84.4% [39] 6812(31.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [45] 56.4% loop [48] 43.6% ---------------------------------------------------------------------- loop [36] 45.8% loop [30] 54.2% [40] 5080(23.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [45] 100.0% ---------------------------------------------------------------------- sort [31] 42.6% copying-mergesort [35] 57.4% [41] 4086(18.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [46] 95.1% ??? [50] 4.9% ---------------------------------------------------------------------- composed [24] 34.0% best-and-tied-at-points [37] 66.0% [42] 694(3.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [49] 65.4% for-loop [47] 34.6% ---------------------------------------------------------------------- filter-exacts [38] 100.0% [43] 232(1.1%) 232(1.1%) for-loop ...e/ztatlock/herbie/src/points.rkt:111:4 ---------------------------------------------------------------------- best-and-tied-at-points [37] 100.0% [44] 208(1.0%) 208(1.0%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- make-exacts* [39] 43.0% loop [40] 57.0% [45] 8920(41.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [48] 100.0% ---------------------------------------------------------------------- jloop [3] 35.0% loop [41] 65.0% [46] 5982(27.7%) 456(2.1%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [49] 92.4% ---------------------------------------------------------------------- errors [42] 100.0% [47] 240(1.1%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [50] 100.0% ---------------------------------------------------------------------- ??? [50] 0.0% make-exacts* [39] 0.1% map [45] 0.9% ??? [60] 1.7% infer-splitpoints4 [14] 12.9% loop [48] 84.4% [48] 13922(64.4%) 530(2.5%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [48] 84.4% option-on-expr [20] 12.9% hash-ref! [55] 1.1% ??? [50] 1.0% ->flonum [52] 0.0% ??? [68] 0.0% ---------------------------------------------------------------------- for-loop [33] 3.8% errors [42] 7.3% ??? [46] 88.9% [49] 6218(28.8%) 4626(21.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [51] 10.5% inductor [53] 7.4% ??? [54] 3.9% hash-ref! [55] 3.9% ---------------------------------------------------------------------- jloop [3] 1.7% loop [41] 1.7% for-loop [47] 2.0% loop [48] 94.7% [50] 11950(55.3%) 398(1.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [56] 60.5% real->bigfloat [57] 22.9% loop [48] 6.5% ??? [68] 4.6% new [59] 2.2% ---------------------------------------------------------------------- eval-prog [49] 100.0% [51] 652(3.0%) 652(3.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 ---------------------------------------------------------------------- loop [48] 100.0% [52] 580(2.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [69] 50.0% ??? [58] 50.0% ---------------------------------------------------------------------- inductor [53] 50.0% eval-prog [49] 50.0% [53] 460(2.1%) 240(1.1%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [53] 50.0% variable? [61] 23.9% ---------------------------------------------------------------------- eval-prog [49] 100.0% [54] 240(1.1%) 240(1.1%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ---------------------------------------------------------------------- eval-prog [49] 33.3% loop [48] 66.7% [55] 240(1.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [60] 100.0% ---------------------------------------------------------------------- ??? [50] 100.0% [56] 7230(33.4%) 438(2.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [65] 46.3% ...ow-val-first.rkt:357:18 [62] 26.7% ??? [67] 10.2% bfcube [63] 7.1% ...higher-order.rkt:373:33 [64] 3.6% ---------------------------------------------------------------------- ??? [50] 100.0% [57] 2732(12.6%) 828(3.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [72] 69.7% ---------------------------------------------------------------------- ->flonum [52] 100.0% [58] 290(1.3%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [72] 100.0% ---------------------------------------------------------------------- ??? [50] 100.0% [59] 260(1.2%) 260(1.2%) new ...cket/contract/private/case-arrow.rkt:227:53 ---------------------------------------------------------------------- hash-ref! [55] 100.0% [60] 240(1.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [48] 100.0% ---------------------------------------------------------------------- inductor [53] 100.0% [61] 220(1.0%) 220(1.0%) variable? ...ck/herbie/src/syntax/syntax.rkt:218:0 ---------------------------------------------------------------------- ??? [56] 100.0% [62] 1930(8.9%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [66] 100.0% ---------------------------------------------------------------------- ??? [56] 100.0% [63] 516(2.4%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [65] 100.0% ---------------------------------------------------------------------- ??? [56] 100.0% [64] 262(1.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [66] 100.0% ---------------------------------------------------------------------- bfcube [63] 13.4% ??? [56] 86.6% [65] 3862(17.9%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [67] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [64] 12.0% ...ow-val-first.rkt:357:18 [62] 88.0% [66] 2192(10.1%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [68] 100.0% ---------------------------------------------------------------------- ??? [56] 16.0% bf* [65] 84.0% [67] 4600(21.3%) 2508(11.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [70] 35.1% ??? [69] 10.4% ---------------------------------------------------------------------- loop [48] 15.0% ??? [50] 17.1% ??? [66] 67.8% [68] 3232(14.9%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [69] 100.0% ---------------------------------------------------------------------- ->flonum [52] 7.2% ??? [67] 12.0% ??? [68] 80.8% [69] 4000(18.5%) 1238(5.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [71] 69.0% ---------------------------------------------------------------------- ??? [67] 100.0% [70] 1614(7.5%) 1068(4.9%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [72] 33.8% ---------------------------------------------------------------------- ??? [69] 100.0% [71] 2762(12.8%) 848(3.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [73] 69.3% ---------------------------------------------------------------------- ??? [58] 10.6% bfmul [70] 19.9% real->bigfloat [57] 69.5% [72] 2740(12.7%) 2740(12.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [71] 100.0% [73] 1914(8.9%) 1914(8.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------