Profiling results ----------------- Total cpu time observed: 8682ms (out of 8952ms) Number of samples taken: 32 (once every 271ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [17] 100.0% [1] 8482(97.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% --------------------------------------------------------------------- ??? [17] 100.0% [2] 2974(34.3%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 79.6% for-loop [7] 20.4% --------------------------------------------------------------------- copying-mergesort [24] 100.0% [3] 420(4.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [31] 100.0% --------------------------------------------------------------------- hash-ref! [36] 100.0% [4] 230(2.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [32] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 8482(97.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [17] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 2368(27.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [8] 91.5% extract-alt [10] 8.5% --------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 606(7.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [9] 100.0% --------------------------------------------------------------------- get-final-combination [6] 100.0% [8] 2166(24.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [11] 100.0% --------------------------------------------------------------------- for-loop [7] 100.0% [9] 606(7.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [12] 67.0% finalize-iter! [13] 33.0% --------------------------------------------------------------------- get-final-combination [6] 100.0% [10] 202(2.3%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [32] 100.0% --------------------------------------------------------------------- split-table [8] 100.0% [11] 2166(24.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [14] 100.0% --------------------------------------------------------------------- run-iter! [9] 100.0% [12] 406(4.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [15] 100.0% --------------------------------------------------------------------- run-iter! [9] 100.0% [13] 200(2.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [16] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [11] 100.0% [14] 2166(24.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [18] 100.0% --------------------------------------------------------------------- simplify! [12] 100.0% [15] 406(4.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [17] 100.0% --------------------------------------------------------------------- finalize-iter! [13] 100.0% [16] 200(2.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [19] 100.0% --------------------------------------------------------------------- for-loop [15] 1.6% run [5] 48.1% [17] 8682(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.1% loop [20] 34.0% run-improve58 [2] 16.3% simplify [35] 1.6% --------------------------------------------------------------------- option-on-expr [14] 100.0% [18] 2166(24.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [21] 100.0% --------------------------------------------------------------------- ??? [16] 100.0% [19] 200(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [22] 100.0% --------------------------------------------------------------------- ??? [17] 100.0% [20] 5708(65.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [26] 67.8% loop [23] 32.2% --------------------------------------------------------------------- sort-context-on-expr [18] 100.0% [21] 2166(24.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [24] 61.0% loop [27] 39.0% --------------------------------------------------------------------- for-loop [19] 100.0% [22] 200(2.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [25] 100.0% --------------------------------------------------------------------- loop [20] 100.0% [23] 1840(21.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [28] 73.4% make-exacts* [26] 26.6% --------------------------------------------------------------------- sort [21] 41.8% copying-mergesort [24] 58.2% [24] 1322(15.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [24] 58.2% loop [27] 33.8% jloop [3] 7.9% --------------------------------------------------------------------- atab-add-altn [22] 100.0% [25] 200(2.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [29] 100.0% --------------------------------------------------------------------- loop [23] 11.2% loop [20] 88.8% [26] 4358(50.2%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [32] 64.0% map [30] 30.7% eval-prog [33] 5.3% --------------------------------------------------------------------- sort [21] 48.3% copying-mergesort [24] 51.7% [27] 1746(20.1%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [31] 100.0% --------------------------------------------------------------------- loop [23] 100.0% [28] 1350(15.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [30] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [25] 100.0% [29] 200(2.3%) 200(2.3%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 --------------------------------------------------------------------- make-exacts* [26] 49.8% loop [28] 50.2% [30] 2688(31.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [32] 100.0% --------------------------------------------------------------------- jloop [3] 19.4% loop [27] 80.6% [31] 2166(24.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [33] 100.0% --------------------------------------------------------------------- make-exacts* [26] 0.0% map [30] 0.7% extract-alt [10] 3.4% ??? [4] 3.9% loop [32] 92.0% [32] 5910(68.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [32] 92.0% hash-ref! [36] 3.9% simplify [35] 3.4% ??? [34] 0.7% ->flonum [37] 0.0% --------------------------------------------------------------------- make-exacts* [26] 9.6% ??? [31] 90.4% [33] 2396(27.6%) 1946(22.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [36] 9.6% ??? [38] 9.2% --------------------------------------------------------------------- loop [32] 100.0% [34] 5258(60.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [39] 63.5% ??? [52] 31.2% real->bigfloat [41] 5.3% --------------------------------------------------------------------- loop [32] 33.2% ??? [17] 66.8% [35] 608(7.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [40] 66.8% iterate-egraph!5 [47] 33.2% --------------------------------------------------------------------- eval-prog [33] 25.0% loop [32] 75.0% [36] 230(2.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 75.0% bigfloat-hash [42] 25.0% --------------------------------------------------------------------- loop [32] 100.0% [37] 220(2.5%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [43] 100.0% --------------------------------------------------------------------- eval-prog [33] 100.0% [38] 220(2.5%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [44] 100.0% --------------------------------------------------------------------- ??? [34] 100.0% [39] 3340(38.5%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [45] 78.3% ...higher-order.rkt:373:33 [46] 21.7% --------------------------------------------------------------------- simplify [35] 100.0% [40] 406(4.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [47] 100.0% --------------------------------------------------------------------- ??? [34] 100.0% [41] 280(3.2%) 280(3.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 --------------------------------------------------------------------- hash-ref! [36] 100.0% [42] 230(2.6%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [48] 100.0% --------------------------------------------------------------------- ->flonum [37] 100.0% [43] 220(2.5%) 220(2.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [38] 100.0% [44] 220(2.5%) 220(2.5%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 --------------------------------------------------------------------- ??? [39] 100.0% [45] 2616(30.1%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfatan2 [49] 81.2% ??? [56] 18.8% --------------------------------------------------------------------- ??? [39] 100.0% [46] 724(8.3%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [51] 69.6% ??? [52] 30.4% --------------------------------------------------------------------- simplify [35] 33.2% simplify-expr [40] 66.8% [47] 608(7.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [50] 100.0% --------------------------------------------------------------------- bigfloat-hash [42] 100.0% [48] 230(2.6%) 230(2.6%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- ??? [45] 100.0% [49] 2124(24.5%) 1924(22.2%) bfatan2 ...ib/math/private/bigfloat/mpfr.rkt:819:4 ??? [55] 9.4% --------------------------------------------------------------------- iterate-egraph!5 [47] 100.0% [50] 608(7.0%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [53] 66.8% loop [54] 33.2% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [46]100.0% [51] 504(5.8%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [52] 100.0% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [46] 9.3% ??? [51] 21.3% ??? [34] 69.3% [52] 2362(27.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [56] 100.0% --------------------------------------------------------------------- for-loop [53] 50.0% one-iter [50] 50.0% [53] 406(4.7%) 202(2.3%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [53] 50.0% match-e [57] 25.1% --------------------------------------------------------------------- one-iter [50] 100.0% [54] 202(2.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [58] 100.0% --------------------------------------------------------------------- bfatan2 [49] 100.0% [55] 200(2.3%) 200(2.3%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [45] 17.2% ??? [52] 82.8% [56] 2854(32.9%) 2598(29.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [59] 9.0% --------------------------------------------------------------------- for-loop [53] 100.0% [57] 204(2.3%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [60] 100.0% --------------------------------------------------------------------- loop [54] 100.0% [58] 202(2.3%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [61] 100.0% --------------------------------------------------------------------- ??? [56] 100.0% [59] 256(2.9%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [62] 100.0% --------------------------------------------------------------------- match-e [57] 100.0% [60] 204(2.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [63] 100.0% --------------------------------------------------------------------- apply-match [58] 100.0% [61] 202(2.3%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 loop! [64] 100.0% --------------------------------------------------------------------- ??? [59] 100.0% [62] 256(2.9%) 256(2.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 --------------------------------------------------------------------- for-loop [60] 100.0% [63] 204(2.3%) 204(2.3%) list-cartesian-product ...src/core/ematch.rkt:20:0 --------------------------------------------------------------------- merge-egraph-nodes! [61] 100.0% [64] 202(2.3%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [65] 100.0% --------------------------------------------------------------------- loop! [64] 100.0% [65] 202(2.3%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [66] 100.0% --------------------------------------------------------------------- custom-set-union [65] 100.0% [66] 202(2.3%) 0(0.0%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [67] 100.0% --------------------------------------------------------------------- for-loop [66] 100.0% [67] 202(2.3%) 202(2.3%) for-loop ...cts/racket/private/set-types.rkt:178:5 ---------------------------------------------------------------------