Profiling results ----------------- Total cpu time observed: 5160ms (out of 5388ms) Number of samples taken: 25 (once every 206ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== [1] 5160(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [8] 100.0% --------------------------------------------------------------------- hash-ref! [72] 100.0% [2] 642(12.4%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:68:15 hash-ref! [72] 50.0% ??? [67] 50.0% --------------------------------------------------------------------- ??? [67] 100.0% [3] 642(12.4%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:12:0 loop [9] 100.0% --------------------------------------------------------------------- hash-ref! [72] 100.0% [4] 642(12.4%) 0(0.0%) simplify ...herbie/master/src/core/reduce.rkt:16:0 f46 [10] 67.6% parse-loop80 [18] 32.4% --------------------------------------------------------------------- hash-ref! [72] 100.0% [5] 412(8.0%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:291:26 for-loop [11] 100.0% --------------------------------------------------------------------- hash-ref! [72] 100.0% [6] 230(4.5%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:301:23 for-loop [12] 100.0% --------------------------------------------------------------------- for-loop [97] 100.0% [7] 216(4.2%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [13] 100.0% --------------------------------------------------------------------- ??? [1] 100.0% [8] 5160(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [14] 100.0% --------------------------------------------------------------------- approximate9 [3] 100.0% [9] 642(12.4%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:87:4 hash-ref! [72] 100.0% --------------------------------------------------------------------- map [15] 26.5% simplify [4] 73.5% [10] 434(8.4%) 0(0.0%) f46 (unknown source) map [15] 100.0% --------------------------------------------------------------------- ??? [5] 100.0% [11] 412(8.0%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:291:52 hash-ref! [72] 75.2% ??? [16] 24.8% --------------------------------------------------------------------- ??? [6] 100.0% [12] 230(4.5%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:304:27 hash-ref! [72] 100.0% --------------------------------------------------------------------- syntax-e [7] 100.0% [13] 216(4.2%) 0(0.0%) syntax-e/no-taint (unknown source) loop [84] 100.0% --------------------------------------------------------------------- profile-thunk16 [8] 100.0% [14] 5160(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [17]100.0% --------------------------------------------------------------------- f46 [10] 100.0% [15] 434(8.4%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 parse-loop80 [18] 73.5% f46 [10] 26.5% --------------------------------------------------------------------- for-loop [11] 100.0% [16] 204(4.0%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:294:19 hash-ref! [72] 100.0% --------------------------------------------------------------------- for-loop [64] 5.6% run [14] 94.4% [17] 5160(100.0%) 388(7.5%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [19] 52.4% prepare-points-intervals [20] 32.7% get-final-combination [22] 3.8% oracle-error [23] 3.7% errors [62] 1.8% ??? [65] 1.8% --------------------------------------------------------------------- simplify [4] 32.4% map [15] 67.6% [18] 642(12.4%) 0(0.0%) parse-loop80 (unknown source) eval-const-expr [21] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [17]100.0% [19] 2898(56.2%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:346:0 for-loop [24] 93.4% simplify! [33] 6.6% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [17]100.0% [20] 1686(32.7%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:110:0 loop [25] 100.0% --------------------------------------------------------------------- parse-loop80 [18] 100.0% [21] 642(12.4%) 0(0.0%) eval-const-expr ...e/master/src/programs.rkt:118:0 temp85_0 [68] 67.6% loop [84] 32.4% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [17]100.0% [22] 196(3.8%) 0(0.0%) get-final-combination ...er/src/mainloop.rkt:371:0 infer-splitpoints [26] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [17]100.0% [23] 192(3.7%) 0(0.0%) oracle-error ...herbie/master/src/points.rkt:188:0 for-loop [27] 100.0% --------------------------------------------------------------------- run-improve47 [19] 100.0% [24] 2706(52.4%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:365:4 run-iter! [28] 100.0% --------------------------------------------------------------------- prepare-points-intervals [20] 100.0% [25] 1686(32.7%) 382(7.4%) loop ...ghtlies/herbie/master/src/points.rkt:123:4 ??? [29] 33.6% loop [30] 32.7% do-curry [32] 11.0% --------------------------------------------------------------------- get-final-combination [22] 100.0% [26] 196(3.8%) 0(0.0%) infer-splitpoints ...ter/src/core/regimes.rkt:34:0 for-loop [31] 100.0% --------------------------------------------------------------------- oracle-error [23] 100.0% [27] 192(3.7%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:189:2 loop [84] 100.0% --------------------------------------------------------------------- for-loop [24] 100.0% [28] 2706(52.4%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:327:0 finalize-iter! [34] 33.1% simplify! [33] 28.5% gen-series! [35] 23.7% choose-best-alt! [36] 7.4% gen-rewrites! [37] 7.3% --------------------------------------------------------------------- loop [25] 100.0% [29] 566(11.0%) 0(0.0%) ??? ...ightlies/herbie/master/src/points.rkt:106:2 ??? [67] 100.0% --------------------------------------------------------------------- loop [25] 100.0% [30] 552(10.7%) 184(3.6%) loop ...ightlies/herbie/master/src/points.rkt:81:2 ??? [39] 33.3% ??? [65] 33.3% --------------------------------------------------------------------- infer-splitpoints [26] 100.0% [31] 196(3.8%) 0(0.0%) for-loop ...erbie/master/src/core/regimes.rkt:47:6 option-on-expr [38] 100.0% --------------------------------------------------------------------- loop [25] 100.0% [32] 186(3.6%) 186(3.6%) do-curry ...-7.5/collects/racket/function.rkt:71:2 --------------------------------------------------------------------- run-improve47 [19] 20.0% run-iter! [28] 80.0% [33] 962(18.6%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:224:0 egraph-run [40] 100.0% --------------------------------------------------------------------- run-iter! [28] 100.0% [34] 896(17.4%) 0(0.0%) finalize-iter! ...ie/master/src/mainloop.rkt:278:0 ??? [39] 100.0% --------------------------------------------------------------------- run-iter! [28] 100.0% [35] 642(12.4%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:160:0 for-loop [41] 100.0% --------------------------------------------------------------------- run-iter! [28] 100.0% [36] 200(3.9%) 0(0.0%) choose-best-alt! .../master/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [42]100.0% --------------------------------------------------------------------- run-iter! [28] 100.0% [37] 198(3.8%) 0(0.0%) gen-rewrites! ...bie/master/src/mainloop.rkt:183:0 for-loop [43] 100.0% --------------------------------------------------------------------- for-loop [31] 100.0% [38] 196(3.8%) 0(0.0%) option-on-expr ...aster/src/core/regimes.rkt:126:0 sort-context-on-expr [44] 100.0% --------------------------------------------------------------------- loop [30] 17.0% finalize-iter! [34] 83.0% [39] 1080(20.9%) 184(3.6%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [46] 83.0% --------------------------------------------------------------------- simplify! [33] 100.0% [40] 962(18.6%) 0(0.0%) egraph-run ...bie/master/src/core/eggmath.rkt:51:0 egraph-add-exprs [45] 100.0% --------------------------------------------------------------------- gen-series! [35] 100.0% [41] 642(12.4%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:167:7 taylor-alt [47] 100.0% --------------------------------------------------------------------- choose-best-alt! [36] 100.0% [42] 200(3.9%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [48] 100.0% --------------------------------------------------------------------- gen-rewrites! [37] 100.0% [43] 198(3.8%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:208:4 for-loop [49] 100.0% --------------------------------------------------------------------- option-on-expr [38] 100.0% [44] 196(3.8%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 ??? [50] 100.0% --------------------------------------------------------------------- egraph-run [40] 100.0% [45] 962(18.6%) 0(0.0%) egraph-add-exprs ...ter/src/core/eggmath.rkt:111:0 ??? [51] 100.0% --------------------------------------------------------------------- ??? [39] 100.0% [46] 896(17.4%) 0(0.0%) for-loop ...bie/master/src/core/alt-table.rkt:55:2 atab-add-altn [53] 58.3% errors [62] 21.0% loop [57] 20.8% --------------------------------------------------------------------- for-loop [41] 100.0% [47] 642(12.4%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:146:0 for-loop [52] 100.0% --------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [42]100.0% [48] 200(3.9%) 0(0.0%) ??? ...s/herbie/master/src/core/alt-table.rkt:58:0 argmin [54] 100.0% --------------------------------------------------------------------- for-loop [43] 100.0% [49] 198(3.8%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:209:6 change-apply [55] 100.0% --------------------------------------------------------------------- sort-context-on-expr [44] 100.0% [50] 196(3.8%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [56] 100.0% --------------------------------------------------------------------- egraph-add-exprs [45] 100.0% [51] 962(18.6%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:72:6 for-loop [58] 100.0% --------------------------------------------------------------------- taylor-alt [47] 100.0% [52] 642(12.4%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:152:6 ??? [67] 100.0% --------------------------------------------------------------------- for-loop [46] 100.0% [53] 522(10.1%) 0(0.0%) atab-add-altn ...ster/src/core/alt-table.rkt:203:0 errors [62] 100.0% --------------------------------------------------------------------- ??? [48] 100.0% [54] 200(3.9%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [59] 100.0% --------------------------------------------------------------------- for-loop [49] 100.0% [55] 198(3.8%) 0(0.0%) change-apply ...e/master/src/core/matcher.rkt:70:0 pattern-substitute [60] 100.0% --------------------------------------------------------------------- ??? [50] 100.0% [56] 196(3.8%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [61] 100.0% --------------------------------------------------------------------- for-loop [46] 100.0% [57] 186(3.6%) 186(3.6%) loop ...herbie/master/src/core/alt-table.rkt:177:2 --------------------------------------------------------------------- ??? [51] 100.0% [58] 962(18.6%) 962(18.6%) for-loop ...rbie/master/src/core/simplify.rkt:91:2 --------------------------------------------------------------------- argmin [54] 100.0% [59] 200(3.9%) 0(0.0%) ??? ...tlies/herbie/master/src/mainloop.rkt:114:10 errors [62] 100.0% --------------------------------------------------------------------- change-apply [55] 33.3% pattern-substitute [60] 66.7% [60] 198(3.8%) 198(3.8%) pattern-substitute ...er/src/core/matcher.rkt:46:0 pattern-substitute [60] 66.7% --------------------------------------------------------------------- generic-sort/key [56] 25.0% copying-mergesort [61] 75.0% [61] 196(3.8%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [61] 75.0% jloop [63] 25.0% --------------------------------------------------------------------- for-loop [46] 17.1% .../more-scheme.rkt:261:28 [17] 17.1% ??? [59] 18.2% atab-add-altn [53] 47.5% [62] 1098(21.3%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:201:0 for-loop [64] 52.5% eval-prog [66] 47.5% --------------------------------------------------------------------- copying-mergesort [61] 100.0% [63] 196(3.8%) 0(0.0%) jloop ...5/collects/racket/private/sort.rkt:120:23 ??? [65] 100.0% --------------------------------------------------------------------- errors [62] 100.0% [64] 576(11.2%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [17]100.0% --------------------------------------------------------------------- loop [30] 32.4% .../more-scheme.rkt:261:28 [17] 33.1% jloop [63] 34.5% [65] 568(11.0%) 188(3.6%) ??? ...htlies/herbie/master/src/programs.rkt:115:2 ??? [67] 34.5% ??? [69] 32.4% --------------------------------------------------------------------- errors [62] 100.0% [66] 522(10.1%) 0(0.0%) eval-prog ...s/herbie/master/src/programs.rkt:83:0 temp85_0 [68] 100.0% --------------------------------------------------------------------- ??? [65] 14.0% ??? [2] 15.2% location-do [71] 15.2% for-loop [52] 15.2% ??? [29] 40.3% [67] 1404(27.2%) 382(7.4%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [73] 27.1% location-do [71] 15.2% approximate9 [3] 15.2% hash-ref! [72] 15.2% --------------------------------------------------------------------- eval-const-expr [21] 45.4% eval-prog [66] 54.6% [68] 956(18.5%) 0(0.0%) temp85_0 (unknown source) compile15 [70] 100.0% --------------------------------------------------------------------- ??? [65] 100.0% [69] 184(3.6%) 184(3.6%) ??? ...tract/private/arrow-higher-order.rkt:379:33 --------------------------------------------------------------------- temp85_0 [68] 100.0% [70] 956(18.5%) 0(0.0%) compile15 (unknown source) temp91_0 [74] 100.0% --------------------------------------------------------------------- location-do [71] 17.9% ??? [67] 82.1% [71] 642(12.4%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:64:0 ??? [67] 82.1% location-do [71] 17.9% --------------------------------------------------------------------- ??? [16] 5.3% for-loop [12] 7.2% ??? [75] 17.1% ??? [67] 17.1% ??? [2] 17.1% loop [9] 17.1% for-loop [11] 19.2% [72] 642(12.4%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [2] 34.2% ??? [5] 24.5% ??? [75] 17.1% simplify [4] 17.1% ??? [6] 7.2% --------------------------------------------------------------------- ??? [67] 100.0% [73] 380(7.4%) 0(0.0%) sample-multi-bounded ...master/src/points.rkt:15:0 random-ranges [76] 100.0% --------------------------------------------------------------------- compile15 [70] 100.0% [74] 956(18.5%) 0(0.0%) temp91_0 (unknown source) temp118_0 [77] 100.0% --------------------------------------------------------------------- hash-ref! [72] 100.0% [75] 642(12.4%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:45:15 hash-ref! [72] 100.0% --------------------------------------------------------------------- sample-multi-bounded [73] 100.0% [76] 380(7.4%) 0(0.0%) random-ranges ...erbie/master/src/common.rkt:171:0 build--> [78] 51.1% cons/c [79] 48.9% --------------------------------------------------------------------- temp91_0 [74] 100.0% [77] 956(18.5%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [80] 100.0% --------------------------------------------------------------------- random-ranges [76] 100.0% [78] 194(3.8%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [81] 100.0% --------------------------------------------------------------------- random-ranges [76] 100.0% [79] 186(3.6%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [81] 100.0% --------------------------------------------------------------------- loop [84] 17.9% temp118_0 [77] 82.1% [80] 1164(22.6%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [82] 82.1% dispatch-transformer41 [87] 17.9% --------------------------------------------------------------------- cons/c [79] 48.9% build--> [78] 51.1% [81] 380(7.4%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [83] 100.0% --------------------------------------------------------------------- expand-capturing-lifts [80] 100.0% [82] 956(18.5%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [85] 78.7% loop [84] 21.3% --------------------------------------------------------------------- coerce-contract [81] 100.0% [83] 380(7.4%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [86] 100.0% --------------------------------------------------------------------- apply-transformer52 [93] 9.2% eval-const-expr [21] 9.2% for-loop [27] 17.1% lambda-clause-expander [82] 18.1% syntax-e/no-taint [13] 19.2% for-loop [97] 27.2% [84] 1126(21.8%) 0(0.0%) loop (unknown source) expand-identifier [88] 27.2% gf [89] 19.2% dispatch-transformer41 [87] 18.1% ??? [91] 17.1% expand-capturing-lifts [80] 9.2% core-form-sym [90] 9.2% --------------------------------------------------------------------- lambda-clause-expander [82] 16.5% for-loop [97] 83.5% [85] 752(14.6%) 0(0.0%) finish-bodys (unknown source) for-loop [97] 100.0% --------------------------------------------------------------------- coerce-contract/f [83] 100.0% [86] 380(7.4%) 380(7.4%) coerce-simple-value ...ract/private/guts.rkt:385:0 --------------------------------------------------------------------- loop [84] 49.5% expand-capturing-lifts [80] 50.5% [87] 412(8.0%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [93] 100.0% --------------------------------------------------------------------- loop [84] 100.0% [88] 306(5.9%) 0(0.0%) expand-identifier (unknown source) resolve+shift28 [92] 100.0% --------------------------------------------------------------------- loop [84] 100.0% [89] 216(4.2%) 0(0.0%) gf (unknown source) propagation-merge [94] 100.0% --------------------------------------------------------------------- loop [84] 100.0% [90] 208(4.0%) 0(0.0%) core-form-sym (unknown source) resolve+shift28 [92] 100.0% --------------------------------------------------------------------- loop [84] 100.0% [91] 192(3.7%) 0(0.0%) ??? ...ghtlies/herbie/master/src/points.rkt:190:26 ulp-difference [95] 100.0% --------------------------------------------------------------------- core-form-sym [90] 40.5% expand-identifier [88] 59.5% [92] 514(10.0%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [96] 100.0% --------------------------------------------------------------------- dispatch-transformer41 [87] 100.0% [93] 412(8.0%) 204(4.0%) apply-transformer52 (unknown source) loop [84] 50.5% --------------------------------------------------------------------- gf [89] 100.0% [94] 216(4.2%) 216(4.2%) propagation-merge (unknown source) --------------------------------------------------------------------- ??? [91] 100.0% [95] 192(3.7%) 192(3.7%) ulp-difference ...herbie/master/src/float.rkt:20:0 --------------------------------------------------------------------- resolve+shift28 [92] 100.0% [96] 514(10.0%) 306(5.9%) fallback-loop (unknown source) for-loop [97] 40.5% --------------------------------------------------------------------- for-loop [97] 7.6% fallback-loop [96] 21.7% finish-bodys [85] 70.7% [97] 960(18.6%) 208(4.0%) for-loop (unknown source) finish-bodys [85] 60.0% for-loop [97] 7.6% expand-implicit [98] 6.0% loop [84] 3.2% syntax-e [7] 1.6% --------------------------------------------------------------------- for-loop [97] 100.0% [98] 230(4.5%) 0(0.0%) expand-implicit (unknown source) datum->syntax6 [99] 100.0% --------------------------------------------------------------------- expand-implicit [98] 100.0% [99] 230(4.5%) 0(0.0%) datum->syntax6 (unknown source) f [100] 100.0% --------------------------------------------------------------------- datum->syntax6 [99] 100.0% [100] 230(4.5%) 230(4.5%) f (unknown source) ---------------------------------------------------------------------