Profiling results ----------------- Total cpu time observed: 32242ms (out of 32792ms) Number of samples taken: 139 (once every 232ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [16] 100.0% [1] 31820(98.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ----------------------------------------------------------------------- ??? [16] 100.0% [2] 3790(11.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 44.2% for-loop [7] 38.9% loop [20] 16.9% ----------------------------------------------------------------------- hash-ref! [45] 100.0% [3] 622(1.9%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [35] 100.0% ----------------------------------------------------------------------- copying-mergesort [26] 100.0% [4] 398(1.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [36] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 98.7% [5] 32242(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [16] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 1676(5.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [8] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1474(4.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [9] 100.0% ----------------------------------------------------------------------- get-final-combination [6] 100.0% [8] 1676(5.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [10] 100.0% ----------------------------------------------------------------------- for-loop [7] 100.0% [9] 1474(4.6%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [11] 43.3% localize-error [23] 28.6% finalize-iter! [12] 28.1% ----------------------------------------------------------------------- split-table [8] 100.0% [10] 1676(5.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [13] 88.1% exprs-to-branch-on [15] 11.9% ----------------------------------------------------------------------- run-iter! [9] 100.0% [11] 638(2.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [14] 100.0% ----------------------------------------------------------------------- run-iter! [9] 100.0% [12] 414(1.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [37] 100.0% ----------------------------------------------------------------------- infer-splitpoints4 [10] 100.0% [13] 1476(4.6%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [17] 86.4% pick-errors [18] 13.6% ----------------------------------------------------------------------- simplify! [11] 100.0% [14] 638(2.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [16] 100.0% ----------------------------------------------------------------------- infer-splitpoints4 [10] 100.0% [15] 200(0.6%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [19] 100.0% ----------------------------------------------------------------------- for-loop [14] 0.7% run [5] 50.3% [16] 32242(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.0% loop [20] 44.8% run-improve58 [2] 5.5% simplify [22] 0.7% ----------------------------------------------------------------------- option-on-expr [13] 100.0% [17] 1276(4.0%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [21] 100.0% ----------------------------------------------------------------------- option-on-expr [13] 100.0% [18] 200(0.6%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [24] 100.0% ----------------------------------------------------------------------- exprs-to-branch-on [15] 100.0% [19] 200(0.6%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [23] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 2.2% ??? [16] 97.8% [20] 29092(90.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [29] 52.9% loop [25] 43.4% loop [30] 3.0% for-loop [28] 0.7% ----------------------------------------------------------------------- sort-context-on-expr [17] 100.0% [21] 1276(4.0%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [26] 65.5% loop [31] 34.5% ----------------------------------------------------------------------- ??? [16] 100.0% [22] 638(2.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [27] 65.5% iterate-egraph!5 [32] 34.5% ----------------------------------------------------------------------- critical-subexpression [19] 32.2% run-iter! [9] 67.8% [23] 622(1.9%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [45] 100.0% ----------------------------------------------------------------------- pick-errors [18] 100.0% [24] 200(0.6%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [40] 100.0% ----------------------------------------------------------------------- loop [20] 100.0% [25] 12618(39.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [30] 59.9% make-exacts* [29] 38.6% eval-prog [40] 1.5% ----------------------------------------------------------------------- sort [21] 29.4% copying-mergesort [26] 70.6% [26] 836(2.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [26] 70.6% loop [31] 17.5% jloop [4] 11.9% ----------------------------------------------------------------------- simplify [22] 100.0% [27] 418(1.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [32] 51.7% debug7 [34] 48.3% ----------------------------------------------------------------------- loop [20] 100.0% [28] 202(0.6%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [33] 100.0% ----------------------------------------------------------------------- loop [25] 24.0% loop [20] 76.0% [29] 20260(62.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [35] 52.6% loop [56] 45.2% eval-prog [40] 2.2% ----------------------------------------------------------------------- loop [20] 10.5% loop [25] 89.5% [30] 8438(26.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [35] 100.0% ----------------------------------------------------------------------- copying-mergesort [26] 49.9% sort [21] 50.1% [31] 878(2.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [36] 100.0% ----------------------------------------------------------------------- simplify-expr [27] 49.5% simplify [22] 50.5% [32] 436(1.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [38] 100.0% ----------------------------------------------------------------------- for-loop [28] 100.0% [33] 202(0.6%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-double [39] 100.0% ----------------------------------------------------------------------- simplify-expr [27] 100.0% [34] 202(0.6%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [37] 100.0% ----------------------------------------------------------------------- f6 [3] 3.2% loop [30] 42.8% make-exacts* [29] 54.1% [35] 19724(61.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [56] 97.4% ??? [41] 2.6% ----------------------------------------------------------------------- jloop [4] 31.2% loop [31] 68.8% [36] 1276(4.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [40] 82.8% ??? [60] 17.2% ----------------------------------------------------------------------- debug7 [34] 32.8% finalize-iter! [12] 67.2% [37] 616(1.9%) 202(0.6%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [43] 67.2% ----------------------------------------------------------------------- iterate-egraph!5 [32] 100.0% [38] 436(1.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [42] 100.0% ----------------------------------------------------------------------- for-loop [33] 100.0% [39] 202(0.6%) 0(0.0%) sample-double .../src/syntax/distributions.rkt:8:0 random-exp [44] 100.0% ----------------------------------------------------------------------- loop [25] 10.1% for-loop [24] 10.6% make-exacts* [29] 23.5% ??? [36] 55.8% [40] 1892(5.9%) 1248(3.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [45] 11.8% ??? [47] 11.6% new-lambda [49] 10.6% ----------------------------------------------------------------------- loop [56] 50.0% map [35] 50.0% [41] 622(1.9%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [45] 100.0% ----------------------------------------------------------------------- for-loop [42] 50.0% one-iter [38] 50.0% [42] 436(1.4%) 216(0.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [42] 50.0% match-e [48] 25.2% ----------------------------------------------------------------------- ??? [37] 100.0% [43] 414(1.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [46] 100.0% ----------------------------------------------------------------------- sample-double [39] 100.0% [44] 202(0.6%) 202(0.6%) random-exp ...ztatlock/herbie/src/common.rkt:153:0 ----------------------------------------------------------------------- eval-prog [40] 8.8% loop [56] 17.7% localize-error [23] 21.4% ??? [41] 52.2% [45] 846(2.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 f6 [3] 34.8% parse-loop12 [50] 34.0% ??? [53] 17.7% bigfloat-hash [52] 8.8% ??? [55] 4.7% ----------------------------------------------------------------------- for-loop [43] 100.0% [46] 414(1.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [51] 100.0% ----------------------------------------------------------------------- eval-prog [40] 100.0% [47] 220(0.7%) 220(0.7%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ----------------------------------------------------------------------- for-loop [42] 100.0% [48] 220(0.7%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 constant? [54] 100.0% ----------------------------------------------------------------------- eval-prog [40] 100.0% [49] 200(0.6%) 200(0.6%) new-lambda ...ollects/racket/private/kw.rkt:631:11 ----------------------------------------------------------------------- hash-ref! [45] 100.0% [50] 622(1.9%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [56] 100.0% ----------------------------------------------------------------------- atab-add-altn [46] 100.0% [51] 414(1.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [57] 100.0% ----------------------------------------------------------------------- hash-ref! [45] 100.0% [52] 224(0.7%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [58] 100.0% ----------------------------------------------------------------------- hash-ref! [45] 100.0% [53] 224(0.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [56] 100.0% ----------------------------------------------------------------------- match-e [48] 100.0% [54] 220(0.7%) 220(0.7%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ----------------------------------------------------------------------- hash-ref! [45] 100.0% [55] 200(0.6%) 0(0.0%) ??? ...ztatlock/herbie/src/core/localize.rkt:22:13 loop [56] 100.0% ----------------------------------------------------------------------- ??? [55] 0.0% parse-loop12 [50] 0.1% make-exacts* [29] 0.7% ??? [53] 0.8% map [35] 2.3% loop [56] 96.1% [56] 29100(90.3%) 200(0.6%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [56] 96.1% ??? [60] 2.7% hash-ref! [45] 0.8% ->flonum [63] 0.3% ??? [41] 0.1% ??? [64] 0.0% ----------------------------------------------------------------------- best-and-tied-at-points [51] 100.0% [57] 414(1.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [59] 100.0% ----------------------------------------------------------------------- bigfloat-hash [52] 100.0% [58] 224(0.7%) 224(0.7%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- errors [57] 100.0% [59] 414(1.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [60] 100.0% ----------------------------------------------------------------------- ??? [36] 0.8% for-loop [59] 1.5% loop [56] 97.7% [60] 28028(86.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [61] 95.2% real->bigfloat [62] 4.0% ->flonum [63] 0.8% ----------------------------------------------------------------------- ??? [60] 100.0% [61] 26674(82.7%) 200(0.6%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [64] 97.5% ...higher-order.rkt:373:33 [66] 0.9% ??? [65] 0.8% ----------------------------------------------------------------------- ??? [60] 100.0% [62] 1134(3.5%) 1134(3.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ----------------------------------------------------------------------- ??? [60] 20.4% loop [56] 79.6% [63] 1080(3.3%) 204(0.6%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [65] 42.4% ??? [71] 38.7% ----------------------------------------------------------------------- loop [56] 1.6% ??? [61] 98.4% [64] 26434(82.0%) 23954(74.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [67] 4.4% bfsub [68] 3.4% ??? [71] 1.7% ----------------------------------------------------------------------- ??? [61] 31.8% ->flonum [63] 68.2% [65] 672(2.1%) 672(2.1%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ??? [61] 100.0% [66] 248(0.8%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [69] 100.0% ----------------------------------------------------------------------- ??? [64] 100.0% [67] 1150(3.6%) 216(0.7%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [70] 81.2% ----------------------------------------------------------------------- ??? [64] 100.0% [68] 888(2.8%) 688(2.1%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [70] 22.5% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [66]100.0% [69] 248(0.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [71] 100.0% ----------------------------------------------------------------------- bfsub [68] 17.6% bfsqrt [67] 82.4% [70] 1134(3.5%) 1134(3.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [69] 22.4% ->flonum [63] 37.7% ??? [64] 39.9% [71] 1108(3.4%) 1108(3.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 -----------------------------------------------------------------------