Profiling results ----------------- Total cpu time observed: 12854ms (out of 13172ms) Number of samples taken: 59 (once every 218ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== ??? [9] 100.0% [1] 12654(98.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ------------------------------------------------------------------- ??? [9] 100.0% [2] 1962(15.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [6] 50.6% iterate-egraph!5 [10] 39.9% loop [11] 9.6% ------------------------------------------------------------------- hash-ref! [65] 100.0% [3] 204(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [7] 100.0% ------------------------------------------------------------------- hash-ref! [65] 100.0% [4] 204(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [8] 100.0% ------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 12654(98.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [9] 100.0% ------------------------------------------------------------------- simplify [2] 100.0% [6] 992(7.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [10] 79.8% loop [11] 20.2% ------------------------------------------------------------------- ??? [3] 100.0% [7] 204(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [65] 100.0% ------------------------------------------------------------------- ??? [4] 100.0% [8] 204(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [65] 100.0% ------------------------------------------------------------------- for-loop [43] 5.3% run [5] 46.9% [9] 12854(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.9% run-improve58 [12] 24.0% loop [13] 23.7% simplify [2] 5.3% ------------------------------------------------------------------- simplify [2] 49.7% simplify-expr [6] 50.3% [10] 1574(12.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [14] 100.0% ------------------------------------------------------------------- simplify [2] 48.5% simplify-expr [6] 51.5% [11] 388(3.0%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [15] 100.0% ------------------------------------------------------------------- ??? [9] 100.0% [12] 6754(52.5%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [16] 53.5% for-loop [17] 46.5% ------------------------------------------------------------------- ??? [9] 100.0% [13] 6100(47.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [23] 56.4% loop [18] 40.3% for-loop [21] 3.3% ------------------------------------------------------------------- iterate-egraph!5 [10] 100.0% [14] 1574(12.2%) 220(1.7%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [19] 74.0% loop [22] 12.1% ------------------------------------------------------------------- loop [11] 100.0% [15] 388(3.0%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [20] 100.0% ------------------------------------------------------------------- run-improve58 [12] 100.0% [16] 3614(28.1%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [24] 100.0% ------------------------------------------------------------------- run-improve58 [12] 100.0% [17] 3140(24.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [25] 100.0% ------------------------------------------------------------------- loop [13] 100.0% [18] 2458(19.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [23] 53.4% loop [26] 46.6% ------------------------------------------------------------------- for-loop [19] 50.0% one-iter [14] 50.0% [19] 1164(9.1%) 400(3.1%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [19] 50.0% match-e [27] 24.9% ??? [32] 7.9% ------------------------------------------------------------------- pass [15] 100.0% [20] 388(3.0%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [28] 51.5% argmin [31] 48.5% ------------------------------------------------------------------- loop [13] 100.0% [21] 200(1.6%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [29] 100.0% ------------------------------------------------------------------- one-iter [14] 100.0% [22] 190(1.5%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [30] 100.0% ------------------------------------------------------------------- loop [18] 27.6% loop [13] 72.4% [23] 4754(37.0%) 200(1.6%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [73] 55.3% map [72] 40.5% ------------------------------------------------------------------- get-final-combination [16] 100.0% [24] 3614(28.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [33] 100.0% ------------------------------------------------------------------- for-loop [17] 100.0% [25] 3140(24.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [34] 68.9% finalize-iter! [35] 24.6% gen-series! [36] 6.5% ------------------------------------------------------------------- loop [18] 100.0% [26] 1146(8.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [72] 100.0% ------------------------------------------------------------------- for-loop [41] 16.0% for-loop [19] 84.0% [27] 580(4.5%) 388(3.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [38] 33.1% for-loop [41] 16.0% ------------------------------------------------------------------- for-loop [20] 100.0% [28] 200(1.6%) 200(1.6%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ------------------------------------------------------------------- for-loop [21] 100.0% [29] 200(1.6%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-default [37] 100.0% ------------------------------------------------------------------- loop [22] 100.0% [30] 190(1.5%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [39] 100.0% ------------------------------------------------------------------- for-loop [20] 100.0% [31] 188(1.5%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [40] 100.0% ------------------------------------------------------------------- for-loop [19] 100.0% [32] 184(1.4%) 184(1.4%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 ------------------------------------------------------------------- split-table [24] 100.0% [33] 3614(28.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [42] 100.0% ------------------------------------------------------------------- run-iter! [25] 100.0% [34] 2164(16.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [43] 100.0% ------------------------------------------------------------------- run-iter! [25] 100.0% [35] 772(6.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [44] 100.0% ------------------------------------------------------------------- run-iter! [25] 100.0% [36] 204(1.6%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [45] 100.0% ------------------------------------------------------------------- for-loop [29] 100.0% [37] 200(1.6%) 0(0.0%) sample-default ...rc/syntax/distributions.rkt:11:0 ??? [80] 100.0% ------------------------------------------------------------------- match-e [27] 100.0% [38] 192(1.5%) 192(1.5%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ------------------------------------------------------------------- apply-match [30] 100.0% [39] 190(1.5%) 190(1.5%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 ------------------------------------------------------------------- argmin [31] 100.0% [40] 188(1.5%) 188(1.5%) expression-cost ...k/herbie/src/programs.rkt:212:0 ------------------------------------------------------------------- match-e [27] 100.0% [41] 186(1.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [27] 100.0% ------------------------------------------------------------------- infer-splitpoints4 [33] 100.0% [42] 3614(28.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [46] 93.7% errors [58] 6.3% ------------------------------------------------------------------- simplify! [34] 100.0% [43] 2164(16.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [9] 90.7% debug-print [49] 9.3% ------------------------------------------------------------------- finalize-iter! [35] 100.0% [44] 772(6.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [47] 100.0% ------------------------------------------------------------------- gen-series! [36] 100.0% [45] 204(1.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [48] 100.0% ------------------------------------------------------------------- option-on-expr [42] 100.0% [46] 3386(26.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [50] 100.0% ------------------------------------------------------------------- ??? [44] 100.0% [47] 772(6.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [51] 100.0% ------------------------------------------------------------------- for-loop [45] 100.0% [48] 204(1.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [52] 100.0% ------------------------------------------------------------------- for-loop [43] 100.0% [49] 202(1.6%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [53] 100.0% ------------------------------------------------------------------- sort-context-on-expr [46] 100.0% [50] 3386(26.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [54] 75.3% loop [57] 24.7% ------------------------------------------------------------------- for-loop [47] 100.0% [51] 772(6.0%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [55]100.0% ------------------------------------------------------------------- taylor-alt [48] 100.0% [52] 204(1.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [56] 100.0% ------------------------------------------------------------------- debug-print [49] 100.0% [53] 202(1.6%) 202(1.6%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ------------------------------------------------------------------- sort [50] 47.5% copying-mergesort [54] 52.5% [54] 2550(19.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [54] 52.5% loop [57] 39.3% jloop [59] 8.2% ------------------------------------------------------------------- atab-add-altn [51] 100.0% [55] 772(6.0%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [58] 100.0% ------------------------------------------------------------------- for-loop [52] 100.0% [56] 204(1.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [60] 100.0% ------------------------------------------------------------------- sort [50] 32.7% copying-mergesort [54] 67.3% [57] 2554(19.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [61] 100.0% ------------------------------------------------------------------- option-on-expr [42] 22.8% best-and-tied-at-points [55] 77.2% [58] 1000(7.8%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [62] 78.0% eval-prog [64] 22.0% ------------------------------------------------------------------- copying-mergesort [54] 100.0% [59] 832(6.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [61] 100.0% ------------------------------------------------------------------- location-do [56] 100.0% [60] 204(1.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [63] 100.0% ------------------------------------------------------------------- jloop [59] 24.6% loop [57] 75.4% [61] 3386(26.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [64] 87.5% ->flonum [78] 6.6% ??? [75] 5.9% ------------------------------------------------------------------- errors [58] 100.0% [62] 780(6.1%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [75] 100.0% ------------------------------------------------------------------- approximate9 [60] 100.0% [63] 204(1.6%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [65] 100.0% ------------------------------------------------------------------- errors [58] 6.9% ??? [61] 93.1% [64] 3184(24.8%) 2760(21.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [66] 7.0% parse-lambda [70] 6.3% ------------------------------------------------------------------- for-loop [8] 16.7% ??? [68] 16.7% ??? [69] 16.7% loop [63] 16.7% for-loop [7] 33.3% [65] 204(1.6%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [3] 33.3% ??? [69] 16.7% ??? [68] 16.7% ??? [4] 16.7% simplify [67] 16.7% ------------------------------------------------------------------- eval-prog [64] 100.0% [66] 222(1.7%) 222(1.7%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 ------------------------------------------------------------------- hash-ref! [65] 100.0% [67] 204(1.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [71] 100.0% ------------------------------------------------------------------- hash-ref! [65] 100.0% [68] 204(1.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [65] 100.0% ------------------------------------------------------------------- hash-ref! [65] 100.0% [69] 204(1.6%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [65] 100.0% ------------------------------------------------------------------- eval-prog [64] 100.0% [70] 202(1.6%) 202(1.6%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ------------------------------------------------------------------- simplify [67] 100.0% [71] 204(1.6%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [72] 100.0% ------------------------------------------------------------------- f37 [71] 6.2% loop [26] 35.0% make-exacts* [23] 58.8% [72] 3276(25.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [73] 93.8% parse-loop50 [74] 6.2% ------------------------------------------------------------------- map [72] 0.3% make-exacts* [23] 0.3% loop [73] 99.4% [73] 5700(44.3%) 244(1.9%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [73] 99.4% ??? [75] 0.6% ->flonum [78] 0.0% ------------------------------------------------------------------- parse-loop50 [74] 50.0% map [72] 50.0% [74] 204(1.6%) 204(1.6%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [74] 50.0% ------------------------------------------------------------------- ??? [61] 3.2% for-loop [62] 12.6% loop [73] 84.2% [75] 6202(48.2%) 230(1.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [76] 62.5% real->bigfloat [77] 30.6% ->flonum [78] 3.2% ------------------------------------------------------------------- ??? [75] 100.0% [76] 3876(30.2%) 406(3.2%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [79] 79.9% ??? [80] 9.6% ------------------------------------------------------------------- ??? [75] 100.0% [77] 1896(14.8%) 1896(14.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ------------------------------------------------------------------- ??? [75] 30.5% ??? [61] 33.8% loop [73] 35.7% [78] 656(5.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [80] 64.3% ??? [81] 35.7% ------------------------------------------------------------------- ??? [76] 100.0% [79] 3096(24.1%) 1396(10.9%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [81] 39.1% bfsin [82] 15.8% ------------------------------------------------------------------- sample-default [37] 20.1% ??? [76] 37.6% ->flonum [78] 42.4% [80] 996(7.7%) 996(7.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------- ->flonum [78] 16.2% ??? [79] 83.8% [81] 1446(11.2%) 690(5.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [83] 52.3% ------------------------------------------------------------------- ??? [79] 100.0% [82] 488(3.8%) 488(3.8%) bfsin ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ------------------------------------------------------------------- ??? [81] 100.0% [83] 756(5.9%) 250(1.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [84] 66.9% ------------------------------------------------------------------- ??? [83] 100.0% [84] 506(3.9%) 506(3.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -------------------------------------------------------------------