Profiling results ----------------- Total cpu time observed: 9866ms (out of 10060ms) Number of samples taken: 54 (once every 183ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [22] 100.0% [1] 9866(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% --------------------------------------------------------------------- ??? [22] 100.0% [2] 5124(51.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 72.6% for-loop [7] 27.4% --------------------------------------------------------------------- ??? [22] 100.0% [3] 1004(10.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [8] 79.9% for-loop [10] 20.1% --------------------------------------------------------------------- match-e [23] 100.0% [4] 202(2.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [9] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 9866(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [22] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 3720(37.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [11] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1404(14.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [12] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [8] 802(8.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [13] 100.0% --------------------------------------------------------------------- match-e [23] 49.8% for-loop [4] 50.2% [9] 402(4.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [23] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [10] 202(2.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [13] 100.0% --------------------------------------------------------------------- get-final-combination [6] 100.0% [11] 3720(37.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [14] 100.0% --------------------------------------------------------------------- for-loop [7] 100.0% [12] 1404(14.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [15] 71.5% finalize-iter! [17] 28.5% --------------------------------------------------------------------- for-loop [10] 20.1% simplify-expr [8] 79.9% [13] 1004(10.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [16] 100.0% --------------------------------------------------------------------- split-table [11] 100.0% [14] 3720(37.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [44] 83.7% loop [42] 16.3% --------------------------------------------------------------------- run-iter! [12] 100.0% [15] 1004(10.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [18] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [13] 100.0% [16] 1004(10.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [19] 60.0% loop [20] 40.0% --------------------------------------------------------------------- run-iter! [12] 100.0% [17] 400(4.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [21] 100.0% --------------------------------------------------------------------- simplify! [15] 100.0% [18] 1004(10.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [22] 100.0% --------------------------------------------------------------------- for-loop [19] 50.0% one-iter [16] 50.0% [19] 602(6.1%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [19] 50.0% match-e [23] 50.0% --------------------------------------------------------------------- one-iter [16] 100.0% [20] 402(4.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [24] 100.0% --------------------------------------------------------------------- finalize-iter! [17] 100.0% [21] 400(4.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [25] 50.0% for-loop [26] 50.0% --------------------------------------------------------------------- for-loop [18] 3.4% run [5] 48.3% [22] 9866(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.3% run-improve58 [2] 24.3% loop [27] 24.0% simplify [3] 3.4% --------------------------------------------------------------------- for-loop [9] 33.4% for-loop [19] 66.6% [23] 602(6.1%) 602(6.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [4] 16.8% for-loop [9] 16.6% --------------------------------------------------------------------- loop [20] 100.0% [24] 402(4.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [29] 50.2% loop! [46] 49.8% --------------------------------------------------------------------- ??? [21] 100.0% [25] 200(2.0%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [28] 100.0% --------------------------------------------------------------------- ??? [21] 100.0% [26] 200(2.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [28] 100.0% --------------------------------------------------------------------- ??? [22] 100.0% [27] 4742(48.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [34] 52.8% loop [30] 47.2% --------------------------------------------------------------------- for-loop [26] 50.0% atab-add-altns [25] 50.0% [28] 400(4.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [33] 50.0% loop [32] 50.0% --------------------------------------------------------------------- merge-egraph-nodes! [29] 50.0% apply-match [24] 50.0% [29] 202(2.0%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 merge-egraph-nodes! [29] 50.0% update-leader! [31] 50.0% --------------------------------------------------------------------- loop [27] 100.0% [30] 2240(22.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [35] 52.1% make-exacts* [34] 41.7% eval-prog [55] 6.2% --------------------------------------------------------------------- merge-egraph-nodes! [29] 100.0% [31] 202(2.0%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [36] 100.0% --------------------------------------------------------------------- atab-add-altn [28] 100.0% [32] 200(2.0%) 0(0.0%) loop ...atlock/herbie/src/core/alt-table.rkt:182:2 hash-set-lsts [37] 100.0% --------------------------------------------------------------------- atab-add-altn [28] 100.0% [33] 200(2.0%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [38] 100.0% --------------------------------------------------------------------- loop [30] 27.2% loop [27] 72.8% [34] 3436(34.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [39] 53.9% loop [42] 46.1% --------------------------------------------------------------------- loop [30] 100.0% [35] 1166(11.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [39] 100.0% --------------------------------------------------------------------- update-leader! [31] 100.0% [36] 202(2.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 for-loop [40] 100.0% --------------------------------------------------------------------- loop [32] 100.0% [37] 200(2.0%) 200(2.0%) hash-set-lsts ...rbie/src/core/alt-table.rkt:111:0 --------------------------------------------------------------------- best-and-tied-at-points [33] 100.0% [38] 200(2.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [41] 100.0% --------------------------------------------------------------------- loop [35] 38.6% make-exacts* [34] 61.4% [39] 3018(30.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [42] 95.1% ??? [54] 4.9% --------------------------------------------------------------------- for-loop [36] 100.0% [40] 202(2.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:223:8 hash-update! [43] 100.0% --------------------------------------------------------------------- errors [38] 100.0% [41] 200(2.0%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [54] 100.0% --------------------------------------------------------------------- make-exacts* [34] 0.4% loop! [46] 0.4% map [39] 3.6% infer-splitpoints4 [14] 11.5% loop [42] 84.2% [42] 5260(53.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [42] 84.2% option-on-expr [44] 11.5% ->flonum [57] 2.1% ??? [54] 1.8% loop! [46] 0.4% --------------------------------------------------------------------- for-loop [40] 100.0% [43] 202(2.0%) 0(0.0%) hash-update! ...ket/private/more-scheme.rkt:362:13 ??? [45] 100.0% --------------------------------------------------------------------- loop [42] 16.3% infer-splitpoints4 [14] 83.7% [44] 3720(37.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [47] 100.0% --------------------------------------------------------------------- hash-update! [43] 100.0% [45] 202(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/egraph.rkt:225:24 for-loop [48] 100.0% --------------------------------------------------------------------- loop [42] 50.0% apply-match [24] 50.0% [46] 200(2.0%) 200(2.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 loop [42] 50.0% --------------------------------------------------------------------- option-on-expr [44] 100.0% [47] 3720(37.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [49] 100.0% --------------------------------------------------------------------- ??? [45] 100.0% [48] 202(2.0%) 202(2.0%) for-loop ...lock/herbie/src/core/egraph.rkt:226:26 --------------------------------------------------------------------- sort-context-on-expr [47] 100.0% [49] 3720(37.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [50] 66.3% loop [51] 29.2% ??? [53] 4.5% --------------------------------------------------------------------- sort [49] 47.8% copying-mergesort [50] 52.2% [50] 2466(25.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [50] 52.2% loop [51] 39.9% jloop [52] 7.9% --------------------------------------------------------------------- sort [49] 39.2% copying-mergesort [50] 60.8% [51] 2774(28.1%) 150(1.5%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [53] 94.6% --------------------------------------------------------------------- copying-mergesort [50] 100.0% [52] 780(7.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [53] 100.0% --------------------------------------------------------------------- sort [49] 4.6% jloop [52] 21.8% loop [51] 73.5% [53] 3570(36.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [55] 95.7% ??? [54] 4.3% --------------------------------------------------------------------- map [39] 3.6% ??? [53] 3.7% for-loop [41] 4.8% loop [42] 87.9% [54] 4148(42.0%) 316(3.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [56] 53.8% real->bigfloat [58] 21.6% ??? [66] 8.6% ->flonum [57] 8.5% --------------------------------------------------------------------- loop [30] 3.9% ??? [53] 96.1% [55] 3558(36.1%) 3408(34.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [59] 4.2% --------------------------------------------------------------------- ??? [54] 100.0% [56] 2230(22.6%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [60] 84.3% ...higher-order.rkt:373:33 [62] 9.0% ??? [63] 6.7% --------------------------------------------------------------------- ??? [54] 30.4% loop [42] 69.6% [57] 1158(11.7%) 192(1.9%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [61] 44.9% ??? [67] 38.5% --------------------------------------------------------------------- ??? [54] 100.0% [58] 894(9.1%) 894(9.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 --------------------------------------------------------------------- inductor [59] 50.0% eval-prog [55] 50.0% [59] 150(1.5%) 150(1.5%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [59] 50.0% --------------------------------------------------------------------- ??? [56] 100.0% [60] 1880(19.1%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [63] 100.0% --------------------------------------------------------------------- ->flonum [57] 100.0% [61] 520(5.3%) 520(5.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [56] 100.0% [62] 200(2.0%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [64] 100.0% --------------------------------------------------------------------- ??? [56] 7.4% bf* [60] 92.6% [63] 2030(20.6%) 178(1.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [65] 76.4% ??? [67] 14.9% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [62]100.0% [64] 200(2.0%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [66] 100.0% --------------------------------------------------------------------- ??? [63] 100.0% [65] 1550(15.7%) 1368(13.9%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [68] 11.7% --------------------------------------------------------------------- ??? [64] 36.0% ??? [54] 64.0% [66] 556(5.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [67] 100.0% --------------------------------------------------------------------- ??? [63] 23.2% ->flonum [57] 34.2% ??? [66] 42.6% [67] 1304(13.2%) 356(3.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [69] 72.7% --------------------------------------------------------------------- bfmul [65] 100.0% [68] 182(1.8%) 182(1.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [67] 100.0% [69] 948(9.6%) 598(6.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [70] 36.9% --------------------------------------------------------------------- ??? [69] 100.0% [70] 350(3.5%) 350(3.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------