Profiling results ----------------- Total cpu time observed: 18736ms (out of 19032ms) Number of samples taken: 83 (once every 226ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== ??? [3] 100.0% [1] 18534(98.9%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [2] 100.0% ------------------------------------------------------------------- profile-thunk14 [1] 100.0% [2] 18534(98.9%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [3] 100.0% ------------------------------------------------------------------- for-loop [27] 0.4% run [2] 49.3% [3] 18736(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.3% loop [6] 38.1% run-improve58 [4] 12.2% simplify [5] 0.4% ------------------------------------------------------------------- ??? [3] 100.0% [4] 4460(23.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [7] 76.0% for-loop [8] 14.4% finalize-table! [9] 5.0% loop [6] 4.6% ------------------------------------------------------------------- ??? [3] 100.0% [5] 220(1.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [10] 100.0% ------------------------------------------------------------------- run-improve58 [4] 1.4% ??? [3] 98.6% [6] 14480(77.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [11] 52.9% make-exacts* [16] 47.1% ------------------------------------------------------------------- run-improve58 [4] 100.0% [7] 3390(18.1%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [12] 100.0% ------------------------------------------------------------------- run-improve58 [4] 100.0% [8] 644(3.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [13] 100.0% ------------------------------------------------------------------- run-improve58 [4] 100.0% [9] 222(1.2%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [14] 100.0% ------------------------------------------------------------------- simplify [5] 100.0% [10] 220(1.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 100.0% ------------------------------------------------------------------- loop [6] 100.0% [11] 7660(40.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [17] 66.8% make-exacts* [16] 33.2% ------------------------------------------------------------------- get-final-combination [7] 100.0% [12] 3390(18.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [18] 100.0% ------------------------------------------------------------------- for-loop [8] 100.0% [13] 644(3.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 finalize-iter! [19] 65.8% simplify! [21] 34.2% ------------------------------------------------------------------- finalize-table! [9] 100.0% [14] 222(1.2%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 ??? [24] 100.0% ------------------------------------------------------------------- simplify-expr [10] 100.0% [15] 220(1.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [20] 100.0% ------------------------------------------------------------------- loop [11] 27.2% loop [6] 72.8% [16] 9366(50.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [22] 64.2% loop [48] 35.8% ------------------------------------------------------------------- loop [11] 100.0% [17] 5114(27.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [22] 100.0% ------------------------------------------------------------------- split-table [12] 100.0% [18] 3390(18.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [23] 92.6% debug-print [25] 7.4% ------------------------------------------------------------------- run-iter! [13] 100.0% [19] 424(2.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [24] 100.0% ------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [20] 220(1.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [26] 100.0% ------------------------------------------------------------------- run-iter! [13] 100.0% [21] 220(1.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [27] 100.0% ------------------------------------------------------------------- loop [17] 46.0% make-exacts* [16] 54.0% [22] 11128(59.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [48] 100.0% ------------------------------------------------------------------- infer-splitpoints4 [18] 100.0% [23] 3138(16.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [28] 93.2% pick-errors [32] 6.8% ------------------------------------------------------------------- post-process [14] 34.4% finalize-iter! [19] 65.6% [24] 646(3.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [29] 100.0% ------------------------------------------------------------------- infer-splitpoints4 [18] 100.0% [25] 252(1.3%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [30] 100.0% ------------------------------------------------------------------- for-loop [26] 50.0% one-iter [20] 50.0% [26] 220(1.2%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [26] 50.0% match-e [31] 50.0% ------------------------------------------------------------------- simplify! [21] 100.0% [27] 220(1.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [3] 100.0% ------------------------------------------------------------------- option-on-expr [23] 100.0% [28] 2924(15.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [33] 100.0% ------------------------------------------------------------------- ??? [24] 100.0% [29] 646(3.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [34] 100.0% ------------------------------------------------------------------- debug-print [25] 100.0% [30] 252(1.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 write-proc [35] 100.0% ------------------------------------------------------------------- for-loop [26] 100.0% [31] 220(1.2%) 220(1.2%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ------------------------------------------------------------------- option-on-expr [23] 100.0% [32] 214(1.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [36] 100.0% ------------------------------------------------------------------- sort-context-on-expr [28] 100.0% [33] 2924(15.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [37] 63.1% loop [39] 36.9% ------------------------------------------------------------------- for-loop [29] 100.0% [34] 646(3.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [38]100.0% ------------------------------------------------------------------- for-loop [30] 100.0% [35] 252(1.3%) 252(1.3%) write-proc ...lock/herbie/src/alternative.rkt:22:9 ------------------------------------------------------------------- pick-errors [32] 100.0% [36] 214(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [44] 100.0% ------------------------------------------------------------------- sort [33] 46.3% copying-mergesort [37] 53.7% [37] 1846(9.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [37] 53.7% loop [39] 40.8% jloop [41] 5.4% ------------------------------------------------------------------- atab-add-altn [34] 100.0% [38] 646(3.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [40] 100.0% ------------------------------------------------------------------- sort [33] 42.7% copying-mergesort [37] 57.3% [39] 2522(13.5%) 220(1.2%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [42] 91.3% ------------------------------------------------------------------- best-and-tied-at-points [38]100.0% [40] 646(3.4%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [43] 100.0% ------------------------------------------------------------------- copying-mergesort [37] 100.0% [41] 402(2.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [42] 100.0% ------------------------------------------------------------------- jloop [41] 14.9% loop [39] 85.1% [42] 2704(14.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [44] 100.0% ------------------------------------------------------------------- errors [40] 100.0% [43] 646(3.4%) 222(1.2%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [49] 65.6% ------------------------------------------------------------------- for-loop [36] 7.3% ??? [42] 92.7% [44] 2918(15.6%) 2486(13.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [45] 7.5% inductor [46] 7.3% ------------------------------------------------------------------- eval-prog [44] 100.0% [45] 218(1.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [47] 100.0% ------------------------------------------------------------------- inductor [46] 50.0% eval-prog [44] 50.0% [46] 214(1.1%) 214(1.1%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [46] 50.0% ------------------------------------------------------------------- hash-ref! [45] 100.0% [47] 218(1.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [48] 100.0% ------------------------------------------------------------------- make-exacts* [16] 0.1% map [22] 1.3% ??? [47] 1.5% loop [48] 97.1% [48] 14698(78.4%) 218(1.2%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [48] 97.1% ??? [49] 1.4% ->flonum [53] 0.0% ------------------------------------------------------------------- for-loop [43] 2.9% loop [48] 97.1% [49] 14662(78.3%) 222(1.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [50] 77.9% real->bigfloat [51] 14.6% ??? [52] 4.5% ->flonum [53] 1.5% ------------------------------------------------------------------- ??? [49] 100.0% [50] 11422(61.0%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [58] 92.1% bf* [54] 6.1% ??? [56] 1.8% ------------------------------------------------------------------- ??? [49] 100.0% [51] 2138(11.4%) 1692(9.0%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [63] 20.9% ------------------------------------------------------------------- ??? [49] 100.0% [52] 658(3.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [55] 100.0% ------------------------------------------------------------------- ??? [49] 47.8% loop [48] 52.2% [53] 464(2.5%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [57] 52.2% ??? [56] 47.8% ------------------------------------------------------------------- ??? [50] 100.0% [54] 698(3.7%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [58] 100.0% ------------------------------------------------------------------- ??? [52] 100.0% [55] 658(3.5%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [59] 100.0% ------------------------------------------------------------------- ??? [50] 47.6% ->flonum [53] 52.4% [56] 424(2.3%) 424(2.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------- ->flonum [53] 100.0% [57] 242(1.3%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [63] 100.0% ------------------------------------------------------------------- bf* [54] 6.2% ??? [50] 93.8% [58] 11220(59.9%) 9666(51.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexpm1 [60] 7.6% bfmul [61] 6.2% ------------------------------------------------------------------- ??? [55] 100.0% [59] 658(3.5%) 196(1.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [62] 70.2% ------------------------------------------------------------------- ??? [58] 100.0% [60] 856(4.6%) 636(3.4%) bfexpm1 ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [63] 25.7% ------------------------------------------------------------------- ??? [58] 100.0% [61] 698(3.7%) 454(2.4%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [63] 35.0% ------------------------------------------------------------------- ??? [59] 100.0% [62] 462(2.5%) 462(2.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------- bfexpm1 [60] 19.1% ??? [57] 21.0% bfmul [61] 21.2% real->bigfloat [51] 38.7% [63] 1152(6.1%) 1152(6.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 -------------------------------------------------------------------