Profiling results ----------------- Total cpu time observed: 79576ms (out of 80428ms) Number of samples taken: 394 (once every 202ms) (Hiding functions with self<1.0% and local<2.0%: 6 of 193 hidden) ======================================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================================== ??? [39] 100.0% [1] 72412(91.0%) 0(0.0%) profile-thunk16 ...t/pkgs/profile-lib/main.rkt:9:0 run [10] 100.0% ---------------------------------------------------------------------------------------- ??? [39] 100.0% [2] 57510(72.3%) 0(0.0%) run-improve50 ...ock/herbie/src/mainloop.rkt:234:0 for-loop [11] 89.9% get-final-combination [14] 7.8% loop [50] 2.0% ??? [33] 0.4% ---------------------------------------------------------------------------------------- loop [132] 5.2% ??? [39] 94.8% [3] 35250(44.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [12] 59.4% for-loop [13] 32.3% iterate-egraph!5 [20] 6.6% loop [21] 1.7% ---------------------------------------------------------------------------------------- hash-ref! [139] 100.0% [4] 4432(5.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:181:5 loop [132] 92.1% hash-ref! [139] 7.9% ---------------------------------------------------------------------------------------- copying-mergesort [166] 100.0% [5] 886(1.1%) 0(0.0%) jloop ...t/collects/racket/private/sort.rkt:121:23 ??? [15] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [139] 100.0% [6] 774(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:291:23 for-loop [16] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [139] 100.0% [7] 394(0.5%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:281:26 for-loop [17] 100.0% ---------------------------------------------------------------------------------------- rewriter [56] 100.0% [8] 366(0.5%) 0(0.0%) *rules* ...tlock/herbie/src/syntax/rules.rkt:411:0 for-loop [72] 100.0% ---------------------------------------------------------------------------------------- hash-ref! [139] 100.0% [9] 228(0.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:318:33 for-loop [18] 100.0% ---------------------------------------------------------------------------------------- profile-thunk16 [1] 99.5% [10] 72810(91.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:39:2 ??? [39] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 100.0% [11] 51712(65.0%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:249:10 run-iter! [19] 100.0% ---------------------------------------------------------------------------------------- simplify [3] 100.0% [12] 20956(26.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [20] 81.9% loop [21] 18.1% ---------------------------------------------------------------------------------------- simplify [3] 100.0% [13] 11378(14.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [20] 88.3% loop [21] 11.7% ---------------------------------------------------------------------------------------- run-improve50 [2] 100.0% [14] 4468(5.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:264:0 split-table [22] 55.4% extract-alt [23] 44.6% ---------------------------------------------------------------------------------------- jloop [5] 45.2% loop [179] 54.8% [15] 1960(2.5%) 210(0.3%) ??? /home/ztatlock/herbie/src/points.rkt:81:27 eval-prog [94] 89.3% ---------------------------------------------------------------------------------------- ??? [6] 100.0% [16] 774(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:294:27 hash-ref! [139] 100.0% ---------------------------------------------------------------------------------------- ??? [7] 100.0% [17] 394(0.5%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:281:52 hash-ref! [139] 100.0% ---------------------------------------------------------------------------------------- ??? [9] 100.0% [18] 228(0.3%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:320:46 simplify [152] 100.0% ---------------------------------------------------------------------------------------- for-loop [11] 100.0% [19] 51712(65.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:215:0 simplify! [24] 65.3% finalize-iter! [26] 26.7% gen-series! [28] 4.3% choose-best-alt! [29] 1.9% gen-rewrites! [30] 1.8% ---------------------------------------------------------------------------------------- simplify [3] 7.9% for-loop [13] 34.0% simplify-expr [12] 58.1% [20] 29540(37.1%) 234(0.3%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [25] 96.1% map-enodes [31] 2.4% debug7 [170] 0.6% ---------------------------------------------------------------------------------------- simplify [3] 10.4% for-loop [13] 23.3% simplify-expr [12] 66.3% [21] 5710(7.2%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [27] 100.0% ---------------------------------------------------------------------------------------- get-final-combination [14] 100.0% [22] 2474(3.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:168:0 f37 [108] 100.0% ---------------------------------------------------------------------------------------- get-final-combination [14] 100.0% [23] 1994(2.5%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:60:0 loop [132] 91.8% argmins [102] 8.2% ---------------------------------------------------------------------------------------- run-iter! [19] 100.0% [24] 33750(42.4%) 160(0.2%) simplify! ...tatlock/herbie/src/mainloop.rkt:155:0 for-loop [32] 99.5% ---------------------------------------------------------------------------------------- iterate-egraph!5 [20] 100.0% [25] 28398(35.7%) 722(0.9%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [34] 56.3% loop [35] 31.3% apply-match [41] 7.9% ---------------------------------------------------------------------------------------- run-iter! [19] 100.0% [26] 13790(17.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:169:0 ??? [33] 100.0% ---------------------------------------------------------------------------------------- loop [21] 100.0% [27] 5710(7.2%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [36] 100.0% ---------------------------------------------------------------------------------------- run-iter! [19] 100.0% [28] 2238(2.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:129:0 for-loop [37] 100.0% ---------------------------------------------------------------------------------------- run-iter! [19] 100.0% [29] 994(1.2%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:115:0 ??? [33] 100.0% ---------------------------------------------------------------------------------------- run-iter! [19] 100.0% [30] 940(1.2%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:142:0 for-loop [38] 100.0% ---------------------------------------------------------------------------------------- iterate-egraph!5 [20] 100.0% [31] 720(0.9%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [132] 100.0% ---------------------------------------------------------------------------------------- simplify! [24] 100.0% [32] 33590(42.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:159:6 ??? [39] 99.5% debug-print [171] 0.5% ---------------------------------------------------------------------------------------- debug7 [170] 0.9% ??? [185] 1.0% run-improve50 [2] 1.0% pattern-substitute [114] 1.8% choose-best-alt! [29] 4.9% variable? [69] 6.9% match-e [51] 16.2% finalize-iter! [26] 67.3% [33] 20182(25.4%) 3424(4.3%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [40] 66.3% hash-has-key? [44] 9.8% ??? [46] 4.9% atab-add-altns [49] 2.0% ---------------------------------------------------------------------------------------- for-loop [34] 49.4% one-iter [25] 50.6% [34] 15994(20.1%) 3820(4.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [34] 49.4% match-e [51] 38.1% ---------------------------------------------------------------------------------------- one-iter [25] 100.0% [35] 8892(11.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:52:19 apply-match [41] 100.0% ---------------------------------------------------------------------------------------- pass [27] 100.0% [36] 5710(7.2%) 232(0.3%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [42] 60.4% loop [45] 18.8% for-loop [48] 12.7% make-sequence [73] 4.1% ---------------------------------------------------------------------------------------- gen-series! [28] 100.0% [37] 2238(2.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:135:7 taylor-alt [43] 100.0% ---------------------------------------------------------------------------------------- gen-rewrites! [30] 100.0% [38] 940(1.2%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:147:11 ??? [47] 100.0% ---------------------------------------------------------------------------------------- for-loop [32] 14.9% run [10] 40.1% [39] 78846(99.1%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [1] 39.6% run-improve50 [2] 30.7% simplify [3] 14.9% loop [50] 14.8% ---------------------------------------------------------------------------------------- ??? [33] 100.0% [40] 13592(17.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [52] 100.0% ---------------------------------------------------------------------------------------- one-iter [25] 20.1% loop [35] 79.9% [41] 11124(14.0%) 1026(1.3%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [51] 39.0% merge-egraph-nodes! [54] 28.2% update-leader! [66] 8.9% substitute-e [57] 5.2% loop! [142] 4.8% mk-enode! [60] 2.8% reduce-to-single! [61] 1.9% ---------------------------------------------------------------------------------------- for-loop [36] 100.0% [42] 3448(4.3%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 for-loop [53] 88.5% expression-cost [58] 11.5% ---------------------------------------------------------------------------------------- for-loop [37] 100.0% [43] 2238(2.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:145:0 for-loop [55] 100.0% ---------------------------------------------------------------------------------------- ??? [33] 100.0% [44] 2174(2.7%) 900(1.1%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ??? [133] 43.2% ??? [59] 15.4% ---------------------------------------------------------------------------------------- for-loop [36] 100.0% [45] 1074(1.3%) 0(0.0%) loop ...hare/racket/collects/racket/list.rkt:729:4 for-loop [53] 84.0% expression-cost [58] 16.0% ---------------------------------------------------------------------------------------- ??? [33] 100.0% [46] 994(1.2%) 0(0.0%) ??? ...ztatlock/herbie/src/core/alt-table.rkt:54:0 ??? [65] 100.0% ---------------------------------------------------------------------------------------- for-loop [38] 100.0% [47] 940(1.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:88:0 rewriter [56] 100.0% ---------------------------------------------------------------------------------------- for-loop [36] 100.0% [48] 724(0.9%) 724(0.9%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ---------------------------------------------------------------------------------------- ??? [33] 100.0% [49] 402(0.5%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [52] 100.0% ---------------------------------------------------------------------------------------- run-improve50 [2] 5.0% ??? [39] 95.0% [50] 22462(28.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:159:2 loop [63] 51.4% make-exacts* [76] 33.7% loop [78] 13.2% ---------------------------------------------------------------------------------------- apply-match [41] 16.2% for-loop [77] 25.3% for-loop [34] 58.5% [51] 16516(20.8%) 5330(6.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [64] 43.6% ??? [33] 11.5% for-loop [77] 7.9% variable? [69] 3.6% loop [132] 2.9% list-cartesian-product [81] 2.6% ---------------------------------------------------------------------------------------- atab-add-altns [49] 2.9% for-loop [40] 97.1% [52] 13994(17.6%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [62] 89.2% override-at-pnts [67] 10.8% ---------------------------------------------------------------------------------------- loop [45] 22.8% argmin [42] 77.2% [53] 3954(5.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/programs.rkt:197:2 location-do [121] 54.4% ...erbie/src/common.rkt:46:2 [68] 32.5% ??? [96] 13.2% ---------------------------------------------------------------------------------------- merge-egraph-nodes! [54] 6.3% apply-match [41] 93.7% [54] 3134(3.9%) 154(0.2%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [66] 73.3% loop! [142] 7.5% merge-egraph-nodes! [54] 6.3% for-loop [72] 5.4% enode-merge! [74] 2.6% ---------------------------------------------------------------------------------------- taylor-alt [43] 100.0% [55] 2238(2.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:147:2 ??? [65] 100.0% ---------------------------------------------------------------------------------------- ??? [47] 42.3% matcher [84] 57.7% [56] 940(1.2%) 216(0.3%) rewriter ...lock/herbie/src/core/matcher.rkt:127:2 for-loop [70] 82.6% *rules* [8] 9.7% ---------------------------------------------------------------------------------------- substitute-e [57] 15.4% apply-match [41] 84.6% [57] 578(0.7%) 578(0.7%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [57] 15.4% ---------------------------------------------------------------------------------------- loop [45] 30.3% argmin [42] 69.7% [58] 568(0.7%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:196:0 compile [71] 100.0% ---------------------------------------------------------------------------------------- hash-has-key? [44] 100.0% [59] 334(0.4%) 334(0.4%) ??? ...ects/racket/contract/private/hash.rkt:245:7 ---------------------------------------------------------------------------------------- apply-match [41] 100.0% [60] 310(0.4%) 310(0.4%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ---------------------------------------------------------------------------------------- apply-match [41] 100.0% [61] 208(0.3%) 0(0.0%) reduce-to-single! ...bie/src/core/egraph.rkt:324:0 make-sequence [73] 100.0% ---------------------------------------------------------------------------------------- atab-add-altn [52] 100.0% [62] 12484(15.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [75] 91.9% for-loop [83] 8.1% ---------------------------------------------------------------------------------------- loop [50] 100.0% [63] 11542(14.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:119:2 eval-prog [94] 35.1% make-exacts* [76] 33.6% loop [78] 31.2% ---------------------------------------------------------------------------------------- match-e [51] 100.0% [64] 9856(12.4%) 3206(4.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [77] 58.1% list-cartesian-product [81] 8.1% curried [88] 2.3% loop [132] 1.0% ---------------------------------------------------------------------------------------- eval-prog [94] 4.5% ??? [46] 18.8% location-do [121] 21.2% for-loop [55] 21.2% f37 [108] 32.8% [65] 5286(6.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:342:33 location-do [121] 30.6% approximate9 [80] 21.2% best-alt [82] 20.4% ??? [185] 7.6% ??? [150] 7.6% ->bf [87] 4.5% ??? [96] 4.4% ...erbie/src/common.rkt:46:2 [68] 3.7% ---------------------------------------------------------------------------------------- apply-match [41] 29.1% merge-egraph-nodes! [54] 70.9% [66] 3410(4.3%) 194(0.2%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [79] 76.5% hash-ref! [139] 13.3% custom-set-union! [91] 4.6% ---------------------------------------------------------------------------------------- atab-add-altn [52] 100.0% [67] 1510(1.9%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [75] 100.0% ---------------------------------------------------------------------------------------- ??? [65] 13.4% for-loop [53] 86.6% [68] 1482(1.9%) 536(0.7%) ...erbie/src/common.rkt:46:2 ...e/arr-i.rkt:906:19 ??? [85] 39.3% ??? [86] 24.6% ---------------------------------------------------------------------------------------- match-e [51] 100.0% [69] 1388(1.7%) 0(0.0%) variable? ...ck/herbie/src/syntax/syntax.rkt:529:0 ??? [33] 100.0% ---------------------------------------------------------------------------------------- rewriter [56] 100.0% [70] 940(1.2%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:130:10 matcher [84] 100.0% ---------------------------------------------------------------------------------------- expression-cost [58] 100.0% [71] 568(0.7%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:173:0 hash-ref! [139] 100.0% ---------------------------------------------------------------------------------------- merge-egraph-nodes! [54] 31.5% *rules* [8] 68.5% [72] 534(0.7%) 168(0.2%) for-loop /home/ztatlock/herbie/src/common.rkt:93:9 ormap [90] 38.2% ??? [176] 30.3% ---------------------------------------------------------------------------------------- reduce-to-single! [61] 47.3% for-loop [36] 52.7% [73] 440(0.6%) 232(0.3%) make-sequence ...ects/racket/private/for.rkt:509:2 ??? [89] 47.3% ---------------------------------------------------------------------------------------- merge-egraph-nodes! [54] 100.0% [74] 160(0.2%) 160(0.2%) enode-merge! ...ck/herbie/src/core/enode.rkt:100:0 ---------------------------------------------------------------------------------------- loop [132] 2.3% composed [110] 9.1% override-at-pnts [67] 10.3% best-and-tied-at-points [62] 78.3% [75] 14648(18.4%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:184:0 for-loop [93] 72.9% eval-prog [94] 27.1% ---------------------------------------------------------------------------------------- loop [63] 33.9% loop [50] 66.1% [76] 11446(14.4%) 0(0.0%) make-exacts* ...atlock/herbie/src/points.rkt:106:0 loop [132] 57.1% map [92] 37.4% eval-prog [94] 5.5% ---------------------------------------------------------------------------------------- match-e [51] 28.1% for-loop [64] 71.9% [77] 8090(10.2%) 196(0.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [51] 94.2% ??? [100] 3.4% ---------------------------------------------------------------------------------------- loop [50] 45.1% loop [63] 54.9% [78] 6564(8.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:109:4 map [92] 100.0% ---------------------------------------------------------------------------------------- update-leader! [66] 100.0% [79] 2608(3.3%) 314(0.4%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 for-loop [95] 88.0% ---------------------------------------------------------------------------------------- ??? [65] 100.0% [80] 2238(2.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:12:0 f37 [108] 50.0% loop [98] 39.8% taylor-quotient [103] 10.2% ---------------------------------------------------------------------------------------- match-e [51] 22.1% list-cartesian-product [81] 32.9% for-loop [64] 45.0% [81] 1572(2.0%) 1390(1.7%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [81] 32.9% for-loop [106] 11.6% ---------------------------------------------------------------------------------------- ??? [65] 100.0% [82] 1162(1.5%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:82:0 loop [97] 83.3% argmins [102] 16.7% ---------------------------------------------------------------------------------------- best-and-tied-at-points [62] 100.0% [83] 1012(1.3%) 1012(1.3%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------------------------- for-loop [99] 22.6% matcher [84] 27.4% for-loop [70] 50.0% [84] 940(1.2%) 0(0.0%) matcher ...tlock/herbie/src/core/matcher.rkt:163:2 rewriter [56] 37.6% matcher [84] 27.4% for-loop [99] 22.6% for-loop [101] 12.4% ---------------------------------------------------------------------------------------- ...erbie/src/common.rkt:46:2 [68] 100.0% [85] 582(0.7%) 194(0.2%) ??? ...s/racket/contract/private/arr-i.rkt:1268:39 ??? [182] 34.0% return/no-unsupplied [183] 32.6% ---------------------------------------------------------------------------------------- ...erbie/src/common.rkt:46:2 [68] 100.0% [86] 364(0.5%) 0(0.0%) ??? ...ects/racket/contract/private/list.rkt:342:4 ??? [105] 52.7% ??? [107] 47.3% ---------------------------------------------------------------------------------------- ??? [65] 100.0% [87] 238(0.3%) 0(0.0%) ->bf /home/ztatlock/herbie/src/programs.rkt:49:0 ??? [96] 100.0% ---------------------------------------------------------------------------------------- for-loop [64] 100.0% [88] 226(0.3%) 226(0.3%) curried ...cket/collects/racket/function.rkt:71:18 ---------------------------------------------------------------------------------------- make-sequence [73] 100.0% [89] 208(0.3%) 0(0.0%) ??? ...acket/collects/racket/private/for.rkt:429:7 custom-in-set [104] 100.0% ---------------------------------------------------------------------------------------- for-loop [72] 100.0% [90] 204(0.3%) 0(0.0%) ormap ...et/collects/racket/private/map.rkt:105:13 ??? [176] 100.0% ---------------------------------------------------------------------------------------- update-leader! [66] 100.0% [91] 156(0.2%) 156(0.2%) custom-set-union! ...t/private/set-types.rkt:245:0 ---------------------------------------------------------------------------------------- f37 [108] 9.1% make-exacts* [76] 35.9% loop [78] 55.0% [92] 11932(15.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:20:13 loop [132] 90.9% f37 [108] 3.6% taylor-sqrt [112] 3.3% taylor [115] 1.5% taylor-invert [113] 0.7% ---------------------------------------------------------------------------------------- errors [75] 100.0% [93] 10682(13.4%) 1248(1.6%) for-loop ...e/ztatlock/herbie/src/points.rkt:187:4 ??? [138] 80.2% ->flonum [151] 5.1% ulp-difference [117] 3.0% ---------------------------------------------------------------------------------------- for-loop [146] 1.6% make-exacts* [76] 5.9% ??? [15] 16.6% errors [75] 37.5% loop [63] 38.4% [94] 10568(13.3%) 3334(4.2%) eval-prog ...tatlock/herbie/src/programs.rkt:146:0 hash-ref! [139] 42.3% f37 [108] 15.1% ??? [111] 4.0% parse-lambda [116] 3.1% ??? [65] 2.3% ??? [120] 1.6% ---------------------------------------------------------------------------------------- for-loop [79] 100.0% [95] 2294(2.9%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:223:8 hash-update! [109] 100.0% ---------------------------------------------------------------------------------------- ??? [65] 23.4% ->bf [87] 24.0% for-loop [53] 52.5% [96] 990(1.2%) 758(1.0%) ??? ...ts/racket/contract/private/arr-i.rkt:804:10 get/build-late-neg-projection [118] 23.4% ---------------------------------------------------------------------------------------- best-alt [82] 100.0% [97] 968(1.2%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:135:2 composed [110] 100.0% ---------------------------------------------------------------------------------------- approximate9 [80] 100.0% [98] 890(1.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:83:4 hash-ref! [139] 100.0% ---------------------------------------------------------------------------------------- matcher [84] 100.0% [99] 724(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:179:21 matcher [84] 100.0% ---------------------------------------------------------------------------------------- for-loop [77] 100.0% [100] 368(0.5%) 180(0.2%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [119] 51.1% ---------------------------------------------------------------------------------------- matcher [84] 100.0% [101] 358(0.4%) 0(0.0%) for-loop ...lock/herbie/src/core/matcher.rkt:155:6 pattern-substitute [114] 100.0% ---------------------------------------------------------------------------------------- extract-alt [23] 45.8% best-alt [82] 54.2% [102] 358(0.4%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:134:0 composed [110] 100.0% ---------------------------------------------------------------------------------------- approximate9 [80] 100.0% [103] 228(0.3%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:324:0 first-nonzero-exp [124] 100.0% ---------------------------------------------------------------------------------------- ??? [89] 100.0% [104] 208(0.3%) 208(0.3%) custom-in-set ...acket/private/set-types.rkt:577:0 ---------------------------------------------------------------------------------------- ??? [86] 100.0% [105] 192(0.2%) 192(0.2%) ??? ...cts/racket/contract/private/list.rkt:187:10 ---------------------------------------------------------------------------------------- list-cartesian-product [81] 100.0% [106] 182(0.2%) 182(0.2%) for-loop ...atlock/herbie/src/core/ematch.rkt:24:8 ---------------------------------------------------------------------------------------- ??? [86] 100.0% [107] 172(0.2%) 172(0.2%) ??? ...ects/racket/contract/private/hash.rkt:222:6 ---------------------------------------------------------------------------------------- map [92] 2.7% simplify [152] 5.2% eval-const-expr [155] 6.5% approximate9 [80] 8.2% eval-prog [94] 11.6% f37 [108] 24.3% split-table [22] 41.4% [108] 5972(7.5%) 394(0.5%) f37 ...t/collects/racket/match/compiler.rkt:507:40 option-on-expr [122] 38.5% f37 [108] 24.3% ??? [65] 15.3% map [92] 6.9% taylor-invert [113] 3.4% exprs-to-branch-on [131] 2.9% location-do [121] 2.8% taylor [115] 0.7% ---------------------------------------------------------------------------------------- for-loop [95] 100.0% [109] 2294(2.9%) 0(0.0%) hash-update! ...ket/private/more-scheme.rkt:362:13 ??? [123] 100.0% ---------------------------------------------------------------------------------------- argmins [102] 27.0% loop [97] 73.0% [110] 1326(1.7%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [75] 100.0% ---------------------------------------------------------------------------------------- eval-prog [94] 100.0% [111] 422(0.5%) 236(0.3%) ??? ...cket/collects/racket/private/kw.rkt:1633:36 unpack242 [127] 44.1% ---------------------------------------------------------------------------------------- map [92] 100.0% [112] 388(0.5%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:342:0 simplify [152] 100.0% ---------------------------------------------------------------------------------------- map [92] 46.8% f37 [108] 53.2% [113] 380(0.5%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:308:0 first-nonzero-exp [124] 53.2% simplify [152] 46.8% ---------------------------------------------------------------------------------------- pattern-substitute [114] 50.0% for-loop [101] 50.0% [114] 358(0.4%) 0(0.0%) pattern-substitute ...ie/src/core/matcher.rkt:72:0 pattern-substitute [114] 50.0% ??? [33] 50.0% ---------------------------------------------------------------------------------------- map [92] 50.0% f37 [108] 50.0% [115] 352(0.4%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:159:0 loop [132] 50.0% curry* [129] 50.0% ---------------------------------------------------------------------------------------- eval-prog [94] 100.0% [116] 328(0.4%) 150(0.2%) parse-lambda ...llects/racket/private/kw.rkt:437:2 simple-args? [128] 54.3% ---------------------------------------------------------------------------------------- for-loop [93] 100.0% [117] 318(0.4%) 0(0.0%) ulp-difference ...atlock/herbie/src/float.rkt:19:0 ??? [176] 100.0% ---------------------------------------------------------------------------------------- unconstrained-domain->-projection [126] 50.0% ??? [96] 50.0% [118] 232(0.3%) 0(0.0%) get/build-late-neg-projection ...te/guts.rkt:691:0 unconstrained-domain->-projection [126] 50.0% ??? [125] 50.0% ---------------------------------------------------------------------------------------- ??? [100] 100.0% [119] 188(0.2%) 188(0.2%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ---------------------------------------------------------------------------------------- eval-prog [94] 100.0% [120] 174(0.2%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [130] 100.0% ---------------------------------------------------------------------------------------- f37 [108] 3.3% location-do [121] 15.2% ??? [65] 39.7% for-loop [53] 41.8% [121] 5138(6.5%) 588(0.7%) location-do ...acket/private/norm-define.rkt:53:83 ??? [133] 40.9% ??? [65] 28.3% location-do [121] 15.2% return/no-unsupplied [183] 4.0% ---------------------------------------------------------------------------------------- f37 [108] 100.0% [122] 2300(2.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:115:0 sort-context-on-expr [135] 85.2% loop [132] 14.8% ---------------------------------------------------------------------------------------- hash-update! [109] 100.0% [123] 2294(2.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/egraph.rkt:225:24 for-loop [134] 100.0% ---------------------------------------------------------------------------------------- taylor-invert [113] 47.0% taylor-quotient [103] 53.0% [124] 430(0.5%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:256:0 hash-ref! [139] 100.0% ---------------------------------------------------------------------------------------- get/build-late-neg-projection [118] 100.0% [125] 232(0.3%) 232(0.3%) ??? ...cts/racket/contract/private/prop.rkt:314:12 ---------------------------------------------------------------------------------------- get/build-late-neg-projection [118] 100.0% [126] 232(0.3%) 0(0.0%) unconstrained-domain->-projection ...rrow.rkt:60:0 get/build-late-neg-projection [118] 100.0% ---------------------------------------------------------------------------------------- ??? [111] 100.0% [127] 186(0.2%) 0(0.0%) unpack242 ...private/arrow-higher-order.rkt:354:44 maybe-cons-kwd [136] 100.0% ---------------------------------------------------------------------------------------- parse-lambda [116] 100.0% [128] 178(0.2%) 178(0.2%) simple-args? ...llects/racket/private/kw.rkt:350:2 ---------------------------------------------------------------------------------------- taylor [115] 100.0% [129] 176(0.2%) 176(0.2%) curry* ...racket/collects/racket/function.rkt:44:2 ---------------------------------------------------------------------------------------- ??? [120] 100.0% [130] 174(0.2%) 174(0.2%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------------------------- f37 [108] 100.0% [131] 174(0.2%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:44:0 critical-subexpression [137] 100.0% ---------------------------------------------------------------------------------------- loop! [142] 0.3% taylor [115] 0.7% for-loop [64] 0.7% parse-loop50 [167] 0.9% option-on-expr [122] 1.0% map-enodes [31] 1.3% make-exacts* [76] 1.4% map [92] 2.3% match-e [51] 3.0% extract-alt [23] 3.8% ??? [4] 15.7% loop [132] 69.0% [132] 26068(32.8%) 776(1.0%) loop ...cket/collects/racket/private/map.rkt:25:19 loop [132] 69.0% hash-ref! [139] 15.4% simplify [3] 3.8% ??? [138] 3.6% for-loop [143] 1.3% errors [75] 1.0% parse-loop50 [167] 0.9% foldl [145] 0.7% simplify [152] 0.7% loop! [142] 0.3% ->flonum [151] 0.1% ---------------------------------------------------------------------------------------- hash-has-key? [44] 30.9% location-do [121] 69.1% [133] 3044(3.8%) 388(0.5%) ??? ...ects/racket/contract/private/list.rkt:737:4 for-loop [140] 76.9% arrow-higher-order:lnp [147] 5.5% successfully-got-the-right-kind-of-function [144] 4.9% ---------------------------------------------------------------------------------------- ??? [123] 100.0% [134] 2294(2.9%) 2294(2.9%) for-loop ...lock/herbie/src/core/egraph.rkt:226:26 ---------------------------------------------------------------------------------------- option-on-expr [122] 100.0% [135] 1960(2.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:79:0 ??? [141] 100.0% ---------------------------------------------------------------------------------------- unpack242 [127] 100.0% [136] 186(0.2%) 0(0.0%) maybe-cons-kwd ...ate/arrow-higher-order.rkt:498:0 successfully-got-the-right-kind-of-function [144]100.0% ---------------------------------------------------------------------------------------- exprs-to-branch-on [131] 100.0% [137] 174(0.2%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:52:0 for-loop [146] 100.0% ---------------------------------------------------------------------------------------- for-loop [93] 35.1% loop [132] 64.9% [138] 24422(30.7%) 714(0.9%) ??? /home/ztatlock/herbie/src/programs.rkt:152:4 ??? [148] 84.6% ??? [150] 10.9% ->flonum [151] 1.6% ---------------------------------------------------------------------------------------- for-loop [17] 1.6% ??? [4] 3.0% ??? [154] 3.5% for-loop [16] 3.5% first-nonzero-exp [124] 3.8% compile [71] 5.3% loop [98] 6.1% update-leader! [66] 6.6% eval-prog [94] 28.7% loop [132] 36.9% [139] 6814(8.6%) 1020(1.3%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 41.0% bigfloat-hash [149] 27.7% simplify [152] 9.1% ??? [6] 3.5% ??? [154] 3.5% ??? [7] 1.6% ??? [9] 0.8% ---------------------------------------------------------------------------------------- ??? [133] 100.0% [140] 2340(2.9%) 2012(2.5%) for-loop ...acket/contract/private/list.rkt:743:12 ??? [157] 14.0% ---------------------------------------------------------------------------------------- sort-context-on-expr [135] 100.0% [141] 1960(2.5%) 0(0.0%) ??? ...cket/collects/racket/private/sort.rkt:403:3 generic-sort/key [153] 92.3% loop [179] 7.7% ---------------------------------------------------------------------------------------- loop [132] 21.6% merge-egraph-nodes! [54] 30.7% apply-match [41] 47.7% [142] 768(1.0%) 236(0.3%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 set [156] 36.3% loop [132] 21.6% update-en-expr [159] 11.3% ---------------------------------------------------------------------------------------- loop [132] 100.0% [143] 720(0.9%) 334(0.4%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [155] 53.6% ---------------------------------------------------------------------------------------- ??? [133] 44.3% maybe-cons-kwd [136] 55.7% [144] 334(0.4%) 186(0.2%) successfully-got-the-right-kind-of-function ...9:4 arity-checking-wrapper [160] 44.3% ---------------------------------------------------------------------------------------- loop [132] 100.0% [145] 188(0.2%) 0(0.0%) foldl ...et/collects/racket/private/list.rkt:229:4 merge2 [158] 100.0% ---------------------------------------------------------------------------------------- critical-subexpression [137] 100.0% [146] 174(0.2%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:87:19 eval-prog [94] 100.0% ---------------------------------------------------------------------------------------- ??? [133] 100.0% [147] 168(0.2%) 168(0.2%) arrow-higher-order:lnp ...w-higher-order.rkt:597:7 ---------------------------------------------------------------------------------------- ??? [138] 100.0% [148] 20668(26.0%) 8678(10.9%) ??? ...acket/collects/racket/private/kw.rkt:444:14 ??? [161] 42.2% ??? [164] 11.3% ??? [168] 3.5% ---------------------------------------------------------------------------------------- hash-ref! [139] 100.0% [149] 4258(5.4%) 160(0.2%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [163] 55.4% sig+exp->bigfloat [165] 40.9% ---------------------------------------------------------------------------------------- ??? [65] 13.1% ??? [138] 86.9% [150] 3058(3.8%) 0(0.0%) ??? ...contract/private/../../private/kw.rkt:761:9 real->bigfloat [162] 86.9% integer->bigfloat [169] 13.1% ---------------------------------------------------------------------------------------- ??? [138] 15.5% for-loop [93] 22.3% loop [132] 62.1% [151] 2462(3.1%) 0(0.0%) ->flonum .../ztatlock/herbie/src/programs.rkt:34:0 ??? [176] 91.9% ??? [172] 8.1% ---------------------------------------------------------------------------------------- loop [132] 8.5% taylor-invert [113] 8.6% for-loop [18] 11.1% taylor-sqrt [112] 18.8% hash-ref! [139] 53.0% [152] 2062(2.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:15:0 parse-loop50 [167] 55.1% f37 [108] 19.1% debug7 [170] 8.6% simplify-node [173] 8.6% debug-print [171] 8.5% ---------------------------------------------------------------------------------------- ??? [141] 100.0% [153] 1810(2.3%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:185:2 copying-mergesort [166] 91.7% loop [179] 8.3% ---------------------------------------------------------------------------------------- hash-ref! [139] 100.0% [154] 712(0.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:43:15 hash-ref! [139] 100.0% ---------------------------------------------------------------------------------------- for-loop [143] 100.0% [155] 386(0.5%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:164:0 f37 [108] 100.0% ---------------------------------------------------------------------------------------- loop! [142] 100.0% [156] 358(0.4%) 358(0.4%) set ...collects/racket/private/set-types.rkt:981:0 ---------------------------------------------------------------------------------------- for-loop [140] 100.0% [157] 328(0.4%) 152(0.2%) ??? ...private/unconstrained-domain-arrow.rkt:74:4 make-keyword-procedure [174] 53.7% ---------------------------------------------------------------------------------------- foldl [145] 100.0% [158] 188(0.2%) 188(0.2%) merge2 ...ztatlock/herbie/src/core/ematch.rkt:31:0 ---------------------------------------------------------------------------------------- loop! [142] 100.0% [159] 174(0.2%) 174(0.2%) update-en-expr ...herbie/src/core/egraph.rkt:211:0 ---------------------------------------------------------------------------------------- successfully-got-the-right-kind-of-function [144]100.0% [160] 148(0.2%) 0(0.0%) arity-checking-wrapper ...w-higher-order.rkt:402:0 matches-arity-exactly? [175] 100.0% ---------------------------------------------------------------------------------------- ??? [148] 100.0% [161] 8720(11.0%) 1402(1.8%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfsub [177] 54.0% bfsqrt [178] 29.9% ---------------------------------------------------------------------------------------- ??? [150] 100.0% [162] 2658(3.3%) 2094(2.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [181] 21.2% ---------------------------------------------------------------------------------------- bigfloat-hash [149] 100.0% [163] 2358(3.0%) 2358(3.0%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------------------------- ??? [148] 100.0% [164] 2330(2.9%) 0(0.0%) ??? ...tatlock/herbie/src/syntax/syntax.rkt:118:17 ??? [176] 100.0% ---------------------------------------------------------------------------------------- bigfloat-hash [149] 100.0% [165] 1740(2.2%) 1740(2.2%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------------------------- generic-sort/key [153] 41.1% copying-mergesort [166] 58.9% [166] 1660(2.1%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:130:8 copying-mergesort [166] 58.9% loop [179] 27.7% jloop [5] 13.3% ---------------------------------------------------------------------------------------- loop [132] 6.9% parse-loop50 [167] 30.5% simplify [152] 62.6% [167] 1136(1.4%) 1136(1.4%) parse-loop50 ...s/racket/match/compiler.rkt:418:15 parse-loop50 [167] 30.5% loop [132] 6.9% ---------------------------------------------------------------------------------------- ??? [148] 100.0% [168] 720(0.9%) 720(0.9%) ??? ...rivate/unconstrained-domain-arrow.rkt:40:13 ---------------------------------------------------------------------------------------- ??? [150] 100.0% [169] 400(0.5%) 182(0.2%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ??? [181] 54.5% ---------------------------------------------------------------------------------------- simplify [152] 48.6% iterate-egraph!5 [20] 51.4% [170] 366(0.5%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [33] 51.4% return/no-unsupplied [183] 48.6% ---------------------------------------------------------------------------------------- for-loop [32] 49.1% simplify [152] 50.9% [171] 346(0.4%) 176(0.2%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [180] 49.1% ---------------------------------------------------------------------------------------- ->flonum [151] 100.0% [172] 200(0.3%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:60:15 ??? [181] 100.0% ---------------------------------------------------------------------------------------- simplify [152] 100.0% [173] 178(0.2%) 178(0.2%) simplify-node ...k/herbie/src/core/reduce.rkt:39:0 ---------------------------------------------------------------------------------------- ??? [157] 100.0% [174] 176(0.2%) 176(0.2%) make-keyword-procedure ...ket/private/kw.rkt:260:4 ---------------------------------------------------------------------------------------- arity-checking-wrapper [160] 100.0% [175] 148(0.2%) 148(0.2%) matches-arity-exactly? ...te/arrow-common.rkt:70:0 ---------------------------------------------------------------------------------------- for-loop [72] 3.1% ormap [90] 3.9% ulp-difference [117] 6.0% ->flonum [151] 42.9% ??? [164] 44.2% [176] 5276(6.6%) 2652(3.3%) ??? /home/ztatlock/herbie/src/config.rkt:48:0 ??? [182] 34.6% return/no-unsupplied [183] 15.2% ---------------------------------------------------------------------------------------- ??? [161] 100.0% [177] 4708(5.9%) 2852(3.6%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [181] 39.4% ---------------------------------------------------------------------------------------- ??? [161] 100.0% [178] 2610(3.3%) 1942(2.4%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [181] 25.6% ---------------------------------------------------------------------------------------- generic-sort/key [153] 14.0% ??? [141] 14.0% copying-mergesort [166] 72.1% [179] 1074(1.3%) 0(0.0%) loop ...ket/collects/racket/private/sort.rkt:97:12 ??? [15] 100.0% ---------------------------------------------------------------------------------------- debug-print [171] 100.0% [180] 170(0.2%) 170(0.2%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ---------------------------------------------------------------------------------------- ??? [172] 5.7% integer->bigfloat [169] 6.2% real->bigfloat [162] 16.1% bfsqrt [178] 19.1% bfsub [177] 52.9% [181] 3506(4.4%) 3506(4.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------------------------- ??? [85] 9.8% ??? [176] 90.2% [182] 2022(2.5%) 586(0.7%) ??? ...racket/collects/racket/private/kw.rkt:761:9 ??? [184] 61.2% ??? [185] 9.8% ---------------------------------------------------------------------------------------- debug7 [170] 12.9% ??? [85] 13.8% location-do [121] 15.1% ??? [176] 58.1% [183] 1376(1.7%) 836(1.1%) return/no-unsupplied ...ct/private/arr-i.rkt:533:0 filter [186] 39.2% ---------------------------------------------------------------------------------------- ??? [182] 100.0% [184] 1238(1.6%) 1238(1.6%) ??? ...s/racket/contract/private/arr-i.rkt:1233:27 ---------------------------------------------------------------------------------------- ??? [182] 32.9% ??? [65] 67.1% [185] 602(0.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:644:8 ??? [33] 67.1% dict? [187] 32.9% ---------------------------------------------------------------------------------------- return/no-unsupplied [183] 100.0% [186] 540(0.7%) 540(0.7%) filter ...t/collects/racket/private/list.rkt:256:2 ---------------------------------------------------------------------------------------- ??? [185] 100.0% [187] 198(0.2%) 198(0.2%) dict? ...ollects/racket/private/generic.rkt:146:11 ----------------------------------------------------------------------------------------