Profiling results ----------------- Total cpu time observed: 17586ms (out of 17952ms) Number of samples taken: 74 (once every 238ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [36] 100.0% [1] 16932(96.3%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [9] 100.0% --------------------------------------------------------------------- ??? [36] 100.0% [2] 6886(39.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [10] 66.3% get-final-combination [11] 33.7% --------------------------------------------------------------------- loop [71] 5.2% ??? [36] 94.8% [3] 3882(22.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [12] 55.7% for-loop [13] 27.3% iterate-egraph!5 [17] 17.0% --------------------------------------------------------------------- hash-ref! [74] 100.0% [4] 428(2.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [71] 100.0% --------------------------------------------------------------------- hash-ref! [74] 100.0% [5] 222(1.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 ??? [14] 100.0% --------------------------------------------------------------------- location-do [59] 100.0% [6] 222(1.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [15] 100.0% --------------------------------------------------------------------- hash-ref! [74] 100.0% [7] 212(1.2%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [68] 100.0% --------------------------------------------------------------------- copying-mergesort [54] 100.0% [8] 202(1.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [69] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [9] 16932(96.3%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [36] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 4564(26.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [16] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [11] 2322(13.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 91.4% extract-alt [21] 8.6% --------------------------------------------------------------------- simplify [3] 100.0% [12] 2162(12.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [17] 89.8% loop [20] 10.2% --------------------------------------------------------------------- simplify [3] 100.0% [13] 1060(6.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [17] 100.0% --------------------------------------------------------------------- loop [71] 48.8% ??? [5] 51.2% [14] 434(2.5%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 curried [19] 51.2% hash-ref! [74] 48.8% --------------------------------------------------------------------- approximate9 [6] 100.0% [15] 222(1.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [74] 100.0% --------------------------------------------------------------------- for-loop [10] 100.0% [16] 4564(26.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [22] 80.7% finalize-iter! [25] 9.8% gen-series! [27] 4.9% localize-error [29] 4.6% --------------------------------------------------------------------- simplify [3] 18.0% for-loop [13] 28.9% simplify-expr [12] 53.0% [17] 3662(20.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [23] 88.4% map-enodes [26] 11.6% --------------------------------------------------------------------- get-final-combination [11] 100.0% [18] 2122(12.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [24] 81.1% ??? [33] 18.9% --------------------------------------------------------------------- ??? [14] 100.0% [19] 222(1.3%) 222(1.3%) curried ...cket/collects/racket/function.rkt:71:18 --------------------------------------------------------------------- simplify-expr [12] 100.0% [20] 220(1.3%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [28] 100.0% --------------------------------------------------------------------- get-final-combination [11] 100.0% [21] 200(1.1%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [71] 100.0% --------------------------------------------------------------------- run-iter! [16] 100.0% [22] 3682(20.9%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [17] 100.0% [23] 3236(18.4%) 444(2.5%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [31] 66.8% loop [34] 19.5% --------------------------------------------------------------------- split-table [18] 100.0% [24] 1722(9.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [32] 100.0% --------------------------------------------------------------------- run-iter! [16] 100.0% [25] 448(2.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [33] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [17] 100.0% [26] 426(2.4%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [71] 100.0% --------------------------------------------------------------------- run-iter! [16] 100.0% [27] 222(1.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [35] 100.0% --------------------------------------------------------------------- loop [20] 100.0% [28] 220(1.3%) 220(1.3%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 --------------------------------------------------------------------- run-iter! [16] 100.0% [29] 212(1.2%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [74] 100.0% --------------------------------------------------------------------- simplify! [22] 100.0% [30] 3682(20.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [36] 100.0% --------------------------------------------------------------------- for-loop [31] 50.0% one-iter [23] 50.0% [31] 2162(12.3%) 618(3.5%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [31] 50.0% match-e [37] 35.7% --------------------------------------------------------------------- infer-splitpoints4 [24] 100.0% [32] 1722(9.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [38] 88.4% err-lsts->split-indices [43] 11.6% --------------------------------------------------------------------- split-table [18] 47.2% finalize-iter! [25] 52.8% [33] 848(4.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [40] 52.8% split-atab [41] 47.2% --------------------------------------------------------------------- one-iter [23] 100.0% [34] 630(3.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [39] 100.0% --------------------------------------------------------------------- gen-series! [27] 100.0% [35] 222(1.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [42] 100.0% --------------------------------------------------------------------- for-loop [30] 7.1% run [9] 45.2% [36] 17360(98.7%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 45.2% loop [44] 31.4% run-improve58 [2] 16.3% simplify [3] 7.1% --------------------------------------------------------------------- for-loop [31] 100.0% [37] 1544(8.8%) 1106(6.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [47] 28.4% --------------------------------------------------------------------- option-on-expr [32] 100.0% [38] 1522(8.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [45] 100.0% --------------------------------------------------------------------- loop [34] 100.0% [39] 630(3.6%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [48] 68.3% update-leader! [51] 31.7% --------------------------------------------------------------------- ??? [33] 100.0% [40] 448(2.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [46] 100.0% --------------------------------------------------------------------- ??? [33] 100.0% [41] 400(2.3%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [49] 100.0% --------------------------------------------------------------------- for-loop [35] 100.0% [42] 222(1.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [50] 100.0% --------------------------------------------------------------------- option-on-expr [32] 100.0% [43] 200(1.1%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [52] 100.0% --------------------------------------------------------------------- ??? [36] 100.0% [44] 10474(59.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [62] 60.0% loop [53] 40.0% --------------------------------------------------------------------- sort-context-on-expr [38] 100.0% [45] 1522(8.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [54] 71.2% loop [64] 28.8% --------------------------------------------------------------------- for-loop [40] 100.0% [46] 448(2.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [55] 100.0% --------------------------------------------------------------------- match-e [37] 100.0% [47] 438(2.5%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [56] 100.0% --------------------------------------------------------------------- apply-match [39] 100.0% [48] 430(2.4%) 0(0.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 mk-enode! [57] 100.0% --------------------------------------------------------------------- split-atab [41] 100.0% [49] 400(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [58] 100.0% --------------------------------------------------------------------- taylor-alt [42] 100.0% [50] 222(1.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [59] 100.0% --------------------------------------------------------------------- apply-match [39] 100.0% [51] 200(1.1%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [60] 100.0% --------------------------------------------------------------------- err-lsts->split-indices [43] 100.0% [52] 200(1.1%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [61] 100.0% --------------------------------------------------------------------- loop [44] 100.0% [53] 4192(23.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [63] 51.8% make-exacts* [62] 42.9% eval-prog [72] 5.2% --------------------------------------------------------------------- copying-mergesort [54] 37.9% sort [45] 62.1% [54] 1084(6.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [64] 57.5% copying-mergesort [54] 37.9% jloop [8] 4.7% --------------------------------------------------------------------- atab-add-altn [46] 100.0% [55] 448(2.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [65] 100.0% --------------------------------------------------------------------- list-cartesian-product [56] 24.7% for-loop [47] 75.3% [56] 438(2.5%) 438(2.5%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [56] 24.7% --------------------------------------------------------------------- substitute-e [48] 100.0% [57] 430(2.4%) 430(2.4%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 --------------------------------------------------------------------- for-loop [49] 100.0% [58] 400(2.3%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:80:53 loop [66] 100.0% --------------------------------------------------------------------- for-loop [50] 33.3% location-do [59] 66.7% [59] 222(1.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [59] 66.7% approximate9 [6] 33.3% --------------------------------------------------------------------- update-leader! [51] 100.0% [60] 200(1.1%) 200(1.1%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 --------------------------------------------------------------------- add-splitpoint [52] 100.0% [61] 200(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [67] 100.0% --------------------------------------------------------------------- loop [53] 22.3% loop [44] 77.7% [62] 8082(46.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [68] 59.7% loop [71] 37.7% eval-prog [72] 2.6% --------------------------------------------------------------------- loop [53] 100.0% [63] 2172(12.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [68] 100.0% --------------------------------------------------------------------- sort [45] 33.2% copying-mergesort [54] 66.8% [64] 1320(7.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [69] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [55] 100.0% [65] 448(2.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [72] 100.0% --------------------------------------------------------------------- for-loop [58] 100.0% [66] 400(2.3%) 0(0.0%) loop ...ket/collects/racket/private/list.rkt:264:4 ??? [70] 100.0% --------------------------------------------------------------------- for-loop [61] 100.0% [67] 200(1.1%) 200(1.1%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 --------------------------------------------------------------------- f6 [7] 2.9% loop [63] 30.1% make-exacts* [62] 66.9% [68] 7208(41.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [71] 100.0% --------------------------------------------------------------------- jloop [8] 13.3% loop [64] 86.7% [69] 1522(8.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [72] 100.0% --------------------------------------------------------------------- loop [66] 100.0% [70] 400(2.3%) 200(1.1%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 eval-prog [72] 50.0% --------------------------------------------------------------------- parse-loop12 [81] 0.0% make-exacts* [62] 0.1% map [68] 0.4% extract-alt [21] 1.7% map-enodes [26] 2.8% ??? [4] 3.7% loop [71] 91.2% [71] 11538(65.6%) 212(1.2%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [71] 91.2% hash-ref! [74] 3.7% for-loop [75] 2.8% simplify [3] 1.7% ??? [73] 0.4% ??? [14] 0.0% --------------------------------------------------------------------- ??? [70] 7.7% make-exacts* [62] 8.0% loop [53] 8.5% errors [65] 17.2% ??? [69] 58.6% [72] 2598(14.8%) 1948(11.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [74] 25.0% --------------------------------------------------------------------- loop [71] 100.0% [73] 10272(58.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [76] 83.5% real->bigfloat [77] 12.0% ??? [92] 4.5% --------------------------------------------------------------------- ??? [14] 9.8% localize-error [29] 9.8% ??? [80] 10.2% loop [15] 10.2% loop [71] 24.8% eval-prog [72] 35.1% [74] 1084(6.2%) 222(1.3%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 24.8% bigfloat-hash [78] 14.7% ??? [80] 10.2% ??? [5] 10.2% parse-loop12 [81] 9.8% f6 [7] 9.8% --------------------------------------------------------------------- loop [71] 100.0% [75] 426(2.4%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 setfindf [79] 52.1% eval-const-expr [82] 47.9% --------------------------------------------------------------------- ??? [73] 100.0% [76] 8578(48.8%) 266(1.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [89] 50.2% bf* [87] 16.5% ...higher-order.rkt:373:33 [83] 11.7% bfcube [84] 8.1% bf<= [85] 7.5% ...ow-val-first.rkt:357:18 [88] 2.9% --------------------------------------------------------------------- ??? [73] 100.0% [77] 1232(7.0%) 1016(5.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [95] 17.5% --------------------------------------------------------------------- hash-ref! [74] 100.0% [78] 428(2.4%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [86] 100.0% --------------------------------------------------------------------- for-loop [75] 100.0% [79] 222(1.3%) 222(1.3%) setfindf ...e/ztatlock/herbie/src/common.rkt:173:0 --------------------------------------------------------------------- hash-ref! [74] 100.0% [80] 222(1.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [74] 100.0% --------------------------------------------------------------------- hash-ref! [74] 100.0% [81] 212(1.2%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [71] 100.0% --------------------------------------------------------------------- for-loop [75] 100.0% [82] 204(1.2%) 204(1.2%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 --------------------------------------------------------------------- ??? [76] 100.0% [83] 1004(5.7%) 112(0.6%) ...higher-order.rkt:373:33 (unknown source) ??? [90] 48.0% ??? [92] 40.8% --------------------------------------------------------------------- ??? [76] 100.0% [84] 698(4.0%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 ...ow-val-first.rkt:357:18 [88] 70.5% bf* [87] 29.5% --------------------------------------------------------------------- ??? [76] 100.0% [85] 646(3.7%) 0(0.0%) bf<= ...h/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [94] 100.0% --------------------------------------------------------------------- bigfloat-hash [78] 100.0% [86] 428(2.4%) 428(2.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- bfcube [84] 12.7% ??? [76] 87.3% [87] 1622(9.2%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [89] 100.0% --------------------------------------------------------------------- ??? [76] 33.3% bfcube [84] 66.7% [88] 738(4.2%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [90] 100.0% --------------------------------------------------------------------- bf* [87] 27.4% ??? [76] 72.6% [89] 5924(33.7%) 236(1.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [91] 64.0% ??? [94] 16.3% bfsqr [93] 15.7% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [83] 39.5% ...ow-val-first.rkt:357:18 [88] 60.5% [90] 1220(6.9%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [92] 100.0% --------------------------------------------------------------------- ??? [89] 100.0% [91] 3794(21.6%) 2864(16.3%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [95] 24.5% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [83] 19.6% ??? [73] 22.1% ??? [90] 58.3% [92] 2092(11.9%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [94] 100.0% --------------------------------------------------------------------- ??? [89] 100.0% [93] 928(5.3%) 696(4.0%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [95] 25.0% --------------------------------------------------------------------- bf<= [85] 17.4% ??? [89] 26.1% ??? [92] 56.5% [94] 3704(21.1%) 2586(14.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [96] 30.2% --------------------------------------------------------------------- real->bigfloat [77] 15.7% bfsqr [93] 16.8% bfdiv [91] 67.5% [95] 1378(7.8%) 1378(7.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [94] 100.0% [96] 1118(6.4%) 886(5.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [97] 20.8% --------------------------------------------------------------------- ??? [96] 100.0% [97] 232(1.3%) 232(1.3%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------