Profiling results ----------------- Total cpu time observed: 64858ms (out of 65716ms) Number of samples taken: 429 (once every 151ms) (Hiding functions with self<1.0% and local<2.0%: 17 of 207 hidden) ======================================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================================== ??? [45] 100.0% [1] 61724(95.2%) 0(0.0%) profile-thunk16 ...t/pkgs/profile-lib/main.rkt:9:0 run [9] 100.0% ---------------------------------------------------------------------------------------- ??? [45] 100.0% [2] 49164(75.8%) 0(0.0%) run-improve50 ...ock/herbie/src/mainloop.rkt:234:0 for-loop [10] 65.3% get-final-combination [11] 33.8% loop [55] 0.6% errors [121] 0.3% ---------------------------------------------------------------------------------------- ??? [45] 100.0% [3] 19722(30.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [12] 60.1% iterate-egraph!5 [19] 23.2% for-loop [13] 14.3% loop [21] 2.5% ---------------------------------------------------------------------------------------- copying-mergesort [77] 100.0% [4] 4514(7.0%) 0(0.0%) jloop ...t/collects/racket/private/sort.rkt:121:23 ??? [102] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [137] 100.0% [5] 1968(3.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:291:23 for-loop [14] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [137] 100.0% [6] 1044(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:388:23 for-loop [15] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [137] 100.0% [7] 754(1.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:281:26 for-loop [16] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [137] 100.0% [8] 456(0.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:479:23 for-loop [17] 100.0% ---------------------------------------------------------------------------------------- profile-thunk16 [1] 99.8% [9] 61822(95.3%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:39:2 ??? [45] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 100.0% [10] 32096(49.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:245:8 run-iter! [18] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 100.0% [11] 16626(25.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:260:0 split-table [20] 99.1% extract-alt [24] 0.9% ---------------------------------------------------------------------------------------- simplify [3] 100.0% [12] 11850(18.3%) 120(0.2%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [19] 86.0% loop [21] 10.1% mk-egraph [23] 1.5% ---------------------------------------------------------------------------------------- simplify [3] 100.0% [13] 2814(4.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [19] 82.9% loop [21] 17.1% ---------------------------------------------------------------------------------------- ??? [5] 100.0% [14] 1968(3.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:294:27 hash-ref! [137] 100.0% ---------------------------------------------------------------------------------------- ??? [6] 100.0% [15] 1044(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:392:33 for-loop [22] 100.0% ---------------------------------------------------------------------------------------- ??? [7] 100.0% [16] 754(1.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:281:52 hash-ref! [137] 100.0% ---------------------------------------------------------------------------------------- ??? [8] 100.0% [17] 456(0.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:483:35 parse-loop50 [153] 100.0% ---------------------------------------------------------------------------------------- for-loop [10] 100.0% [18] 32096(49.5%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:215:0 simplify! [26] 61.4% finalize-iter! [28] 26.0% gen-series! [29] 11.6% gen-rewrites! [33] 0.4% ---------------------------------------------------------------------------------------- for-loop [13] 13.6% simplify [3] 26.8% simplify-expr [12] 59.6% [19] 17098(26.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [27] 96.5% map-enodes [31] 2.0% *simplify-rules* [32] 0.8% debug-print [154] 0.7% ---------------------------------------------------------------------------------------- get-final-combination [11] 100.0% [20] 16472(25.4%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:164:0 f94 [25] 100.0% ---------------------------------------------------------------------------------------- for-loop [13] 22.3% simplify [3] 22.4% simplify-expr [12] 55.4% [21] 2164(3.3%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [30] 100.0% ---------------------------------------------------------------------------------------- for-loop [15] 100.0% [22] 1044(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:394:39 hash-ref! [137] 100.0% ---------------------------------------------------------------------------------------- simplify-expr [12] 100.0% [23] 176(0.3%) 0(0.0%) mk-egraph ...lock/herbie/src/core/egraph.rkt:123:0 mk-enode! [83] 100.0% ---------------------------------------------------------------------------------------- get-final-combination [11] 100.0% [24] 154(0.2%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:56:0 argmins [126] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [137] 0.9% approximate9 [117] 1.2% map [91] 1.6% parse-loop50 [153] 1.7% loop [156] 1.9% f94 [25] 4.9% simplify [145] 6.4% eval-prog [129] 7.3% split-table [20] 74.1% [25] 19772(30.5%) 256(0.4%) f94 ...t/collects/racket/match/compiler.rkt:507:40 option-on-expr [35] 70.9% map [91] 10.5% ??? [113] 7.3% f94 [25] 4.9% exprs-to-branch-on [40] 3.2% taylor-sqrt [41] 0.8% taylor-invert [42] 0.4% taylor [43] 0.4% ---------------------------------------------------------------------------------------- run-iter! [18] 100.0% [26] 19722(30.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:155:0 for-loop [34] 100.0% ---------------------------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [27] 16494(25.4%) 1266(2.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [36] 63.8% loop [37] 22.9% apply-match [47] 4.7% ---------------------------------------------------------------------------------------- run-iter! [18] 100.0% [28] 8330(12.8%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:169:0 ??? [107] 100.0% ---------------------------------------------------------------------------------------- run-iter! [18] 100.0% [29] 3732(5.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:129:0 for-loop [38] 100.0% ---------------------------------------------------------------------------------------- loop [21] 100.0% [30] 2164(3.3%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [39] 100.0% ---------------------------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [31] 348(0.5%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [156] 100.0% ---------------------------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [32] 132(0.2%) 0(0.0%) *simplify-rules* ...bie/src/syntax/rules.rkt:415:0 for-loop [86] 100.0% ---------------------------------------------------------------------------------------- run-iter! [18] 100.0% [33] 114(0.2%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:142:0 for-loop [44] 100.0% ---------------------------------------------------------------------------------------- simplify! [26] 100.0% [34] 19722(30.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:159:6 ??? [45] 100.0% ---------------------------------------------------------------------------------------- f94 [25] 100.0% [35] 15752(24.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:115:0 sort-context-on-expr [46] 90.0% pick-errors [50] 7.6% errors [121] 2.3% ---------------------------------------------------------------------------------------- for-loop [36] 50.0% one-iter [27] 50.0% [36] 10522(16.2%) 1806(2.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [36] 50.0% match-e [57] 40.6% ??? [94] 0.8% ---------------------------------------------------------------------------------------- one-iter [27] 100.0% [37] 3784(5.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:52:19 apply-match [47] 100.0% ---------------------------------------------------------------------------------------- gen-series! [29] 100.0% [38] 3732(5.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:135:7 taylor-alt [48] 100.0% ---------------------------------------------------------------------------------------- pass [30] 100.0% [39] 2164(3.3%) 148(0.2%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [49] 65.1% loop [52] 28.1% ---------------------------------------------------------------------------------------- f94 [25] 100.0% [40] 720(1.1%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:44:0 critical-subexpression [51] 100.0% ---------------------------------------------------------------------------------------- f94 [25] 100.0% [41] 314(0.5%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:342:0 first-nonzero-exp [53] 52.9% hash-ref! [137] 47.1% ---------------------------------------------------------------------------------------- f94 [25] 100.0% [42] 168(0.3%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:308:0 simplify [145] 100.0% ---------------------------------------------------------------------------------------- f94 [25] 100.0% [43] 146(0.2%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:159:0 debug-print [154] 100.0% ---------------------------------------------------------------------------------------- gen-rewrites! [33] 100.0% [44] 114(0.2%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:147:11 ??? [54] 100.0% ---------------------------------------------------------------------------------------- for-loop [34] 10.7% run [9] 43.3% [45] 64696(99.8%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [1] 43.1% run-improve50 [2] 34.1% loop [55] 12.1% simplify [3] 10.7% ---------------------------------------------------------------------------------------- option-on-expr [35] 100.0% [46] 14184(21.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:79:0 ??? [56] 100.0% ---------------------------------------------------------------------------------------- one-iter [27] 17.0% loop [37] 83.0% [47] 4560(7.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [69] 27.5% for-loop [61] 22.6% match-e [57] 20.2% substitute-e [70] 13.5% mk-enode! [83] 6.9% loop! [165] 3.7% reduce-to-single! [63] 2.9% update-leader! [81] 2.6% ---------------------------------------------------------------------------------------- for-loop [38] 100.0% [48] 3732(5.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:141:0 for-loop [58] 100.0% ---------------------------------------------------------------------------------------- for-loop [39] 100.0% [49] 1408(2.2%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 for-loop [59] 92.5% expression-cost [65] 7.5% ---------------------------------------------------------------------------------------- option-on-expr [35] 100.0% [50] 1200(1.9%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:187:0 for-loop [60] 100.0% ---------------------------------------------------------------------------------------- exprs-to-branch-on [40] 100.0% [51] 720(1.1%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:52:0 for-loop [62] 100.0% ---------------------------------------------------------------------------------------- for-loop [39] 100.0% [52] 608(0.9%) 0(0.0%) loop ...hare/racket/collects/racket/list.rkt:729:4 for-loop [59] 100.0% ---------------------------------------------------------------------------------------- taylor-sqrt [41] 100.0% [53] 166(0.3%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:256:0 hash-ref! [137] 100.0% ---------------------------------------------------------------------------------------- for-loop [44] 100.0% [54] 114(0.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:88:0 rewriter [64] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 1.9% ??? [45] 98.1% [55] 15836(24.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:159:2 make-exacts* [76] 61.9% loop [68] 33.5% for-loop [71] 2.1% loop [79] 1.9% filter-exacts [75] 0.6% ---------------------------------------------------------------------------------------- sort-context-on-expr [46] 100.0% [56] 14184(21.9%) 0(0.0%) ??? ...cket/collects/racket/private/sort.rkt:403:3 generic-sort/key [66] 87.4% loop [92] 12.6% ---------------------------------------------------------------------------------------- apply-match [47] 6.2% for-loop [78] 20.6% for-loop [36] 73.2% [57] 9466(14.6%) 2512(3.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [67] 48.3% for-loop [78] 12.4% ??? [107] 8.2% variable? [80] 4.3% loop [156] 1.7% list-cartesian-product [82] 0.7% ---------------------------------------------------------------------------------------- taylor-alt [48] 100.0% [58] 3732(5.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:143:2 ??? [113] 100.0% ---------------------------------------------------------------------------------------- loop [52] 31.8% argmin [49] 68.2% [59] 1910(2.9%) 158(0.2%) for-loop ...ztatlock/herbie/src/programs.rkt:197:2 location-do [116] 73.6% ...erbie/src/common.rkt:46:2 [118] 18.1% ---------------------------------------------------------------------------------------- pick-errors [50] 100.0% [60] 1200(1.9%) 116(0.2%) for-loop ...lock/herbie/src/core/regimes.rkt:190:4 eval-prog [129] 80.7% ??? [164] 9.7% ---------------------------------------------------------------------------------------- apply-match [47] 100.0% [61] 1030(1.6%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 merge-egraph-nodes! [69] 46.6% substitute-e [70] 30.7% loop! [165] 22.7% ---------------------------------------------------------------------------------------- critical-subexpression [51] 100.0% [62] 720(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:87:19 eval-prog [129] 100.0% ---------------------------------------------------------------------------------------- apply-match [47] 100.0% [63] 134(0.2%) 134(0.2%) reduce-to-single! ...bie/src/core/egraph.rkt:324:0 ---------------------------------------------------------------------------------------- matcher [88] 50.0% ??? [54] 50.0% [64] 114(0.2%) 0(0.0%) rewriter ...lock/herbie/src/core/matcher.rkt:127:2 for-loop [73] 50.0% *rules* [72] 50.0% ---------------------------------------------------------------------------------------- argmin [49] 100.0% [65] 106(0.2%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:196:0 compile [74] 100.0% ---------------------------------------------------------------------------------------- ??? [56] 100.0% [66] 12402(19.1%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:185:2 copying-mergesort [77] 81.7% loop [92] 18.3% ---------------------------------------------------------------------------------------- match-e [57] 100.0% [67] 5756(8.9%) 2488(3.8%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [78] 44.4% list-cartesian-product [82] 10.7% filter [189] 3.4% foldl [87] 1.3% ---------------------------------------------------------------------------------------- loop [55] 100.0% [68] 5298(8.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:119:2 loop [79] 51.5% make-exacts* [76] 45.4% map [91] 3.1% ---------------------------------------------------------------------------------------- merge-egraph-nodes! [69] 5.1% for-loop [61] 27.7% apply-match [47] 67.2% [69] 1734(2.7%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [81] 51.3% loop! [165] 20.0% for-loop [85] 17.5% enode-merge! [89] 6.1% merge-egraph-nodes! [69] 5.1% ---------------------------------------------------------------------------------------- apply-match [47] 27.5% for-loop [61] 33.9% substitute-e [70] 38.6% [70] 932(1.4%) 144(0.2%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [70] 38.6% mk-enode! [83] 33.9% variable? [80] 13.9% ??? [107] 5.9% ---------------------------------------------------------------------------------------- loop [55] 100.0% [71] 334(0.5%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:166:24 for-loop [84] 100.0% ---------------------------------------------------------------------------------------- rewriter [64] 100.0% [72] 114(0.2%) 0(0.0%) *rules* ...tlock/herbie/src/syntax/rules.rkt:411:0 for-loop [86] 100.0% ---------------------------------------------------------------------------------------- rewriter [64] 100.0% [73] 114(0.2%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:130:10 matcher [88] 100.0% ---------------------------------------------------------------------------------------- expression-cost [65] 100.0% [74] 106(0.2%) 106(0.2%) compile .../ztatlock/herbie/src/programs.rkt:173:0 ---------------------------------------------------------------------------------------- loop [55] 100.0% [75] 98(0.2%) 0(0.0%) filter-exacts ...tlock/herbie/src/points.rkt:134:0 for-loop [90] 100.0% ---------------------------------------------------------------------------------------- loop [68] 19.7% loop [55] 80.3% [76] 12204(18.8%) 162(0.2%) make-exacts* ...atlock/herbie/src/points.rkt:106:0 loop [156] 60.1% map [91] 37.8% eval-prog [129] 0.8% ---------------------------------------------------------------------------------------- generic-sort/key [66] 44.3% copying-mergesort [77] 55.7% [77] 10132(15.6%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:130:8 copying-mergesort [77] 55.7% loop [92] 33.2% jloop [4] 11.1% ---------------------------------------------------------------------------------------- match-e [57] 39.3% for-loop [67] 60.7% [78] 4532(7.0%) 316(0.5%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [57] 82.9% ??? [94] 10.2% ---------------------------------------------------------------------------------------- loop [55] 10.2% loop [68] 89.8% [79] 3034(4.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:109:4 map [91] 100.0% ---------------------------------------------------------------------------------------- substitute-e [70] 27.4% match-e [57] 72.6% [80] 1118(1.7%) 164(0.3%) variable? ...ck/herbie/src/syntax/syntax.rkt:529:0 ??? [107] 85.3% ---------------------------------------------------------------------------------------- apply-match [47] 10.9% merge-egraph-nodes! [69] 89.1% [81] 1098(1.7%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [93] 75.4% update-en-expr [96] 24.6% ---------------------------------------------------------------------------------------- list-cartesian-product [82] 7.7% match-e [57] 7.7% for-loop [67] 84.5% [82] 840(1.3%) 666(1.0%) list-cartesian-product ...src/core/ematch.rkt:20:0 for-loop [97] 20.7% list-cartesian-product [82] 7.7% ---------------------------------------------------------------------------------------- mk-egraph [23] 21.8% apply-match [47] 39.1% substitute-e [70] 39.1% [83] 808(1.2%) 628(1.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 hash-has-key? [110] 22.3% ---------------------------------------------------------------------------------------- for-loop [71] 100.0% [84] 334(0.5%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:167:26 ??? [95] 100.0% ---------------------------------------------------------------------------------------- merge-egraph-nodes! [69] 100.0% [85] 304(0.5%) 304(0.5%) for-loop ...tlock/herbie/src/core/egraph.rkt:232:6 ---------------------------------------------------------------------------------------- *rules* [72] 46.3% *simplify-rules* [32] 53.7% [86] 246(0.4%) 114(0.2%) for-loop /home/ztatlock/herbie/src/common.rkt:93:9 ormap [99] 53.7% ---------------------------------------------------------------------------------------- for-loop [67] 100.0% [87] 148(0.2%) 0(0.0%) foldl ...et/collects/racket/private/list.rkt:229:4 merge2 [98] 100.0% ---------------------------------------------------------------------------------------- for-loop [100] 50.0% for-loop [73] 50.0% [88] 114(0.2%) 0(0.0%) matcher ...tlock/herbie/src/core/matcher.rkt:163:2 for-loop [100] 50.0% rewriter [64] 50.0% ---------------------------------------------------------------------------------------- merge-egraph-nodes! [69] 100.0% [89] 106(0.2%) 0(0.0%) enode-merge! ...ck/herbie/src/core/enode.rkt:100:0 custom-set-intersect! [101] 100.0% ---------------------------------------------------------------------------------------- filter-exacts [75] 100.0% [90] 98(0.2%) 98(0.2%) for-loop ...e/ztatlock/herbie/src/points.rkt:137:4 ---------------------------------------------------------------------------------------- loop [68] 1.6% parse-loop50 [153] 2.2% f94 [25] 22.2% loop [79] 29.4% make-exacts* [76] 44.6% [91] 10326(15.9%) 242(0.4%) map ...acket/collects/racket/private/map.rkt:20:13 loop [156] 66.1% parse-loop50 [153] 16.3% ??? [164] 7.5% f94 [25] 3.4% loop [159] 1.6% ---------------------------------------------------------------------------------------- ??? [56] 18.4% generic-sort/key [66] 23.5% copying-mergesort [77] 58.1% [92] 9670(14.9%) 0(0.0%) loop ...ket/collects/racket/private/sort.rkt:97:12 ??? [102] 100.0% ---------------------------------------------------------------------------------------- update-leader! [81] 100.0% [93] 828(1.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 for-loop [103] 100.0% ---------------------------------------------------------------------------------------- for-loop [36] 27.0% for-loop [78] 73.0% [94] 630(1.0%) 342(0.5%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [104] 45.7% ---------------------------------------------------------------------------------------- for-loop [84] 100.0% [95] 334(0.5%) 166(0.3%) ??? /home/ztatlock/herbie/src/points.rkt:156:9 random-exp [105] 50.3% ---------------------------------------------------------------------------------------- update-leader! [81] 100.0% [96] 270(0.4%) 270(0.4%) update-en-expr ...herbie/src/core/egraph.rkt:211:0 ---------------------------------------------------------------------------------------- list-cartesian-product [82] 100.0% [97] 174(0.3%) 174(0.3%) for-loop ...atlock/herbie/src/core/ematch.rkt:24:8 ---------------------------------------------------------------------------------------- foldl [87] 100.0% [98] 148(0.2%) 148(0.2%) merge2 ...ztatlock/herbie/src/core/ematch.rkt:31:0 ---------------------------------------------------------------------------------------- for-loop [86] 100.0% [99] 132(0.2%) 0(0.0%) ormap ...et/collects/racket/private/map.rkt:105:13 ??? [179] 100.0% ---------------------------------------------------------------------------------------- matcher [88] 100.0% [100] 114(0.2%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:179:21 matcher [88] 100.0% ---------------------------------------------------------------------------------------- enode-merge! [89] 100.0% [101] 106(0.2%) 0(0.0%) custom-set-intersect! ...ivate/set-types.rkt:269:0 for-loop [106] 100.0% ---------------------------------------------------------------------------------------- jloop [4] 31.8% loop [92] 68.2% [102] 14184(21.9%) 764(1.2%) ??? /home/ztatlock/herbie/src/points.rkt:81:27 eval-prog [129] 77.9% ??? [164] 16.7% ---------------------------------------------------------------------------------------- for-loop [93] 100.0% [103] 828(1.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:223:8 hash-update! [108] 100.0% ---------------------------------------------------------------------------------------- ??? [94] 100.0% [104] 288(0.4%) 104(0.2%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ??? [107] 63.9% ---------------------------------------------------------------------------------------- ??? [95] 100.0% [105] 168(0.3%) 168(0.3%) random-exp ...ztatlock/herbie/src/common.rkt:222:0 ---------------------------------------------------------------------------------------- custom-set-intersect! [101] 100.0% [106] 106(0.2%) 106(0.2%) for-loop ...cts/racket/private/set-types.rkt:272:4 ---------------------------------------------------------------------------------------- substitute-e [70] 1.4% for-loop [104] 1.5% variable? [80] 7.8% ??? [132] 10.2% match-e [57] 11.2% finalize-iter! [28] 67.1% [107] 12278(18.9%) 1690(2.6%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [109] 65.8% hash-has-key? [110] 18.3% ---------------------------------------------------------------------------------------- for-loop [103] 100.0% [108] 828(1.3%) 0(0.0%) hash-update! ...ket/private/more-scheme.rkt:362:13 ??? [111] 100.0% ---------------------------------------------------------------------------------------- ??? [107] 100.0% [109] 8168(12.6%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [112] 100.0% ---------------------------------------------------------------------------------------- mk-enode! [83] 7.2% ??? [107] 92.8% [110] 2508(3.9%) 960(1.5%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ??? [122] 61.7% ---------------------------------------------------------------------------------------- hash-update! [108] 100.0% [111] 828(1.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/egraph.rkt:225:24 for-loop [114] 100.0% ---------------------------------------------------------------------------------------- for-loop [109] 98.1% [112] 8330(12.8%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [115] 98.6% ---------------------------------------------------------------------------------------- location-do [116] 25.9% for-loop [58] 25.9% f94 [25] 47.4% [113] 7192(11.1%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:342:33 location-do [116] 40.5% approximate9 [117] 25.9% ??? [132] 19.4% ...erbie/src/common.rkt:46:2 [118] 6.8% ??? [119] 6.7% best-alt [120] 0.7% ---------------------------------------------------------------------------------------- ??? [111] 100.0% [114] 828(1.3%) 828(1.3%) for-loop ...lock/herbie/src/core/egraph.rkt:226:26 ---------------------------------------------------------------------------------------- atab-add-altn [112] 100.0% [115] 8212(12.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [121] 96.6% for-loop [124] 3.4% ---------------------------------------------------------------------------------------- location-do [116] 22.0% for-loop [59] 22.7% ??? [113] 55.3% [116] 6184(9.5%) 140(0.2%) location-do ...acket/private/norm-define.rkt:53:83 ??? [113] 38.4% ??? [122] 37.4% location-do [116] 22.0% ---------------------------------------------------------------------------------------- ??? [113] 100.0% [117] 3732(5.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:12:0 loop [123] 87.1% f94 [25] 12.9% ---------------------------------------------------------------------------------------- for-loop [59] 41.6% ??? [113] 58.4% [118] 832(1.3%) 560(0.9%) ...erbie/src/common.rkt:46:2 ...e/arr-i.rkt:906:19 ??? [125] 32.7% ---------------------------------------------------------------------------------------- ??? [113] 100.0% [119] 484(0.7%) 102(0.2%) ??? ...ts/racket/contract/private/arr-i.rkt:804:10 get/build-late-neg-projection [127] 37.2% ??? [128] 21.1% ??? [138] 20.7% ---------------------------------------------------------------------------------------- ??? [113] 100.0% [120] 102(0.2%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:78:0 argmins [126] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 1.6% composed [133] 2.9% option-on-expr [35] 4.2% best-and-tied-at-points [115] 90.0% [121] 8814(13.6%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:184:0 for-loop [130] 82.8% eval-prog [129] 17.2% ---------------------------------------------------------------------------------------- hash-has-key? [110] 40.1% location-do [116] 59.9% [122] 3860(6.0%) 1150(1.8%) ??? ...ects/racket/contract/private/list.rkt:737:4 for-loop [131] 44.7% ??? [138] 9.2% arrow-higher-order:lnp [157] 8.7% ??? [132] 4.1% ??? [148] 3.4% ---------------------------------------------------------------------------------------- approximate9 [117] 100.0% [123] 3250(5.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:83:4 hash-ref! [137] 97.0% iterate-diagonal [134] 3.0% ---------------------------------------------------------------------------------------- best-and-tied-at-points [115] 100.0% [124] 278(0.4%) 278(0.4%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------------------------- ??? [148] 19.5% ...erbie/src/common.rkt:46:2 [118] 80.5% [125] 272(0.4%) 106(0.2%) ??? ...ects/racket/contract/private/list.rkt:342:4 ??? [148] 80.5% ---------------------------------------------------------------------------------------- best-alt [120] 39.8% extract-alt [24] 60.2% [126] 256(0.4%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:134:0 composed [133] 100.0% ---------------------------------------------------------------------------------------- unconstrained-domain->-projection [136] 22.8% ??? [119] 77.2% [127] 180(0.3%) 98(0.2%) get/build-late-neg-projection ...te/guts.rkt:691:0 unconstrained-domain->-projection [136] 22.8% ??? [135] 22.8% ---------------------------------------------------------------------------------------- ??? [119] 100.0% [128] 102(0.2%) 102(0.2%) ??? ...private/unconstrained-domain-arrow.rkt:69:2 ---------------------------------------------------------------------------------------- make-exacts* [76] 0.6% for-loop [62] 5.0% for-loop [60] 6.7% errors [121] 10.6% ??? [102] 77.0% [129] 14348(22.1%) 9006(13.9%) eval-prog ...tatlock/herbie/src/programs.rkt:146:0 f94 [25] 24.1% ??? [139] 4.1% ??? [140] 2.9% new-lambda [141] 2.0% ??? [142] 1.9% parse-app [160] 0.6% ---------------------------------------------------------------------------------------- errors [121] 100.0% [130] 7298(11.3%) 254(0.4%) for-loop ...e/ztatlock/herbie/src/points.rkt:187:4 ??? [164] 84.8% ->flonum [170] 8.3% ulp-difference [143] 3.4% ---------------------------------------------------------------------------------------- ??? [122] 100.0% [131] 1726(2.7%) 1316(2.0%) for-loop ...acket/contract/private/list.rkt:743:12 ??? [138] 15.3% for-loop [144] 8.5% ---------------------------------------------------------------------------------------- ??? [122] 10.0% ??? [113] 90.0% [132] 1604(2.5%) 262(0.4%) ??? ...ects/racket/contract/private/guts.rkt:644:8 ??? [107] 83.7% ---------------------------------------------------------------------------------------- argmins [126] 100.0% [133] 256(0.4%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [121] 100.0% ---------------------------------------------------------------------------------------- loop [123] 100.0% [134] 98(0.2%) 0(0.0%) iterate-diagonal ...rbie/src/core/taylor.rkt:149:0 hash-ref! [137] 100.0% ---------------------------------------------------------------------------------------- get/build-late-neg-projection [127] 100.0% [135] 82(0.1%) 82(0.1%) ??? ...cts/racket/contract/private/prop.rkt:314:12 ---------------------------------------------------------------------------------------- get/build-late-neg-projection [127] 100.0% [136] 82(0.1%) 0(0.0%) unconstrained-domain->-projection ...rrow.rkt:60:0 get/build-late-neg-projection [127] 100.0% ---------------------------------------------------------------------------------------- taylor-sqrt [41] 1.3% for-loop [158] 2.1% iterate-diagonal [134] 2.7% for-loop [16] 3.4% first-nonzero-exp [53] 4.5% for-loop [22] 5.9% ??? [147] 9.7% for-loop [14] 15.5% ??? [146] 23.0% loop [123] 26.5% [137] 3660(5.6%) 362(0.6%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [145] 28.9% ??? [146] 23.0% ??? [5] 15.5% ??? [147] 9.7% ??? [6] 5.9% ??? [7] 3.4% f94 [25] 2.9% ??? [8] 2.1% parse-loop50 [153] 1.7% ---------------------------------------------------------------------------------------- ??? [119] 13.9% for-loop [131] 36.7% ??? [122] 49.4% [138] 720(1.1%) 460(0.7%) ??? ...private/unconstrained-domain-arrow.rkt:74:4 make-keyword-procedure [150] 36.1% ---------------------------------------------------------------------------------------- eval-prog [129] 100.0% [139] 594(0.9%) 142(0.2%) ??? ...cket/collects/racket/private/kw.rkt:1633:36 unpack242 [149] 76.1% ---------------------------------------------------------------------------------------- eval-prog [129] 100.0% [140] 420(0.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:346:33 ??? [175] 68.1% ??? [148] 31.9% ---------------------------------------------------------------------------------------- eval-prog [129] 100.0% [141] 290(0.4%) 290(0.4%) new-lambda ...ollects/racket/private/kw.rkt:679:11 ---------------------------------------------------------------------------------------- eval-prog [129] 100.0% [142] 276(0.4%) 132(0.2%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [152] 52.2% ---------------------------------------------------------------------------------------- for-loop [130] 100.0% [143] 250(0.4%) 0(0.0%) ulp-difference ...atlock/herbie/src/float.rkt:19:0 ??? [179] 100.0% ---------------------------------------------------------------------------------------- for-loop [131] 100.0% [144] 146(0.2%) 0(0.0%) for-loop ...racket/contract/private/hash.rkt:239:6 ??? [151] 100.0% ---------------------------------------------------------------------------------------- taylor-invert [42] 5.0% hash-ref! [137] 95.0% [145] 3376(5.2%) 148(0.2%) simplify ...atlock/herbie/src/core/reduce.rkt:15:0 f94 [25] 63.5% parse-loop50 [153] 26.4% debug-print [154] 5.7% ---------------------------------------------------------------------------------------- hash-ref! [137] 100.0% [146] 2894(4.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:43:15 hash-ref! [137] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [137] 100.0% [147] 1472(2.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:64:15 hash-ref! [137] 100.0% ---------------------------------------------------------------------------------------- ??? [122] 24.5% ??? [140] 24.9% ??? [125] 50.6% [148] 538(0.8%) 300(0.5%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [175] 24.5% ??? [125] 19.7% ---------------------------------------------------------------------------------------- ??? [139] 100.0% [149] 452(0.7%) 0(0.0%) unpack242 ...private/arrow-higher-order.rkt:354:44 maybe-cons-kwd [155] 100.0% ---------------------------------------------------------------------------------------- ??? [138] 100.0% [150] 260(0.4%) 260(0.4%) make-keyword-procedure ...ket/private/kw.rkt:260:4 ---------------------------------------------------------------------------------------- for-loop [144] 100.0% [151] 146(0.2%) 0(0.0%) ??? ...ects/racket/contract/private/list.rkt:686:7 ??? [175] 100.0% ---------------------------------------------------------------------------------------- ??? [142] 100.0% [152] 144(0.2%) 144(0.2%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------------------------- hash-ref! [137] 3.4% loop [156] 6.8% for-loop [17] 9.1% simplify [145] 19.3% parse-loop50 [153] 19.6% map [91] 41.7% [153] 2814(4.3%) 1900(2.9%) parse-loop50 ...s/racket/match/compiler.rkt:418:15 parse-loop50 [153] 19.6% loop [156] 15.3% f94 [25] 12.4% for-loop [158] 9.1% map [91] 3.2% loop [159] 1.7% parse-app [160] 1.5% ---------------------------------------------------------------------------------------- iterate-egraph!5 [19] 26.7% taylor [43] 31.5% simplify [145] 41.8% [154] 464(0.7%) 270(0.4%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [161] 41.8% ---------------------------------------------------------------------------------------- unpack242 [149] 100.0% [155] 452(0.7%) 0(0.0%) maybe-cons-kwd ...ate/arrow-higher-order.rkt:498:0 arrow-higher-order:lnp [157] 49.6% unsafe-chaperone-procedure [162] 28.3% successfully-got-the-right-kind-of-function [163] 22.1% ---------------------------------------------------------------------------------------- map-enodes [31] 0.3% loop! [165] 0.7% make-exacts* [76] 1.3% map [91] 1.9% match-e [57] 2.0% parse-loop50 [153] 3.1% loop [156] 90.5% [156] 15770(24.3%) 350(0.5%) loop ...cket/collects/racket/private/map.rkt:25:19 loop [156] 90.5% parse-loop50 [153] 2.1% ??? [164] 2.0% f94 [25] 1.6% loop! [165] 0.7% ->flonum [170] 0.0% ---------------------------------------------------------------------------------------- maybe-cons-kwd [155] 40.0% ??? [122] 60.0% [157] 560(0.9%) 0(0.0%) arrow-higher-order:lnp ...w-higher-order.rkt:597:7 ??? [166] 100.0% ---------------------------------------------------------------------------------------- parse-loop50 [153] 100.0% [158] 456(0.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:486:59 hash-ref! [137] 100.0% ---------------------------------------------------------------------------------------- map [91] 1.0% parse-loop50 [153] 1.7% loop [159] 97.3% [159] 262(0.4%) 166(0.3%) loop ...cket/collects/racket/private/map.rkt:36:19 loop [159] 97.3% ->flonum [170] 1.7% ---------------------------------------------------------------------------------------- eval-prog [129] 40.9% parse-loop50 [153] 59.1% [160] 220(0.3%) 130(0.2%) parse-app .../collects/racket/private/kw.rkt:951:2 loop [167] 40.9% ---------------------------------------------------------------------------------------- debug-print [154] 100.0% [161] 194(0.3%) 194(0.3%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ---------------------------------------------------------------------------------------- maybe-cons-kwd [155] 100.0% [162] 128(0.2%) 128(0.2%) unsafe-chaperone-procedure ...ivate/kw.rkt:1588:11 ---------------------------------------------------------------------------------------- maybe-cons-kwd [155] 100.0% [163] 100(0.2%) 100(0.2%) successfully-got-the-right-kind-of-function ...9:4 ---------------------------------------------------------------------------------------- for-loop [60] 0.5% map [91] 3.3% ??? [102] 10.3% for-loop [130] 26.9% loop [156] 58.9% [164] 22986(35.4%) 1542(2.4%) ??? /home/ztatlock/herbie/src/programs.rkt:152:4 ??? [168] 66.7% ??? [169] 23.4% ->flonum [170] 3.2% ---------------------------------------------------------------------------------------- loop [156] 7.9% apply-match [47] 22.7% for-loop [61] 23.3% merge-egraph-nodes! [69] 46.1% [165] 750(1.2%) 234(0.4%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [171] 68.8% loop [156] 7.9% ---------------------------------------------------------------------------------------- arrow-higher-order:lnp [157] 100.0% [166] 560(0.9%) 560(0.9%) ??? ...et/contract/private/arity-checking.rkt:19:2 ---------------------------------------------------------------------------------------- parse-app [160] 100.0% [167] 90(0.1%) 90(0.1%) loop .../collects/racket/private/stxcase.rkt:112:7 ---------------------------------------------------------------------------------------- ??? [164] 100.0% [168] 15322(23.6%) 7558(11.7%) ??? ...acket/collects/racket/private/kw.rkt:444:14 ??? [173] 20.1% ??? [180] 18.7% bf* [174] 9.6% ??? [175] 1.3% ---------------------------------------------------------------------------------------- ??? [164] 100.0% [169] 5386(8.3%) 146(0.2%) ??? ...contract/private/../../private/kw.rkt:761:9 real->bigfloat [172] 97.3% ---------------------------------------------------------------------------------------- loop [159] 4.9% loop [156] 27.0% for-loop [130] 30.7% ??? [164] 37.4% [170] 1968(3.0%) 156(0.2%) ->flonum .../ztatlock/herbie/src/programs.rkt:34:0 ??? [179] 84.6% ??? [178] 7.5% ---------------------------------------------------------------------------------------- loop! [165] 100.0% [171] 516(0.8%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [176] 67.1% for-loop [177] 32.9% ---------------------------------------------------------------------------------------- ??? [169] 100.0% [172] 5240(8.1%) 2876(4.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [188] 45.1% ---------------------------------------------------------------------------------------- ??? [168] 100.0% [173] 3084(4.8%) 138(0.2%) ??? ...tatlock/herbie/src/syntax/syntax.rkt:118:17 ??? [179] 95.5% ---------------------------------------------------------------------------------------- ??? [168] 100.0% [174] 1476(2.3%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [180] 100.0% ---------------------------------------------------------------------------------------- ??? [148] 17.4% ??? [151] 19.2% ??? [168] 25.8% ??? [140] 37.6% [175] 760(1.2%) 328(0.5%) ??? ...ects/racket/contract/private/prop.rkt:493:4 ??? [181] 56.8% ---------------------------------------------------------------------------------------- custom-set-union [171] 100.0% [176] 346(0.5%) 0(0.0%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [182] 100.0% ---------------------------------------------------------------------------------------- custom-set-union [171] 100.0% [177] 170(0.3%) 170(0.3%) for-loop ...cts/racket/private/set-types.rkt:152:2 ---------------------------------------------------------------------------------------- ->flonum [170] 100.0% [178] 148(0.2%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:60:15 ??? [188] 100.0% ---------------------------------------------------------------------------------------- ormap [99] 2.6% ulp-difference [143] 5.0% ->flonum [170] 33.3% ??? [173] 59.0% [179] 4992(7.7%) 3236(5.0%) ??? /home/ztatlock/herbie/src/config.rkt:48:0 return/no-unsupplied [183] 25.4% ??? [186] 9.8% ---------------------------------------------------------------------------------------- bf* [174] 34.0% ??? [168] 66.0% [180] 4342(6.7%) 2120(3.3%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfmul [184] 27.0% bfsin [185] 24.1% ---------------------------------------------------------------------------------------- ??? [175] 100.0% [181] 432(0.7%) 0(0.0%) ??? ...lects/racket/contract/private/orc.rkt:83:14 ??? [187] 100.0% ---------------------------------------------------------------------------------------- for-loop [176] 100.0% [182] 346(0.5%) 346(0.5%) for-loop ...cts/racket/private/set-types.rkt:178:5 ---------------------------------------------------------------------------------------- ??? [179] 100.0% [183] 1266(2.0%) 1064(1.6%) return/no-unsupplied ...ct/private/arr-i.rkt:533:0 filter [189] 16.0% ---------------------------------------------------------------------------------------- ??? [180] 100.0% [184] 1174(1.8%) 288(0.4%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [188] 75.5% ---------------------------------------------------------------------------------------- ??? [180] 100.0% [185] 1048(1.6%) 764(1.2%) bfsin ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [188] 27.1% ---------------------------------------------------------------------------------------- ??? [179] 100.0% [186] 490(0.8%) 166(0.3%) ??? ...racket/collects/racket/private/kw.rkt:761:9 ??? [190] 66.1% ---------------------------------------------------------------------------------------- ??? [181] 100.0% [187] 432(0.7%) 432(0.7%) ??? ...ects/racket/contract/private/list.rkt:141:5 ---------------------------------------------------------------------------------------- ??? [178] 4.0% bfsin [185] 7.7% bfmul [184] 24.1% real->bigfloat [172] 64.2% [188] 3682(5.7%) 3682(5.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------------------------- for-loop [67] 49.2% return/no-unsupplied [183] 50.8% [189] 398(0.6%) 398(0.6%) filter ...t/collects/racket/private/list.rkt:256:2 ---------------------------------------------------------------------------------------- ??? [186] 100.0% [190] 324(0.5%) 324(0.5%) ??? ...s/racket/contract/private/arr-i.rkt:1233:27 ----------------------------------------------------------------------------------------