Profiling results ----------------- Total cpu time observed: 66848ms (out of 67744ms) Number of samples taken: 365 (once every 183ms) (Hiding functions with self<1.0% and local<2.0%: 7 of 187 hidden) ======================================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================================== ??? [48] 100.0% [1] 63394(94.8%) 0(0.0%) profile-thunk16 ...t/pkgs/profile-lib/main.rkt:9:0 run [13] 100.0% ---------------------------------------------------------------------------------------- ??? [48] 100.0% [2] 39222(58.7%) 0(0.0%) run-improve50 ...ock/herbie/src/mainloop.rkt:234:0 for-loop [14] 87.9% get-final-combination [18] 10.1% loop [59] 1.6% setup-prog [23] 0.5% ---------------------------------------------------------------------------------------- ??? [161] 0.5% for-loop [90] 29.5% loop [130] 70.0% [3] 30784(46.1%) 788(1.2%) ??? /home/ztatlock/herbie/src/programs.rkt:152:4 ??? [15] 74.5% ??? [97] 20.4% ->flonum [6] 2.5% ---------------------------------------------------------------------------------------- simplify-alt [32] 1.0% loop [130] 3.2% ??? [48] 95.8% [4] 19538(29.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [16] 67.8% for-loop [17] 30.4% iterate-egraph!5 [26] 1.0% ??? [94] 0.8% ---------------------------------------------------------------------------------------- hash-ref! [163] 100.0% [5] 2826(4.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:181:5 loop [130] 93.8% hash-ref! [163] 6.2% ---------------------------------------------------------------------------------------- for-loop [90] 3.6% ??? [3] 30.7% loop [130] 65.7% [6] 2546(3.8%) 332(0.5%) ->flonum .../ztatlock/herbie/src/programs.rkt:34:0 ??? [98] 87.0% ---------------------------------------------------------------------------------------- hash-ref! [163] 100.0% [7] 644(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:281:26 for-loop [19] 100.0% ---------------------------------------------------------------------------------------- copying-mergesort [158] 100.0% [8] 486(0.7%) 0(0.0%) jloop ...t/collects/racket/private/sort.rkt:121:23 ??? [161] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [163] 100.0% [9] 472(0.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:318:33 for-loop [20] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [163] 100.0% [10] 222(0.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:291:23 for-loop [21] 100.0% ---------------------------------------------------------------------------------------- loop [130] 100.0% [11] 154(0.2%) 0(0.0%) foldl ...et/collects/racket/private/list.rkt:229:4 ??? [24] 100.0% ---------------------------------------------------------------------------------------- f6 [106] 100.0% [12] 122(0.2%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:308:0 first-nonzero-exp [22] 100.0% ---------------------------------------------------------------------------------------- profile-thunk16 [1] 99.8% [13] 63492(95.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:39:2 ??? [48] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 100.0% [14] 34464(51.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:245:8 run-iter! [25] 100.0% ---------------------------------------------------------------------------------------- ??? [3] 100.0% [15] 22920(34.3%) 8690(13.0%) ??? ...acket/collects/racket/private/kw.rkt:444:14 ??? [141] 37.2% ??? [28] 12.1% ??? [29] 12.1% ??? [171] 0.8% ---------------------------------------------------------------------------------------- simplify [4] 100.0% [16] 13244(19.8%) 156(0.2%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [26] 85.8% loop [30] 13.0% ---------------------------------------------------------------------------------------- simplify [4] 100.0% [17] 5940(8.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [26] 84.4% loop [30] 15.6% ---------------------------------------------------------------------------------------- run-improve50 [2] 100.0% [18] 3952(5.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:260:0 split-table [27] 72.9% extract-alt [31] 27.1% ---------------------------------------------------------------------------------------- ??? [7] 100.0% [19] 644(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:281:52 hash-ref! [163] 70.2% simplify [100] 29.8% ---------------------------------------------------------------------------------------- ??? [9] 100.0% [20] 472(0.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:320:46 hash-ref! [163] 100.0% ---------------------------------------------------------------------------------------- ??? [10] 100.0% [21] 222(0.3%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:294:27 hash-ref! [163] 100.0% ---------------------------------------------------------------------------------------- taylor-sqrt [133] 44.5% taylor-invert [12] 55.5% [22] 220(0.3%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:256:0 hash-ref! [163] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 100.0% [23] 190(0.3%) 0(0.0%) setup-prog /home/ztatlock/herbie/src/glue.rkt:45:0 simplify-alt [32] 100.0% ---------------------------------------------------------------------------------------- foldl [11] 100.0% [24] 154(0.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:66:9 ??? [94] 100.0% ---------------------------------------------------------------------------------------- for-loop [14] 100.0% [25] 34464(51.6%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:215:0 simplify! [33] 55.5% finalize-iter! [35] 32.5% gen-series! [37] 7.5% gen-rewrites! [38] 2.0% choose-best-alt! [39] 1.5% localize-error [40] 1.2% ---------------------------------------------------------------------------------------- simplify [4] 1.1% for-loop [17] 30.3% simplify-expr [16] 68.6% [26] 16570(24.8%) 192(0.3%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [34] 95.6% debug-print [55] 0.7% ---------------------------------------------------------------------------------------- get-final-combination [18] 100.0% [27] 2882(4.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:164:0 f6 [106] 100.0% ---------------------------------------------------------------------------------------- ??? [15] 100.0% [28] 2776(4.2%) 2776(4.2%) ??? ...rivate/unconstrained-domain-arrow.rkt:40:13 ---------------------------------------------------------------------------------------- ??? [15] 100.0% [29] 2766(4.1%) 380(0.6%) ??? ...tatlock/herbie/src/syntax/syntax.rkt:118:17 ??? [98] 86.3% ---------------------------------------------------------------------------------------- for-loop [17] 35.0% simplify-expr [16] 65.0% [30] 2648(4.0%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [36] 100.0% ---------------------------------------------------------------------------------------- get-final-combination [18] 100.0% [31] 1070(1.6%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:56:0 loop [130] 58.5% loop [111] 41.5% ---------------------------------------------------------------------------------------- setup-prog [23] 100.0% [32] 190(0.3%) 0(0.0%) simplify-alt .../ztatlock/herbie/src/glue.rkt:83:0 simplify [4] 100.0% ---------------------------------------------------------------------------------------- run-iter! [25] 100.0% [33] 19112(28.6%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:155:0 for-loop [41] 100.0% ---------------------------------------------------------------------------------------- iterate-egraph!5 [26] 100.0% [34] 15840(23.7%) 718(1.1%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [43] 76.8% loop [46] 13.7% apply-match [50] 2.8% filter [132] 1.3% ---------------------------------------------------------------------------------------- run-iter! [25] 100.0% [35] 11192(16.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:169:0 ??? [42] 100.0% ---------------------------------------------------------------------------------------- loop [30] 100.0% [36] 2648(4.0%) 150(0.2%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [45] 94.3% ---------------------------------------------------------------------------------------- run-iter! [25] 100.0% [37] 2570(3.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:129:0 for-loop [44] 100.0% ---------------------------------------------------------------------------------------- run-iter! [25] 100.0% [38] 680(1.0%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:142:0 for-loop [47] 100.0% ---------------------------------------------------------------------------------------- run-iter! [25] 100.0% [39] 508(0.8%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:115:0 ??? [42] 100.0% ---------------------------------------------------------------------------------------- run-iter! [25] 100.0% [40] 402(0.6%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [163] 100.0% ---------------------------------------------------------------------------------------- simplify! [33] 99.3% [41] 19256(28.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:159:6 ??? [48] 97.2% debug-print [55] 2.8% ---------------------------------------------------------------------------------------- ->bf [105] 1.0% ??? [125] 2.1% variable? [76] 2.7% choose-best-alt! [39] 3.8% match-e [61] 8.1% finalize-iter! [35] 82.3% [42] 13398(20.0%) 866(1.3%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [49] 82.3% hash-has-key? [53] 7.5% ??? [56] 3.8% ---------------------------------------------------------------------------------------- for-loop [43] 50.0% one-iter [34] 50.0% [43] 12158(18.2%) 3190(4.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [43] 50.0% match-e [61] 36.9% ---------------------------------------------------------------------------------------- gen-series! [37] 100.0% [44] 2570(3.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:135:7 taylor-alt [51] 100.0% ---------------------------------------------------------------------------------------- pass [36] 100.0% [45] 2498(3.7%) 162(0.2%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [52] 79.1% for-loop [57] 7.4% loop [58] 7.0% ---------------------------------------------------------------------------------------- one-iter [34] 100.0% [46] 2170(3.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:52:19 apply-match [50] 100.0% ---------------------------------------------------------------------------------------- gen-rewrites! [38] 100.0% [47] 680(1.0%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:147:11 ??? [54] 100.0% ---------------------------------------------------------------------------------------- for-loop [41] 10.0% run [13] 43.8% [48] 66052(98.8%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [1] 43.7% run-improve50 [2] 25.9% loop [59] 20.5% simplify [4] 10.0% ---------------------------------------------------------------------------------------- ??? [42] 100.0% [49] 11192(16.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [60] 100.0% ---------------------------------------------------------------------------------------- one-iter [34] 16.9% loop [46] 83.1% [50] 2612(3.9%) 136(0.2%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [61] 29.2% merge-egraph-nodes! [64] 25.0% loop! [143] 15.9% substitute-e [67] 12.6% for-loop [69] 6.3% update-leader! [73] 5.7% ---------------------------------------------------------------------------------------- for-loop [44] 100.0% [51] 2570(3.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:141:0 for-loop [62] 100.0% ---------------------------------------------------------------------------------------- for-loop [45] 100.0% [52] 1976(3.0%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 for-loop [63] 100.0% ---------------------------------------------------------------------------------------- ??? [42] 100.0% [53] 1170(1.8%) 210(0.3%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ??? [108] 82.1% ---------------------------------------------------------------------------------------- for-loop [47] 100.0% [54] 680(1.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:88:0 rewriter [66] 77.4% loop [130] 22.6% ---------------------------------------------------------------------------------------- iterate-egraph!5 [26] 17.6% for-loop [41] 82.4% [55] 648(1.0%) 114(0.2%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [65] 82.4% ---------------------------------------------------------------------------------------- ??? [42] 100.0% [56] 508(0.8%) 0(0.0%) ??? ...ztatlock/herbie/src/core/alt-table.rkt:54:0 ??? [94] 100.0% ---------------------------------------------------------------------------------------- for-loop [45] 100.0% [57] 186(0.3%) 186(0.3%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ---------------------------------------------------------------------------------------- for-loop [45] 100.0% [58] 174(0.3%) 0(0.0%) loop ...hare/racket/collects/racket/list.rkt:729:4 expression-cost [68] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 2.3% ??? [48] 97.7% [59] 27302(40.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:159:2 loop [70] 51.4% make-exacts* [81] 39.0% loop [83] 8.7% for-loop [78] 0.9% ---------------------------------------------------------------------------------------- for-loop [49] 100.0% [60] 11192(16.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [71] 92.6% override-at-pnts [74] 6.3% loop [130] 1.1% ---------------------------------------------------------------------------------------- apply-match [50] 5.2% for-loop [84] 15.6% for-loop [43] 79.2% [61] 9732(14.6%) 6444(9.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [72] 21.4% for-loop [84] 7.8% ??? [42] 6.7% variable? [76] 1.9% loop [130] 0.6% ---------------------------------------------------------------------------------------- taylor-alt [51] 100.0% [62] 2570(3.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:143:2 ??? [94] 100.0% ---------------------------------------------------------------------------------------- argmin [52] 100.0% [63] 1976(3.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/programs.rkt:197:2 location-do [99] 53.2% ...erbie/src/common.rkt:46:2 [102] 46.8% ---------------------------------------------------------------------------------------- merge-egraph-nodes! [64] 11.2% apply-match [50] 88.8% [64] 652(1.0%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [73] 88.8% merge-egraph-nodes! [64] 11.2% ---------------------------------------------------------------------------------------- debug-print [55] 100.0% [65] 534(0.8%) 534(0.8%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ---------------------------------------------------------------------------------------- ??? [54] 46.2% matcher [86] 53.8% [66] 526(0.8%) 398(0.6%) rewriter ...lock/herbie/src/core/matcher.rkt:127:2 for-loop [75] 53.8% *rules* [80] 12.2% ---------------------------------------------------------------------------------------- apply-match [50] 100.0% [67] 330(0.5%) 0(0.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 mk-enode! [77] 100.0% ---------------------------------------------------------------------------------------- loop [58] 100.0% [68] 174(0.3%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:196:0 compile [79] 100.0% ---------------------------------------------------------------------------------------- apply-match [50] 100.0% [69] 164(0.2%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 loop! [143] 100.0% ---------------------------------------------------------------------------------------- loop [59] 100.0% [70] 14024(21.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:119:2 make-exacts* [81] 53.0% loop [83] 29.3% eval-prog [162] 17.7% ---------------------------------------------------------------------------------------- atab-add-altn [60] 100.0% [71] 10364(15.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [82] 100.0% ---------------------------------------------------------------------------------------- match-e [61] 100.0% [72] 2854(4.3%) 1410(2.1%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [84] 52.9% list-cartesian-product [88] 3.0% ---------------------------------------------------------------------------------------- apply-match [50] 18.7% merge-egraph-nodes! [64] 81.3% [73] 802(1.2%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [85] 100.0% ---------------------------------------------------------------------------------------- atab-add-altn [60] 100.0% [74] 708(1.1%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [82] 100.0% ---------------------------------------------------------------------------------------- rewriter [66] 100.0% [75] 526(0.8%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:130:10 matcher [86] 100.0% ---------------------------------------------------------------------------------------- match-e [61] 100.0% [76] 362(0.5%) 0(0.0%) variable? ...ck/herbie/src/syntax/syntax.rkt:529:0 ??? [42] 100.0% ---------------------------------------------------------------------------------------- substitute-e [67] 100.0% [77] 330(0.5%) 174(0.3%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 new-enode [89] 47.3% ---------------------------------------------------------------------------------------- loop [59] 100.0% [78] 256(0.4%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:166:24 for-loop [87] 100.0% ---------------------------------------------------------------------------------------- expression-cost [68] 100.0% [79] 174(0.3%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:173:0 hash-ref! [163] 100.0% ---------------------------------------------------------------------------------------- rewriter [66] 100.0% [80] 128(0.2%) 0(0.0%) *rules* ...tlock/herbie/src/syntax/rules.rkt:411:0 ??? [98] 100.0% ---------------------------------------------------------------------------------------- loop [70] 41.1% loop [59] 58.9% [81] 18094(27.1%) 0(0.0%) make-exacts* ...atlock/herbie/src/points.rkt:106:0 map [119] 51.9% loop [130] 42.6% eval-prog [162] 5.5% ---------------------------------------------------------------------------------------- option-on-expr [120] 1.3% loop [130] 3.8% override-at-pnts [74] 5.6% composed [122] 7.5% best-and-tied-at-points [71] 81.8% [82] 12670(19.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:184:0 for-loop [90] 84.7% eval-prog [162] 15.3% ---------------------------------------------------------------------------------------- loop [59] 36.5% loop [70] 63.5% [83] 6474(9.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:109:4 map [119] 100.0% ---------------------------------------------------------------------------------------- match-e [61] 44.6% for-loop [72] 55.4% [84] 3034(4.5%) 136(0.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [61] 95.5% ---------------------------------------------------------------------------------------- update-leader! [73] 100.0% [85] 802(1.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 for-loop [91] 100.0% ---------------------------------------------------------------------------------------- matcher [86] 17.9% for-loop [92] 32.1% for-loop [75] 50.0% [86] 526(0.8%) 0(0.0%) matcher ...tlock/herbie/src/core/matcher.rkt:163:2 rewriter [66] 50.0% for-loop [92] 32.1% matcher [86] 17.9% ---------------------------------------------------------------------------------------- for-loop [78] 100.0% [87] 256(0.4%) 98(0.1%) for-loop .../ztatlock/herbie/src/points.rkt:167:26 ??? [93] 61.7% ---------------------------------------------------------------------------------------- for-loop [72] 100.0% [88] 174(0.3%) 174(0.3%) list-cartesian-product ...src/core/ematch.rkt:20:0 ---------------------------------------------------------------------------------------- mk-enode! [77] 100.0% [89] 156(0.2%) 156(0.2%) new-enode ...atlock/herbie/src/core/enode.rkt:68:0 ---------------------------------------------------------------------------------------- errors [82] 100.0% [90] 10730(16.1%) 956(1.4%) for-loop ...e/ztatlock/herbie/src/points.rkt:187:4 ??? [3] 84.7% ulp-difference [96] 4.5% ??? [94] 1.1% ->flonum [6] 0.9% ---------------------------------------------------------------------------------------- for-loop [85] 100.0% [91] 802(1.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:223:8 hash-update! [95] 100.0% ---------------------------------------------------------------------------------------- matcher [86] 100.0% [92] 398(0.6%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:179:21 matcher [86] 100.0% ---------------------------------------------------------------------------------------- for-loop [87] 100.0% [93] 158(0.2%) 158(0.2%) ??? /home/ztatlock/herbie/src/points.rkt:156:9 ---------------------------------------------------------------------------------------- for-loop [90] 2.3% eval-prog [162] 2.7% ??? [24] 3.0% simplify [4] 3.2% ??? [56] 9.9% location-do [99] 25.0% for-loop [62] 25.0% f6 [106] 28.8% [94] 5132(7.7%) 120(0.2%) ??? ...tract/private/arrow-higher-order.rkt:342:33 location-do [99] 32.6% approximate9 [101] 21.5% best-alt [104] 9.9% ??? [125] 8.8% ...erbie/src/common.rkt:46:2 [102] 8.6% ??? [97] 7.1% simplify [100] 3.6% successfully-got-the-right-kind-of-function [126] 3.0% ->bf [105] 2.7% ---------------------------------------------------------------------------------------- for-loop [91] 100.0% [95] 802(1.2%) 0(0.0%) hash-update! ...ket/private/more-scheme.rkt:362:13 ??? [103] 100.0% ---------------------------------------------------------------------------------------- for-loop [90] 100.0% [96] 478(0.7%) 0(0.0%) ulp-difference ...atlock/herbie/src/float.rkt:19:0 ??? [98] 100.0% ---------------------------------------------------------------------------------------- ??? [94] 5.5% ??? [3] 94.5% [97] 6658(10.0%) 0(0.0%) ??? ...contract/private/../../private/kw.rkt:761:9 real->bigfloat [107] 94.5% integer->bigfloat [114] 5.5% ---------------------------------------------------------------------------------------- *rules* [80] 2.5% ulp-difference [96] 9.2% ->flonum [6] 42.5% ??? [29] 45.8% [98] 5206(7.8%) 2528(3.8%) ??? /home/ztatlock/herbie/src/config.rkt:48:0 return/no-unsupplied [121] 32.7% ??? [110] 18.7% ---------------------------------------------------------------------------------------- location-do [99] 18.7% for-loop [63] 26.2% ??? [94] 55.0% [99] 4008(6.0%) 478(0.7%) location-do ...acket/private/norm-define.rkt:53:83 ??? [94] 48.1% ??? [108] 19.9% location-do [99] 18.7% ??? [117] 1.4% ---------------------------------------------------------------------------------------- for-loop [19] 8.0% taylor-sqrt [133] 11.1% ??? [94] 15.2% hash-ref! [163] 65.8% [100] 2406(3.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:15:0 parse-loop12 [169] 51.2% f6 [106] 44.6% simplify-node [118] 4.2% ---------------------------------------------------------------------------------------- ??? [94] 100.0% [101] 2204(3.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:12:0 loop [109] 63.5% f6 [106] 29.5% taylor-sqrt [133] 7.0% ---------------------------------------------------------------------------------------- ??? [94] 32.3% for-loop [63] 67.7% [102] 1364(2.0%) 784(1.2%) ...erbie/src/common.rkt:46:2 ...e/arr-i.rkt:906:19 ??? [112] 42.5% ---------------------------------------------------------------------------------------- hash-update! [95] 100.0% [103] 802(1.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/egraph.rkt:225:24 for-loop [113] 56.4% make-sequence [115] 43.6% ---------------------------------------------------------------------------------------- ??? [94] 100.0% [104] 508(0.8%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:78:0 loop [111] 63.0% argmins [116] 37.0% ---------------------------------------------------------------------------------------- ??? [94] 100.0% [105] 140(0.2%) 0(0.0%) ->bf /home/ztatlock/herbie/src/programs.rkt:49:0 ??? [42] 100.0% ---------------------------------------------------------------------------------------- eval-const-expr [155] 2.3% hash-ref! [163] 2.9% parse-loop12 [169] 3.3% map [119] 4.0% approximate9 [101] 4.9% eval-prog [162] 7.5% simplify [100] 11.3% f6 [106] 18.6% split-table [27] 45.2% [106] 6382(9.5%) 542(0.8%) f6 ...et/collects/racket/match/compiler.rkt:507:40 option-on-expr [120] 42.5% f6 [106] 18.6% map [119] 12.5% ??? [94] 9.8% parse-app [176] 3.0% exprs-to-branch-on [128] 2.7% taylor-sqrt [133] 2.0% taylor-invert [12] 1.0% ---------------------------------------------------------------------------------------- ??? [97] 100.0% [107] 6294(9.4%) 5664(8.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [157] 10.0% ---------------------------------------------------------------------------------------- location-do [99] 45.3% hash-has-key? [53] 54.7% [108] 1756(2.6%) 120(0.2%) ??? ...ects/racket/contract/private/list.rkt:737:4 for-loop [124] 46.6% successfully-got-the-right-kind-of-function [126] 18.2% ??? [135] 17.5% arrow-higher-order:lnp [180] 10.8% ---------------------------------------------------------------------------------------- approximate9 [101] 100.0% [109] 1400(2.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:83:4 hash-ref! [163] 100.0% ---------------------------------------------------------------------------------------- ??? [98] 100.0% [110] 974(1.5%) 0(0.0%) ??? ...racket/collects/racket/private/kw.rkt:761:9 ??? [123] 89.7% ??? [125] 10.3% ---------------------------------------------------------------------------------------- best-alt [104] 41.9% extract-alt [31] 58.1% [111] 764(1.1%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:135:2 composed [122] 100.0% ---------------------------------------------------------------------------------------- ...erbie/src/common.rkt:46:2 [102] 100.0% [112] 580(0.9%) 418(0.6%) ??? ...s/racket/contract/private/arr-i.rkt:1268:39 return/no-unsupplied [121] 27.9% ---------------------------------------------------------------------------------------- ??? [103] 100.0% [113] 452(0.7%) 452(0.7%) for-loop ...lock/herbie/src/core/egraph.rkt:226:26 ---------------------------------------------------------------------------------------- ??? [97] 100.0% [114] 364(0.5%) 364(0.5%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------------------------- ??? [103] 100.0% [115] 350(0.5%) 150(0.2%) make-sequence ...ects/racket/private/for.rkt:509:2 ??? [127] 57.1% ---------------------------------------------------------------------------------------- best-alt [104] 100.0% [116] 188(0.3%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:134:0 composed [122] 100.0% ---------------------------------------------------------------------------------------- location-do [99] 100.0% [117] 164(0.2%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:336:46 ??? [171] 100.0% ---------------------------------------------------------------------------------------- simplify [100] 100.0% [118] 100(0.1%) 0(0.0%) simplify-node ...k/herbie/src/core/reduce.rkt:39:0 combine-aterms [129] 100.0% ---------------------------------------------------------------------------------------- f6 [106] 6.9% loop [83] 38.0% make-exacts* [81] 55.1% [119] 17032(25.5%) 164(0.2%) map ...acket/collects/racket/private/map.rkt:20:13 loop [130] 94.2% f6 [106] 1.8% taylor-sqrt [133] 1.4% parse-loop12 [169] 0.9% ---------------------------------------------------------------------------------------- f6 [106] 100.0% [120] 2710(4.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:115:0 sort-context-on-expr [131] 60.7% loop [130] 17.9% pick-errors [136] 15.5% errors [82] 5.9% ---------------------------------------------------------------------------------------- ??? [112] 8.7% ??? [98] 91.3% [121] 1866(2.8%) 1366(2.0%) return/no-unsupplied ...ct/private/arr-i.rkt:533:0 filter [132] 26.8% ---------------------------------------------------------------------------------------- argmins [116] 19.7% loop [111] 80.3% [122] 952(1.4%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [82] 100.0% ---------------------------------------------------------------------------------------- ??? [110] 100.0% [123] 874(1.3%) 732(1.1%) ??? ...s/racket/contract/private/arr-i.rkt:1233:27 ??? [140] 16.2% ---------------------------------------------------------------------------------------- ??? [108] 100.0% [124] 818(1.2%) 478(0.7%) for-loop ...acket/contract/private/list.rkt:743:12 for-loop [137] 27.1% ??? [135] 14.4% ---------------------------------------------------------------------------------------- ??? [110] 18.2% ??? [94] 81.8% [125] 550(0.8%) 100(0.1%) ??? ...ects/racket/contract/private/guts.rkt:644:8 ??? [42] 81.8% ---------------------------------------------------------------------------------------- ??? [94] 32.5% ??? [108] 67.5% [126] 474(0.7%) 0(0.0%) successfully-got-the-right-kind-of-function ...9:4 arity-checking-wrapper [134] 100.0% ---------------------------------------------------------------------------------------- make-sequence [115] 100.0% [127] 200(0.3%) 0(0.0%) ??? ...acket/collects/racket/private/for.rkt:429:7 custom-in-set [138] 100.0% ---------------------------------------------------------------------------------------- f6 [106] 100.0% [128] 172(0.3%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:44:0 critical-subexpression [139] 100.0% ---------------------------------------------------------------------------------------- simplify-node [118] 100.0% [129] 100(0.1%) 100(0.1%) combine-aterms ...herbie/src/core/reduce.rkt:172:0 ---------------------------------------------------------------------------------------- ??? [54] 0.2% atab-add-altn [60] 0.4% match-e [61] 0.4% parse-loop12 [169] 0.8% extract-alt [31] 1.0% make-exacts* [81] 1.0% option-on-expr [120] 1.0% loop! [143] 1.1% map [119] 1.7% ??? [5] 9.2% loop [130] 82.6% [130] 28832(43.1%) 594(0.9%) loop ...cket/collects/racket/private/map.rkt:25:19 loop [130] 82.6% hash-ref! [163] 9.2% ??? [3] 2.5% loop! [143] 1.1% errors [82] 1.0% simplify [4] 1.0% for-loop [147] 0.7% loop [150] 0.4% ??? [146] 0.4% foldl [11] 0.2% ->flonum [6] 0.1% ??? [141] 0.0% ---------------------------------------------------------------------------------------- option-on-expr [120] 100.0% [131] 1644(2.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:79:0 ??? [142] 100.0% ---------------------------------------------------------------------------------------- one-iter [34] 29.4% return/no-unsupplied [121] 70.6% [132] 708(1.1%) 708(1.1%) filter ...t/collects/racket/private/list.rkt:256:2 ---------------------------------------------------------------------------------------- f6 [106] 24.7% approximate9 [101] 29.7% map [119] 45.6% [133] 518(0.8%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:342:0 simplify [100] 51.4% hash-ref! [163] 29.7% first-nonzero-exp [22] 18.9% ---------------------------------------------------------------------------------------- successfully-got-the-right-kind-of-function [126]100.0% [134] 474(0.7%) 180(0.3%) arity-checking-wrapper ...w-higher-order.rkt:402:0 matches-arity-exactly? [149] 32.5% make-keyword-procedure [144] 29.5% ---------------------------------------------------------------------------------------- for-loop [124] 27.7% ??? [108] 72.3% [135] 426(0.6%) 0(0.0%) ??? ...private/unconstrained-domain-arrow.rkt:74:4 make-keyword-procedure [144] 100.0% ---------------------------------------------------------------------------------------- option-on-expr [120] 100.0% [136] 420(0.6%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:187:0 for-loop [145] 100.0% ---------------------------------------------------------------------------------------- for-loop [124] 100.0% [137] 222(0.3%) 222(0.3%) for-loop ...racket/contract/private/hash.rkt:239:6 ---------------------------------------------------------------------------------------- ??? [127] 100.0% [138] 200(0.3%) 200(0.3%) custom-in-set ...acket/private/set-types.rkt:577:0 ---------------------------------------------------------------------------------------- exprs-to-branch-on [128] 100.0% [139] 172(0.3%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:52:0 for-loop [148] 100.0% ---------------------------------------------------------------------------------------- ??? [123] 100.0% [140] 142(0.2%) 142(0.2%) ??? ...ects/racket/contract/private/prop.rkt:256:4 ---------------------------------------------------------------------------------------- loop [130] 2.1% ??? [15] 97.9% [141] 8702(13.0%) 1282(1.9%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfsub [151] 60.7% bfsqrt [152] 24.6% ---------------------------------------------------------------------------------------- sort-context-on-expr [131] 100.0% [142] 1644(2.5%) 0(0.0%) ??? ...cket/collects/racket/private/sort.rkt:403:3 generic-sort/key [153] 89.5% loop [160] 10.5% ---------------------------------------------------------------------------------------- for-loop [69] 28.3% loop [130] 35.9% apply-match [50] 35.9% [143] 580(0.9%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 set [154] 42.2% loop [130] 35.9% custom-set-union [156] 21.9% ---------------------------------------------------------------------------------------- arity-checking-wrapper [134] 24.7% ??? [135] 75.3% [144] 566(0.8%) 566(0.8%) make-keyword-procedure ...ket/private/kw.rkt:260:4 ---------------------------------------------------------------------------------------- pick-errors [136] 100.0% [145] 420(0.6%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:190:4 eval-prog [162] 100.0% ---------------------------------------------------------------------------------------- loop [130] 100.0% [146] 288(0.4%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [163] 100.0% ---------------------------------------------------------------------------------------- loop [130] 100.0% [147] 286(0.4%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [155] 100.0% ---------------------------------------------------------------------------------------- critical-subexpression [139] 100.0% [148] 172(0.3%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:87:19 eval-prog [162] 100.0% ---------------------------------------------------------------------------------------- arity-checking-wrapper [134] 100.0% [149] 154(0.2%) 154(0.2%) matches-arity-exactly? ...te/arrow-common.rkt:70:0 ---------------------------------------------------------------------------------------- loop [130] 16.7% loop [150] 83.3% [150] 120(0.2%) 120(0.2%) loop ...ket/collects/racket/private/list.rkt:82:16 loop [150] 83.3% ---------------------------------------------------------------------------------------- ??? [141] 100.0% [151] 5282(7.9%) 4088(6.1%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [157] 22.6% ---------------------------------------------------------------------------------------- ??? [141] 100.0% [152] 2138(3.2%) 1464(2.2%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [157] 31.5% ---------------------------------------------------------------------------------------- ??? [142] 100.0% [153] 1472(2.2%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:185:2 copying-mergesort [158] 88.0% loop [160] 12.0% ---------------------------------------------------------------------------------------- loop! [143] 100.0% [154] 326(0.5%) 326(0.5%) set ...collects/racket/private/set-types.rkt:981:0 ---------------------------------------------------------------------------------------- for-loop [147] 100.0% [155] 286(0.4%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:164:0 f6 [106] 50.3% ??? [166] 49.7% ---------------------------------------------------------------------------------------- loop! [143] 100.0% [156] 254(0.4%) 136(0.2%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [159] 46.5% ---------------------------------------------------------------------------------------- real->bigfloat [107] 25.2% bfsqrt [152] 27.0% bfsub [151] 47.8% [157] 2498(3.7%) 2498(3.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------------------------- copying-mergesort [158] 41.0% generic-sort/key [153] 59.0% [158] 1296(1.9%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:130:8 loop [160] 49.6% copying-mergesort [158] 41.0% jloop [8] 9.4% ---------------------------------------------------------------------------------------- custom-set-union [156] 100.0% [159] 118(0.2%) 118(0.2%) for-loop ...cts/racket/private/set-types.rkt:174:3 ---------------------------------------------------------------------------------------- ??? [142] 14.9% generic-sort/key [153] 15.2% copying-mergesort [158] 69.9% [160] 1158(1.7%) 0(0.0%) loop ...ket/collects/racket/private/sort.rkt:97:12 ??? [161] 100.0% ---------------------------------------------------------------------------------------- jloop [8] 29.6% loop [160] 70.4% [161] 1644(2.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:81:27 eval-prog [162] 90.1% ??? [3] 9.9% ---------------------------------------------------------------------------------------- for-loop [148] 2.3% for-loop [145] 5.6% make-exacts* [81] 13.3% ??? [161] 19.8% errors [82] 25.9% loop [70] 33.1% [162] 7492(11.2%) 1858(2.8%) eval-prog ...tatlock/herbie/src/programs.rkt:146:0 hash-ref! [163] 42.5% f6 [106] 17.8% ??? [164] 3.8% parse-lambda [165] 3.7% ??? [167] 1.9% ??? [94] 1.9% ??? [166] 1.8% ---------------------------------------------------------------------------------------- compile [79] 0.8% taylor-sqrt [133] 0.9% for-loop [21] 1.0% ??? [5] 2.4% for-loop [19] 2.4% for-loop [20] 2.5% ??? [146] 2.6% first-nonzero-exp [22] 4.0% localize-error [40] 4.7% ??? [170] 7.2% loop [109] 12.5% loop [130] 24.5% eval-prog [162] 33.0% [163] 5532(8.3%) 350(0.5%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [168] 29.8% ??? [5] 26.9% simplify [100] 15.7% ??? [170] 7.2% parse-loop12 [169] 5.6% ??? [7] 4.1% ??? [9] 2.5% f6 [106] 1.7% ??? [10] 1.0% ---------------------------------------------------------------------------------------- eval-prog [162] 100.0% [164] 282(0.4%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:346:33 ??? [171] 100.0% ---------------------------------------------------------------------------------------- eval-prog [162] 100.0% [165] 276(0.4%) 276(0.4%) parse-lambda ...llects/racket/private/kw.rkt:437:2 ---------------------------------------------------------------------------------------- eval-prog [162] 48.6% eval-const-expr [155] 51.4% [166] 276(0.4%) 0(0.0%) ??? ...cket/collects/racket/private/kw.rkt:1633:36 unpack242 [172] 100.0% ---------------------------------------------------------------------------------------- eval-prog [162] 100.0% [167] 144(0.2%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [173] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [163] 100.0% [168] 3006(4.5%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [174] 94.1% bfcanonicalize [178] 5.9% ---------------------------------------------------------------------------------------- map [119] 6.0% parse-loop12 [169] 17.5% hash-ref! [163] 21.6% simplify [100] 54.8% [169] 1858(2.8%) 1122(1.7%) parse-loop12 ...s/racket/match/compiler.rkt:418:15 loop [130] 18.9% parse-loop12 [169] 17.5% f6 [106] 9.1% parse-app [176] 5.3% ---------------------------------------------------------------------------------------- hash-ref! [163] 100.0% [170] 1108(1.7%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:43:15 hash-ref! [163] 100.0% ---------------------------------------------------------------------------------------- ??? [117] 26.5% ??? [15] 27.8% ??? [164] 45.6% [171] 618(0.9%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:493:4 ??? [175] 100.0% ---------------------------------------------------------------------------------------- ??? [166] 100.0% [172] 276(0.4%) 0(0.0%) unpack242 ...private/arrow-higher-order.rkt:354:44 maybe-cons-kwd [177] 100.0% ---------------------------------------------------------------------------------------- ??? [167] 100.0% [173] 144(0.2%) 144(0.2%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------------------------- bigfloat-hash [168] 100.0% [174] 2830(4.2%) 2830(4.2%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------------------------- ??? [171] 100.0% [175] 618(0.9%) 172(0.3%) ??? ...lects/racket/contract/private/orc.rkt:83:14 ??? [179] 72.2% ---------------------------------------------------------------------------------------- parse-loop12 [169] 22.1% f6 [106] 43.2% [176] 444(0.7%) 444(0.7%) parse-app .../collects/racket/private/kw.rkt:951:2 ---------------------------------------------------------------------------------------- unpack242 [172] 100.0% [177] 276(0.4%) 134(0.2%) maybe-cons-kwd ...ate/arrow-higher-order.rkt:498:0 arrow-higher-order:lnp [180] 51.4% ---------------------------------------------------------------------------------------- bigfloat-hash [168] 100.0% [178] 176(0.3%) 176(0.3%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------------------------- ??? [175] 100.0% [179] 446(0.7%) 446(0.7%) ??? ...ects/racket/contract/private/list.rkt:141:5 ---------------------------------------------------------------------------------------- maybe-cons-kwd [177] 42.8% ??? [108] 57.2% [180] 332(0.5%) 332(0.5%) arrow-higher-order:lnp ...w-higher-order.rkt:597:7 ----------------------------------------------------------------------------------------