Profiling results ----------------- Total cpu time observed: 14404ms (out of 14488ms) Number of samples taken: 77 (once every 187ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [29] 100.0% [1] 13334(92.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% --------------------------------------------------------------------- ??? [29] 100.0% [2] 6256(43.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 64.3% get-final-combination [9] 35.7% --------------------------------------------------------------------- loop [60] 5.5% ??? [29] 94.5% [3] 3294(22.9%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [10] 67.6% for-loop [11] 26.3% iterate-egraph!5 [14] 6.1% --------------------------------------------------------------------- hash-ref! [64] 100.0% [4] 740(5.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [60] 100.0% --------------------------------------------------------------------- copying-mergesort [42] 100.0% [5] 360(2.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [56] 100.0% --------------------------------------------------------------------- hash-ref! [64] 100.0% [6] 196(1.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [12] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 13334(92.6%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [29] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 4024(27.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [13] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 2232(15.5%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [15] 91.9% extract-alt [17] 8.1% --------------------------------------------------------------------- simplify [3] 100.0% [10] 2228(15.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [14] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [11] 866(6.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [14] 100.0% --------------------------------------------------------------------- ??? [6] 100.0% [12] 196(1.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 ??? [16] 100.0% --------------------------------------------------------------------- for-loop [8] 100.0% [13] 4024(27.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [19] 77.4% finalize-iter! [21] 13.6% gen-series! [22] 9.0% --------------------------------------------------------------------- simplify [3] 6.1% for-loop [11] 26.3% simplify-expr [10] 67.6% [14] 3294(22.9%) 166(1.2%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [18] 95.0% --------------------------------------------------------------------- get-final-combination [9] 100.0% [15] 2052(14.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [20] 100.0% --------------------------------------------------------------------- for-loop [12] 100.0% [16] 196(1.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [64] 100.0% --------------------------------------------------------------------- get-final-combination [9] 100.0% [17] 180(1.2%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [60] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [14] 100.0% [18] 3128(21.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [24] 73.4% loop [27] 15.0% apply-match [31] 11.6% --------------------------------------------------------------------- run-iter! [13] 100.0% [19] 3114(21.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [23] 100.0% --------------------------------------------------------------------- split-table [15] 100.0% [20] 2052(14.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [25] 100.0% --------------------------------------------------------------------- run-iter! [13] 100.0% [21] 548(3.8%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% --------------------------------------------------------------------- run-iter! [13] 100.0% [22] 362(2.5%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [28] 100.0% --------------------------------------------------------------------- simplify! [19] 100.0% [23] 3114(21.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [29] 100.0% --------------------------------------------------------------------- for-loop [24] 50.0% one-iter [18] 50.0% [24] 2296(15.9%) 560(3.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [24] 50.0% match-e [36] 34.2% ??? [57] 3.6% --------------------------------------------------------------------- infer-splitpoints4 [20] 100.0% [25] 2052(14.2%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [30] 100.0% --------------------------------------------------------------------- finalize-iter! [21] 100.0% [26] 548(3.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [32] 100.0% --------------------------------------------------------------------- one-iter [18] 100.0% [27] 468(3.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [31] 100.0% --------------------------------------------------------------------- gen-series! [22] 100.0% [28] 362(2.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [33] 100.0% --------------------------------------------------------------------- for-loop [23] 7.3% run [7] 43.2% [29] 14224(98.8%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 43.2% loop [34] 30.6% run-improve58 [2] 18.9% simplify [3] 7.3% --------------------------------------------------------------------- option-on-expr [25] 100.0% [30] 2052(14.2%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [35] 100.0% --------------------------------------------------------------------- one-iter [18] 43.8% loop [27] 56.2% [31] 832(5.8%) 200(1.4%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [36] 38.2% reduce-to-single! [39] 19.7% substitute-e [40] 18.0% --------------------------------------------------------------------- ??? [26] 100.0% [32] 548(3.8%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [37] 100.0% --------------------------------------------------------------------- for-loop [28] 100.0% [33] 362(2.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [38] 100.0% --------------------------------------------------------------------- ??? [29] 100.0% [34] 7968(55.3%) 176(1.2%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [41] 47.0% make-exacts* [47] 39.2% loop [48] 11.6% --------------------------------------------------------------------- sort-context-on-expr [30] 100.0% [35] 2052(14.2%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [42] 59.2% loop [49] 40.8% --------------------------------------------------------------------- apply-match [31] 12.8% for-loop [50] 13.8% for-loop [24] 73.4% [36] 1888(13.1%) 856(5.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [43] 39.4% constant? [45] 9.7% for-loop [50] 9.5% --------------------------------------------------------------------- for-loop [32] 100.0% [37] 548(3.8%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [44] 100.0% --------------------------------------------------------------------- taylor-alt [33] 100.0% [38] 362(2.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% --------------------------------------------------------------------- apply-match [31] 100.0% [39] 164(1.1%) 164(1.1%) reduce-to-single! ...bie/src/core/egraph.rkt:324:0 --------------------------------------------------------------------- apply-match [31] 100.0% [40] 150(1.0%) 150(1.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 --------------------------------------------------------------------- loop [34] 100.0% [41] 3746(26.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [48] 62.9% make-exacts* [47] 37.1% --------------------------------------------------------------------- sort [35] 45.2% copying-mergesort [42] 54.8% [42] 1214(8.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [42] 54.8% loop [49] 37.8% jloop [5] 7.4% --------------------------------------------------------------------- match-e [36] 100.0% [43] 1004(7.0%) 182(1.3%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [50] 51.8% foldl [53] 15.1% list-cartesian-product [54] 14.9% --------------------------------------------------------------------- atab-add-altn [37] 100.0% [44] 548(3.8%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [51] 100.0% --------------------------------------------------------------------- match-e [36] 100.0% [45] 368(2.6%) 368(2.6%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 --------------------------------------------------------------------- location-do [46] 22.9% for-loop [38] 77.1% [46] 362(2.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [52] 77.1% location-do [46] 22.9% --------------------------------------------------------------------- loop [41] 30.8% loop [34] 69.2% [47] 4514(31.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [60] 47.3% map [55] 28.3% eval-prog [61] 24.4% --------------------------------------------------------------------- loop [34] 28.1% loop [41] 71.9% [48] 3278(22.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [55] 100.0% --------------------------------------------------------------------- sort [35] 49.5% copying-mergesort [42] 50.5% [49] 1692(11.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [56] 100.0% --------------------------------------------------------------------- match-e [36] 25.7% for-loop [43] 74.3% [50] 700(4.9%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [36] 74.3% ??? [57] 25.7% --------------------------------------------------------------------- best-and-tied-at-points [44] 100.0% [51] 548(3.8%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [61] 100.0% --------------------------------------------------------------------- location-do [46] 100.0% [52] 362(2.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [58] 54.1% f37 [80] 45.9% --------------------------------------------------------------------- for-loop [43] 100.0% [53] 152(1.1%) 0(0.0%) foldl ...et/collects/racket/private/list.rkt:229:4 merge2 [59] 100.0% --------------------------------------------------------------------- for-loop [43] 100.0% [54] 150(1.0%) 150(1.0%) list-cartesian-product ...src/core/ematch.rkt:20:0 --------------------------------------------------------------------- f37 [80] 3.5% make-exacts* [47] 27.1% loop [48] 69.4% [55] 4722(32.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [60] 96.5% taylor-sqrt [62] 3.5% --------------------------------------------------------------------- jloop [5] 17.5% loop [49] 82.5% [56] 2052(14.2%) 166(1.2%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [61] 91.9% --------------------------------------------------------------------- for-loop [24] 48.0% for-loop [50] 52.0% [57] 346(2.4%) 346(2.4%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 --------------------------------------------------------------------- approximate9 [52] 100.0% [58] 196(1.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [64] 100.0% --------------------------------------------------------------------- foldl [53] 100.0% [59] 152(1.1%) 152(1.1%) merge2 ...ztatlock/herbie/src/core/ematch.rkt:31:0 --------------------------------------------------------------------- make-exacts* [47] 0.1% map [55] 2.2% extract-alt [17] 2.4% ??? [4] 9.7% loop [60] 85.6% [60] 7612(52.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [60] 85.6% hash-ref! [64] 9.7% simplify [3] 2.4% ??? [63] 2.3% ->flonum [65] 0.0% --------------------------------------------------------------------- errors [51] 15.5% make-exacts* [47] 31.1% ??? [56] 53.4% [61] 3534(24.5%) 2628(18.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [64] 20.9% ??? [66] 4.7% --------------------------------------------------------------------- map [55] 100.0% [62] 166(1.2%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [70] 100.0% --------------------------------------------------------------------- loop [60] 100.0% [63] 6302(43.8%) 348(2.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [67] 65.1% real->bigfloat [68] 23.6% ??? [84] 5.7% --------------------------------------------------------------------- ??? [16] 7.0% ??? [72] 7.0% loop [58] 7.0% eval-prog [61] 26.4% loop [60] 52.7% [64] 936(6.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 52.7% bigfloat-hash [69] 26.4% ??? [72] 7.0% ??? [6] 7.0% simplify [70] 7.0% --------------------------------------------------------------------- loop [60] 100.0% [65] 390(2.7%) 194(1.3%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [71] 50.3% --------------------------------------------------------------------- eval-prog [61] 100.0% [66] 166(1.2%) 166(1.2%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 --------------------------------------------------------------------- ??? [63] 100.0% [67] 4102(28.5%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [73] 87.8% ...higher-order.rkt:373:33 [75] 12.2% --------------------------------------------------------------------- ??? [63] 100.0% [68] 1490(10.3%) 678(4.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [83] 54.5% --------------------------------------------------------------------- hash-ref! [64] 100.0% [69] 740(5.1%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [74] 100.0% --------------------------------------------------------------------- taylor-sqrt [62] 45.9% hash-ref! [64] 54.1% [70] 362(2.5%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [76] 54.1% debug7 [77] 45.9% --------------------------------------------------------------------- ->flonum [65] 100.0% [71] 196(1.4%) 196(1.4%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- hash-ref! [64] 100.0% [72] 196(1.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [64] 100.0% --------------------------------------------------------------------- ??? [67] 100.0% [73] 3600(25.0%) 736(5.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [78] 34.9% bfadd [79] 34.7% ??? [86] 9.9% --------------------------------------------------------------------- bigfloat-hash [69] 100.0% [74] 740(5.1%) 740(5.1%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- ??? [67] 100.0% [75] 502(3.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [81] 66.9% ??? [84] 33.1% --------------------------------------------------------------------- parse-loop50 [76] 50.0% simplify [70] 50.0% [76] 196(1.4%) 0(0.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [76] 50.0% f37 [80] 50.0% --------------------------------------------------------------------- simplify [70] 100.0% [77] 166(1.2%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 return/no-unsupplied [82] 100.0% --------------------------------------------------------------------- ??? [73] 100.0% [78] 1258(8.7%) 912(6.3%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [83] 27.5% --------------------------------------------------------------------- ??? [73] 100.0% [79] 1250(8.7%) 908(6.3%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [83] 27.4% --------------------------------------------------------------------- approximate9 [52] 15.3% f37 [80] 30.6% parse-loop50 [76] 54.1% [80] 362(2.5%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 parse-app [85] 54.1% f37 [80] 30.6% map [55] 15.3% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [75]100.0% [81] 336(2.3%) 166(1.2%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [84] 50.6% --------------------------------------------------------------------- debug7 [77] 100.0% [82] 166(1.2%) 166(1.2%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 --------------------------------------------------------------------- bfadd [79] 22.8% bfsqrt [78] 23.1% real->bigfloat [68] 54.1% [83] 1500(10.4%) 1500(10.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ...higher-order.rkt:373:33 [75] 23.8% ??? [81] 24.4% ??? [63] 51.9% [84] 698(4.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [86] 100.0% --------------------------------------------------------------------- f37 [80] 100.0% [85] 196(1.4%) 196(1.4%) parse-app .../collects/racket/private/kw.rkt:903:2 --------------------------------------------------------------------- ??? [73] 33.8% ??? [84] 66.2% [86] 1054(7.3%) 182(1.3%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [87] 67.0% ??? [88] 15.7% --------------------------------------------------------------------- ??? [86] 100.0% [87] 706(4.9%) 526(3.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [89] 25.5% --------------------------------------------------------------------- ??? [86] 100.0% [88] 166(1.2%) 166(1.2%) ??? ...ects/racket/contract/private/prop.rkt:489:4 --------------------------------------------------------------------- ??? [87] 100.0% [89] 180(1.2%) 180(1.2%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------