Profiling results ----------------- Total cpu time observed: 21352ms (out of 21988ms) Number of samples taken: 89 (once every 240ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 72 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [7] 100.0% [1] 20950(98.1%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [2] 824(3.9%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [5] 73.1% iterate-egraph!5 [8] 26.9% ---------------------------------------------------------------------- match-e [28] 100.0% [3] 222(1.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [6] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 99.1% [4] 21148(99.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [5] 602(2.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 66.8% loop [9] 33.2% ---------------------------------------------------------------------- for-loop [3] 100.0% [6] 222(1.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [28] 100.0% ---------------------------------------------------------------------- for-loop [33] 1.3% run [4] 49.3% [7] 21352(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.4% loop [13] 43.2% run-improve58 [10] 7.1% simplify [2] 1.3% ---------------------------------------------------------------------- simplify [2] 35.6% simplify-expr [5] 64.4% [8] 624(2.9%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [11] 100.0% ---------------------------------------------------------------------- simplify-expr [5] 100.0% [9] 200(0.9%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [12] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [10] 3296(15.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [14] 50.1% for-loop [15] 37.7% loop [13] 12.3% ---------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [11] 624(2.9%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [16] 64.4% loop [17] 35.6% ---------------------------------------------------------------------- loop [9] 100.0% [12] 200(0.9%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [18] 100.0% ---------------------------------------------------------------------- run-improve58 [10] 2.2% ??? [7] 97.8% [13] 18460(86.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [19] 53.3% make-exacts* [24] 31.8% loop [25] 13.8% ---------------------------------------------------------------------- run-improve58 [10] 100.0% [14] 1650(7.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [20] 100.0% ---------------------------------------------------------------------- run-improve58 [10] 100.0% [15] 1242(5.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [21] 100.0% ---------------------------------------------------------------------- for-loop [16] 50.0% one-iter [11] 50.0% [16] 402(1.9%) 200(0.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [16] 50.0% match-e [28] 25.1% ---------------------------------------------------------------------- one-iter [11] 100.0% [17] 222(1.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [22] 100.0% ---------------------------------------------------------------------- pass [12] 100.0% [18] 200(0.9%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [23] 100.0% ---------------------------------------------------------------------- loop [13] 100.0% [19] 9842(46.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [25] 54.3% make-exacts* [24] 41.2% eval-prog [58] 2.3% loop [30] 2.2% ---------------------------------------------------------------------- get-final-combination [14] 100.0% [20] 1650(7.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [26] 100.0% ---------------------------------------------------------------------- for-loop [15] 100.0% [21] 1242(5.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [27] 66.3% localize-error [29] 33.7% ---------------------------------------------------------------------- loop [17] 100.0% [22] 222(1.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [28] 100.0% ---------------------------------------------------------------------- for-loop [18] 100.0% [23] 200(0.9%) 200(0.9%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ---------------------------------------------------------------------- loop [19] 40.8% loop [13] 59.2% [24] 9922(46.5%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [39] 59.9% map [31] 40.1% ---------------------------------------------------------------------- loop [13] 32.3% loop [19] 67.7% [25] 7892(37.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [31] 100.0% ---------------------------------------------------------------------- split-table [20] 100.0% [26] 1650(7.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [32] 100.0% ---------------------------------------------------------------------- run-iter! [21] 100.0% [27] 824(3.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [33] 100.0% ---------------------------------------------------------------------- for-loop [6] 26.2% apply-match [22] 26.2% for-loop [16] 47.6% [28] 424(2.0%) 424(2.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [3] 26.2% ---------------------------------------------------------------------- run-iter! [21] 100.0% [29] 418(2.0%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [34] 100.0% ---------------------------------------------------------------------- loop [19] 1.0% loop [30] 99.0% [30] 220(1.0%) 220(1.0%) loop /home/ztatlock/herbie/src/points.rkt:72:2 loop [30] 99.0% ---------------------------------------------------------------------- parse-loop12 [36] 1.7% make-exacts* [24] 33.0% loop [25] 65.4% [31] 12074(56.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [39] 96.2% ??? [43] 2.1% loop [38] 1.7% ---------------------------------------------------------------------- infer-splitpoints4 [26] 100.0% [32] 1650(7.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [35] 87.9% pick-errors [37] 12.1% ---------------------------------------------------------------------- simplify! [27] 100.0% [33] 824(3.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ---------------------------------------------------------------------- ??? [46] 23.9% localize-error [29] 76.1% [34] 418(2.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [36] 100.0% ---------------------------------------------------------------------- option-on-expr [32] 100.0% [35] 1450(6.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ---------------------------------------------------------------------- hash-ref! [34] 100.0% [36] 418(2.0%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [39] 76.1% map [31] 23.9% ---------------------------------------------------------------------- option-on-expr [32] 100.0% [37] 200(0.9%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [41] 100.0% ---------------------------------------------------------------------- map [31] 10.0% loop [38] 90.0% [38] 200(0.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [38] 90.0% ??? [42] 10.0% ---------------------------------------------------------------------- make-exacts* [24] 0.8% parse-loop12 [36] 1.1% map [31] 2.1% loop [39] 96.0% [39] 17974(84.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [39] 96.0% ??? [43] 2.7% ??? [46] 1.1% ->flonum [44] 0.2% bffma [52] 0.0% ---------------------------------------------------------------------- sort-context-on-expr [35] 100.0% [40] 1450(6.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [45] 69.5% loop [50] 30.5% ---------------------------------------------------------------------- pick-errors [37] 100.0% [41] 200(0.9%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [58] 100.0% ---------------------------------------------------------------------- loop [38] 100.0% [42] 200(0.9%) 0(0.0%) ??? ...ztatlock/herbie/src/core/localize.rkt:43:32 ->flonum [44] 100.0% ---------------------------------------------------------------------- map [31] 1.6% loop [39] 98.4% [43] 16252(76.1%) 1118(5.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [47] 61.5% real->bigfloat [48] 24.7% ??? [65] 6.9% ---------------------------------------------------------------------- ??? [42] 11.4% loop [39] 88.6% [44] 1762(8.3%) 242(1.1%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [49] 74.8% ??? [68] 11.5% ---------------------------------------------------------------------- sort [40] 28.5% copying-mergesort [45] 71.5% [45] 1008(4.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [45] 71.5% jloop [51] 14.5% loop [50] 14.0% ---------------------------------------------------------------------- loop [39] 100.0% [46] 200(0.9%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [34] 100.0% ---------------------------------------------------------------------- ??? [43] 100.0% [47] 9998(46.8%) 490(2.3%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bffma [52] 28.8% ??? [60] 23.1% bf* [57] 18.3% ...higher-order.rkt:373:33 [54] 8.9% ...ow-val-first.rkt:357:18 [59] 7.1% ...higher-order.rkt:369:33 [55] 4.8% bf<= [56] 4.1% ---------------------------------------------------------------------- ??? [43] 100.0% [48] 4018(18.8%) 2832(13.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [69] 29.5% ---------------------------------------------------------------------- ->flonum [44] 100.0% [49] 1318(6.2%) 1318(6.2%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- copying-mergesort [45] 48.8% sort [40] 51.2% [50] 864(4.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [53] 100.0% ---------------------------------------------------------------------- copying-mergesort [45] 100.0% [51] 586(2.7%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [53] 100.0% ---------------------------------------------------------------------- loop [39] 7.0% ??? [47] 93.0% [52] 3100(14.5%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 bf* [57] 78.9% ...ow-val-first.rkt:357:18 [59] 21.1% ---------------------------------------------------------------------- jloop [51] 40.4% loop [50] 59.6% [53] 1450(6.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [58] 100.0% ---------------------------------------------------------------------- ??? [47] 100.0% [54] 892(4.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [61] 100.0% ---------------------------------------------------------------------- ??? [47] 100.0% [55] 482(2.3%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [61] 100.0% ---------------------------------------------------------------------- ??? [47] 100.0% [56] 408(1.9%) 0(0.0%) bf<= ...h/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [68] 100.0% ---------------------------------------------------------------------- ??? [47] 42.8% bffma [52] 57.2% [57] 4274(20.0%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [60] 100.0% ---------------------------------------------------------------------- for-loop [41] 10.6% loop [19] 12.1% ??? [53] 77.2% [58] 1878(8.8%) 1426(6.7%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [62] 12.1% ??? [63] 11.9% ---------------------------------------------------------------------- bffma [52] 47.9% ??? [47] 52.1% [59] 1364(6.4%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [61] 100.0% ---------------------------------------------------------------------- ??? [47] 35.0% bf* [57] 65.0% [60] 6580(30.8%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [64] 77.0% ??? [68] 23.0% ---------------------------------------------------------------------- ...higher-order.rkt:369:33 [55] 17.6% ...higher-order.rkt:373:33 [54] 32.6% ...ow-val-first.rkt:357:18 [59] 49.8% [61] 2738(12.8%) 232(1.1%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [65] 91.5% ---------------------------------------------------------------------- eval-prog [58] 33.3% inductor [62] 66.7% [62] 228(1.1%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [62] 66.7% integer->bigfloat [66] 33.3% ---------------------------------------------------------------------- eval-prog [58] 100.0% [63] 224(1.0%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [67] 100.0% ---------------------------------------------------------------------- ??? [60] 100.0% [64] 5064(23.7%) 2796(13.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [69] 44.8% ---------------------------------------------------------------------- ??? [43] 30.8% ??? [61] 69.2% [65] 3624(17.0%) 430(2.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [68] 88.1% ---------------------------------------------------------------------- inductor [62] 100.0% [66] 228(1.1%) 228(1.1%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- ??? [63] 100.0% [67] 224(1.0%) 224(1.0%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------- ->flonum [44] 3.8% bf<= [56] 7.7% ??? [60] 28.5% ??? [65] 60.0% [68] 5320(24.9%) 3332(15.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [70] 37.4% ---------------------------------------------------------------------- real->bigfloat [48] 34.3% bfmul [64] 65.7% [69] 3454(16.2%) 3454(16.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [68] 100.0% [70] 1988(9.3%) 1116(5.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [71] 43.9% ---------------------------------------------------------------------- ??? [70] 100.0% [71] 872(4.1%) 872(4.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------