Profiling results ----------------- Total cpu time observed: 24128ms (out of 24612ms) Number of samples taken: 95 (once every 254ms) (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 ===================================================================== ??? [5] 100.0% [1] 23456(97.2%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% --------------------------------------------------------------------- hash-ref! [56] 100.0% [2] 1308(5.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [30] 100.0% --------------------------------------------------------------------- copying-mergesort [40] 100.0% [3] 394(1.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [48] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 99.0% [4] 23686(98.2%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% --------------------------------------------------------------------- for-loop [28] 0.3% run [4] 49.9% [5] 23910(99.1%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.9% loop [8] 45.3% run-improve58 [6] 5.5% simplify [7] 0.3% --------------------------------------------------------------------- ??? [5] 100.0% [6] 2680(11.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [9] 53.1% for-loop [10] 24.3% loop [8] 15.2% finalize-table! [12] 7.5% --------------------------------------------------------------------- ??? [5] 100.0% [7] 202(0.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [11] 100.0% --------------------------------------------------------------------- run-improve58 [6] 1.9% ??? [5] 98.1% [8] 21638(89.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [13] 49.9% make-exacts* [17] 38.1% loop [18] 11.0% --------------------------------------------------------------------- run-improve58 [6] 100.0% [9] 1422(5.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 100.0% --------------------------------------------------------------------- run-improve58 [6] 100.0% [10] 650(2.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% --------------------------------------------------------------------- simplify [7] 100.0% [11] 202(0.8%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [32] 100.0% --------------------------------------------------------------------- run-improve58 [6] 100.0% [12] 200(0.8%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [16] 100.0% --------------------------------------------------------------------- loop [8] 100.0% [13] 10792(44.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [18] 47.7% make-exacts* [17] 38.3% eval-prog [52] 14.0% --------------------------------------------------------------------- get-final-combination [9] 100.0% [14] 1422(5.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [19] 100.0% --------------------------------------------------------------------- for-loop [10] 100.0% [15] 650(2.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 gen-rewrites! [20] 35.1% finalize-iter! [21] 33.8% simplify! [22] 31.1% --------------------------------------------------------------------- finalize-table! [12] 100.0% [16] 200(0.8%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 completely-simplify-alt [23] 100.0% --------------------------------------------------------------------- loop [13] 33.4% loop [8] 66.6% [17] 12368(51.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [24] 52.5% loop [30] 47.5% --------------------------------------------------------------------- loop [8] 31.6% loop [13] 68.4% [18] 7530(31.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [24] 100.0% --------------------------------------------------------------------- split-table [14] 100.0% [19] 1422(5.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [25] 100.0% --------------------------------------------------------------------- run-iter! [15] 100.0% [20] 228(0.9%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:148:0 for-loop [26] 100.0% --------------------------------------------------------------------- run-iter! [15] 100.0% [21] 220(0.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [27] 100.0% --------------------------------------------------------------------- run-iter! [15] 100.0% [22] 202(0.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [28] 100.0% --------------------------------------------------------------------- post-process [16] 100.0% [23] 200(0.8%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [29] 100.0% --------------------------------------------------------------------- make-exacts* [17] 46.3% loop [18] 53.7% [24] 14018(58.1%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [30] 92.9% ??? [51] 7.1% --------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [25] 1422(5.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [31] 100.0% --------------------------------------------------------------------- gen-rewrites! [20] 100.0% [26] 228(0.9%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:153:11 ??? [33] 100.0% --------------------------------------------------------------------- finalize-iter! [21] 100.0% [27] 220(0.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [34] 100.0% --------------------------------------------------------------------- simplify! [22] 100.0% [28] 202(0.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% --------------------------------------------------------------------- completely-simplify-alt [23] 100.0% [29] 200(0.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [32] 100.0% --------------------------------------------------------------------- make-exacts* [17] 1.6% map [24] 3.3% ??? [2] 6.4% loop [30] 88.8% [30] 20424(84.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [30] 88.8% hash-ref! [56] 6.4% ??? [51] 4.6% ->flonum [36] 0.2% --------------------------------------------------------------------- option-on-expr [25] 100.0% [31] 1422(5.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [35] 100.0% --------------------------------------------------------------------- simplify-expr [29] 49.8% for-loop [11] 50.2% [32] 402(1.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [37] 100.0% --------------------------------------------------------------------- for-loop [26] 100.0% [33] 228(0.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:90:0 rewriter [38] 100.0% --------------------------------------------------------------------- ??? [27] 100.0% [34] 220(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% --------------------------------------------------------------------- sort-context-on-expr [31] 100.0% [35] 1422(5.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [40] 69.8% loop [45] 30.2% --------------------------------------------------------------------- loop [30] 100.0% [36] 618(2.6%) 214(0.9%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [68] 65.4% --------------------------------------------------------------------- iterate-egraph!5 [32] 100.0% [37] 402(1.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 loop [43] 50.2% for-loop [44] 49.8% --------------------------------------------------------------------- ??? [33] 100.0% [38] 228(0.9%) 0(0.0%) rewriter ...lock/herbie/src/core/matcher.rkt:123:2 for-loop [41] 100.0% --------------------------------------------------------------------- for-loop [34] 100.0% [39] 220(0.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [42] 100.0% --------------------------------------------------------------------- sort [35] 46.7% copying-mergesort [40] 53.3% [40] 992(4.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [40] 53.3% loop [45] 36.7% jloop [3] 9.9% --------------------------------------------------------------------- rewriter [38] 100.0% [41] 228(0.9%) 228(0.9%) for-loop ...ock/herbie/src/core/matcher.rkt:126:10 --------------------------------------------------------------------- atab-add-altn [39] 100.0% [42] 220(0.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [46] 100.0% --------------------------------------------------------------------- one-iter [37] 100.0% [43] 202(0.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [47] 100.0% --------------------------------------------------------------------- for-loop [44] 50.0% one-iter [37] 50.0% [44] 200(0.8%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [44] 50.0% match-e [49] 50.0% --------------------------------------------------------------------- sort [35] 41.8% copying-mergesort [40] 58.2% [45] 1028(4.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [48] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [42] 100.0% [46] 220(0.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [50] 100.0% --------------------------------------------------------------------- loop [43] 100.0% [47] 202(0.8%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [49] 100.0% --------------------------------------------------------------------- jloop [3] 27.7% loop [45] 72.3% [48] 1422(5.9%) 202(0.8%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [52] 85.8% --------------------------------------------------------------------- for-loop [44] 49.8% apply-match [47] 50.2% [49] 402(1.7%) 200(0.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 list-cartesian-product [53] 50.2% --------------------------------------------------------------------- errors [46] 100.0% [50] 220(0.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [51] 100.0% --------------------------------------------------------------------- for-loop [50] 1.1% map [24] 5.1% loop [30] 93.8% [51] 19718(81.7%) 946(3.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [54] 69.5% real->bigfloat [55] 22.1% ??? [67] 3.6% --------------------------------------------------------------------- ??? [48] 44.7% loop [13] 55.3% [52] 2730(11.3%) 1226(5.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [56] 55.1% --------------------------------------------------------------------- match-e [49] 100.0% [53] 202(0.8%) 0(0.0%) list-cartesian-product ...src/core/ematch.rkt:20:0 for-loop [57] 100.0% --------------------------------------------------------------------- ??? [51] 100.0% [54] 13704(56.8%) 472(2.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [58] 90.3% ...higher-order.rkt:373:33 [60] 6.3% --------------------------------------------------------------------- ??? [51] 100.0% [55] 4350(18.0%) 3446(14.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [66] 20.8% --------------------------------------------------------------------- loop [30] 43.5% eval-prog [52] 56.5% [56] 1504(6.2%) 196(0.8%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [2] 43.5% bigfloat-hash [59] 43.5% --------------------------------------------------------------------- list-cartesian-product [53] 100.0% [57] 202(0.8%) 202(0.8%) for-loop ...atlock/herbie/src/core/ematch.rkt:24:8 --------------------------------------------------------------------- ??? [54] 100.0% [58] 12374(51.3%) 432(1.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [61] 46.3% bfsub [62] 27.4% ??? [68] 22.8% --------------------------------------------------------------------- hash-ref! [56] 100.0% [59] 1308(5.4%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [63] 62.1% bfcanonicalize [64] 37.9% --------------------------------------------------------------------- ??? [54] 100.0% [60] 858(3.6%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [67] 75.1% ??? [65] 24.9% --------------------------------------------------------------------- ??? [58] 100.0% [61] 5726(23.7%) 3338(13.8%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [66] 41.7% --------------------------------------------------------------------- ??? [58] 100.0% [62] 3392(14.1%) 2240(9.3%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [66] 34.0% --------------------------------------------------------------------- bigfloat-hash [59] 100.0% [63] 812(3.4%) 812(3.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- bigfloat-hash [59] 100.0% [64] 496(2.1%) 496(2.1%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 --------------------------------------------------------------------- ...higher-order.rkt:373:33 [60]100.0% [65] 214(0.9%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [67] 100.0% --------------------------------------------------------------------- real->bigfloat [55] 20.3% bfsub [62] 25.9% bfsqrt [61] 53.7% [66] 4444(18.4%) 4444(18.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [65] 13.6% ...higher-order.rkt:373:33 [60] 40.9% ??? [51] 45.6% [67] 1576(6.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [68] 100.0% --------------------------------------------------------------------- ->flonum [36] 8.4% ??? [67] 32.8% ??? [58] 58.8% [68] 4804(19.9%) 1742(7.2%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [69] 59.6% ??? [70] 4.2% --------------------------------------------------------------------- ??? [68] 100.0% [69] 2862(11.9%) 1944(8.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [71] 32.1% --------------------------------------------------------------------- ??? [68] 100.0% [70] 200(0.8%) 200(0.8%) ??? ...ects/racket/contract/private/prop.rkt:489:4 --------------------------------------------------------------------- ??? [69] 100.0% [71] 918(3.8%) 918(3.8%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------