Profiling results ----------------- Total cpu time observed: 4910ms (out of 5300ms) Number of samples taken: 25 (once every 196ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== [1] 4910(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [9] 100.0% ---------------------------------------------------------------------- ??? [68] 100.0% [2] 998(20.3%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [10] 100.0% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [3] 998(20.3%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [11] 100.0% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [4] 600(12.2%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 ??? [68] 84.7% hash-ref! [73] 15.3% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [5] 600(12.2%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [12] 100.0% ---------------------------------------------------------------------- matcher [62] 100.0% [6] 394(8.0%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [13] 100.0% ---------------------------------------------------------------------- rewriter [48] 100.0% [7] 202(4.1%) 0(0.0%) *rules* .../egg-cleanup/src/syntax/rules.rkt:666:0 for-loop [94] 100.0% ---------------------------------------------------------------------- for-loop [94] 100.0% [8] 184(3.7%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [14] 100.0% ---------------------------------------------------------------------- ??? [1] 100.0% [9] 4910(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [15] 100.0% ---------------------------------------------------------------------- approximate9 [2] 100.0% [10] 998(20.3%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [73] 60.1% ??? [68] 39.9% ---------------------------------------------------------------------- parse-loop75 [3] 100.0% [11] 998(20.3%) 210(4.3%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 temp85_0 [71] 79.0% ---------------------------------------------------------------------- ??? [5] 100.0% [12] 600(12.2%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 hash-ref! [73] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [13] 394(8.0%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [62] 100.0% ---------------------------------------------------------------------- syntax-e [8] 100.0% [14] 184(3.7%) 0(0.0%) syntax-e/no-taint (unknown source) loop [86] 100.0% ---------------------------------------------------------------------- profile-thunk16 [9] 100.0% [15] 4910(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [16] 100.0% ---------------------------------------------------------------------- for-loop [69] 5.8% run [15] 94.2% [16] 4910(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [17] 73.3% get-final-combination [18] 20.9% ??? [54] 4.0% ulp-difference [19] 1.9% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [16] 100.0% [17] 3792(77.2%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [20] 94.9% simplify! [27] 5.1% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [16] 100.0% [18] 1118(22.8%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [21] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [16] 100.0% [19] 184(3.7%) 184(3.7%) ulp-difference ...e/egg-cleanup/src/float.rkt:20:0 ---------------------------------------------------------------------- run-improve47 [17] 100.0% [20] 3600(73.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [22] 100.0% ---------------------------------------------------------------------- get-final-combination [18] 100.0% [21] 1118(22.8%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 for-loop [23] 100.0% ---------------------------------------------------------------------- for-loop [20] 100.0% [22] 3600(73.3%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 finalize-iter! [24] 36.9% gen-series! [26] 27.7% simplify! [27] 18.7% gen-rewrites! [28] 10.9% choose-best-alt! [29] 5.7% ---------------------------------------------------------------------- infer-splitpoints [21] 100.0% [23] 1118(22.8%) 0(0.0%) for-loop .../egg-cleanup/src/core/regimes.rkt:47:6 option-on-expr [25] 100.0% ---------------------------------------------------------------------- run-iter! [22] 100.0% [24] 1330(27.1%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [30] 100.0% ---------------------------------------------------------------------- for-loop [23] 100.0% [25] 1118(22.8%) 0(0.0%) option-on-expr ...eanup/src/core/regimes.rkt:126:0 err-lsts->split-indices [33] 46.2% sort-context-on-expr [34] 37.0% for-loop [37] 16.8% ---------------------------------------------------------------------- run-iter! [22] 100.0% [26] 998(20.3%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [31] 100.0% ---------------------------------------------------------------------- run-improve47 [17] 22.2% run-iter! [22] 77.8% [27] 866(17.6%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [32] 100.0% ---------------------------------------------------------------------- run-iter! [22] 100.0% [28] 394(8.0%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [35] 100.0% ---------------------------------------------------------------------- run-iter! [22] 100.0% [29] 204(4.2%) 0(0.0%) choose-best-alt! ...cleanup/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [36] 100.0% ---------------------------------------------------------------------- finalize-iter! [24] 100.0% [30] 1330(27.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [38] 100.0% ---------------------------------------------------------------------- gen-series! [26] 100.0% [31] 998(20.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [39] 100.0% ---------------------------------------------------------------------- simplify! [27] 100.0% [32] 866(17.6%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [40] 100.0% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [33] 516(10.5%) 168(3.4%) err-lsts->split-indices .../core/regimes.rkt:262:0 loop [43] 67.4% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [34] 414(8.4%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 ??? [41] 100.0% ---------------------------------------------------------------------- gen-rewrites! [28] 100.0% [35] 394(8.0%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [42] 100.0% ---------------------------------------------------------------------- choose-best-alt! [29] 100.0% [36] 204(4.2%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [44] 100.0% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [37] 188(3.8%) 0(0.0%) for-loop ...egg-cleanup/src/core/regimes.rkt:136:4 errors [60] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [38] 1330(27.1%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [45] 85.0% errors [60] 15.0% ---------------------------------------------------------------------- for-loop [31] 100.0% [39] 998(20.3%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [46] 100.0% ---------------------------------------------------------------------- ??? [32] 100.0% [40] 866(17.6%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [47] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [34] 100.0% [41] 414(8.4%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 loop [50] 51.7% generic-sort/key [52] 48.3% ---------------------------------------------------------------------- for-loop [35] 100.0% [42] 394(8.0%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [48] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [33] 100.0% [43] 348(7.1%) 0(0.0%) loop ...bie/egg-cleanup/src/core/regimes.rkt:313:4 for-loop [49] 100.0% ---------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [36] 100.0% [44] 204(4.2%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/alt-table.rkt:58:0 argmin [51] 100.0% ---------------------------------------------------------------------- for-loop [38] 100.0% [45] 1130(23.0%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [60] 66.4% for-loop [58] 17.5% override-at-pnts [59] 16.1% ---------------------------------------------------------------------- taylor-alt [39] 100.0% [46] 998(20.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [68] 100.0% ---------------------------------------------------------------------- egraph-run [40] 100.0% [47] 866(17.6%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [53] 100.0% ---------------------------------------------------------------------- rewrite-expression-head20 [42] 22.6% matcher [62] 77.4% [48] 394(8.0%) 192(3.9%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [55] 77.4% *rules* [7] 12.8% ---------------------------------------------------------------------- loop [43] 100.0% [49] 348(7.1%) 348(7.1%) for-loop ...egg-cleanup/src/core/regimes.rkt:278:4 ---------------------------------------------------------------------- ??? [41] 100.0% [50] 214(4.4%) 0(0.0%) loop ...7.5/collects/racket/private/sort.rkt:96:12 ??? [54] 100.0% ---------------------------------------------------------------------- ??? [44] 100.0% [51] 204(4.2%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [56] 100.0% ---------------------------------------------------------------------- ??? [41] 100.0% [52] 200(4.1%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [57] 100.0% ---------------------------------------------------------------------- egraph-add-exprs [47] 100.0% [53] 866(17.6%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [61] 72.7% egg-run-rules [63] 27.3% ---------------------------------------------------------------------- loop [50] 35.5% .../more-scheme.rkt:261:28 [16] 64.5% [54] 602(12.3%) 414(8.4%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [66] 31.2% ---------------------------------------------------------------------- rewriter [48] 100.0% [55] 394(8.0%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [62] 100.0% ---------------------------------------------------------------------- argmin [51] 100.0% [56] 204(4.2%) 0(0.0%) ??? .../herbie/egg-cleanup/src/mainloop.rkt:114:10 errors [60] 100.0% ---------------------------------------------------------------------- generic-sort/key [52] 25.0% copying-mergesort [57] 75.0% [57] 200(4.1%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [57] 75.0% jloop [64] 25.0% ---------------------------------------------------------------------- atab-add-altn [45] 100.0% [58] 198(4.0%) 0(0.0%) for-loop ...g-cleanup/src/core/alt-table.rkt:119:2 ??? [65] 100.0% ---------------------------------------------------------------------- atab-add-altn [45] 100.0% [59] 182(3.7%) 0(0.0%) override-at-pnts ...p/src/core/alt-table.rkt:138:0 for-loop [67] 100.0% ---------------------------------------------------------------------- for-loop [37] 14.0% for-loop [38] 14.9% ??? [56] 15.2% atab-add-altn [45] 55.9% [60] 1342(27.3%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [69] 72.6% eval-prog [70] 27.4% ---------------------------------------------------------------------- ??? [53] 100.0% [61] 630(12.8%) 630(12.8%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 ---------------------------------------------------------------------- for-loop [13] 50.0% for-loop [55] 50.0% [62] 394(8.0%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [6] 50.0% rewriter [48] 50.0% ---------------------------------------------------------------------- ??? [53] 100.0% [63] 236(4.8%) 236(4.8%) egg-run-rules ...leanup/src/core/simplify.rkt:99:0 ---------------------------------------------------------------------- copying-mergesort [57] 100.0% [64] 200(4.1%) 0(0.0%) jloop ...5/collects/racket/private/sort.rkt:120:23 ??? [68] 100.0% ---------------------------------------------------------------------- for-loop [58] 100.0% [65] 198(4.0%) 198(4.0%) ??? ...7.5/collects/racket/private/for.rkt:1236:14 ---------------------------------------------------------------------- ??? [54] 100.0% [66] 188(3.8%) 188(3.8%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 ---------------------------------------------------------------------- override-at-pnts [59] 100.0% [67] 182(3.7%) 182(3.7%) for-loop ...-cleanup/src/core/alt-table.rkt:139:22 ---------------------------------------------------------------------- loop [10] 11.1% ??? [4] 16.7% jloop [64] 16.7% location-do [72] 27.8% for-loop [46] 27.8% [68] 1198(24.4%) 200(4.1%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [72] 27.8% approximate9 [2] 27.8% hash-ref! [73] 27.8% ---------------------------------------------------------------------- errors [60] 100.0% [69] 974(19.8%) 402(8.2%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [16] 58.7% ---------------------------------------------------------------------- errors [60] 100.0% [70] 368(7.5%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [71] 100.0% ---------------------------------------------------------------------- eval-prog [70] 31.8% eval-const-expr [11] 68.2% [71] 1156(23.5%) 0(0.0%) temp85_0 (unknown source) compile15 [74] 100.0% ---------------------------------------------------------------------- ??? [68] 42.6% location-do [72] 57.4% [72] 998(20.3%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 location-do [72] 57.4% ??? [68] 42.6% ---------------------------------------------------------------------- taylor-sqrt [78] 3.1% ??? [4] 3.1% ??? [77] 3.7% ??? [76] 10.7% for-loop [12] 10.7% loop [10] 10.7% ??? [75] 27.5% ??? [68] 30.6% [73] 998(20.3%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 parse-loop75 [3] 30.6% ??? [75] 27.5% ??? [4] 13.7% ??? [5] 10.7% ??? [76] 10.7% ??? [77] 3.7% taylor-sqrt [78] 3.1% ---------------------------------------------------------------------- temp85_0 [71] 100.0% [74] 1156(23.5%) 0(0.0%) compile15 (unknown source) temp91_0 [79] 100.0% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [75] 814(16.6%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [73] 100.0% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [76] 600(12.2%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:328:33 hash-ref! [73] 100.0% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [77] 222(4.5%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:363:30 hash-ref! [73] 100.0% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [78] 184(3.7%) 0(0.0%) taylor-sqrt ...g-cleanup/src/core/taylor.rkt:352:0 hash-ref! [73] 100.0% ---------------------------------------------------------------------- compile15 [74] 100.0% [79] 1156(23.5%) 0(0.0%) temp91_0 (unknown source) temp118_0 [80] 80.8% compile-top9 [81] 19.2% ---------------------------------------------------------------------- temp91_0 [79] 100.0% [80] 934(19.0%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [82] 100.0% ---------------------------------------------------------------------- temp91_0 [79] 100.0% [81] 222(4.5%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [83] 100.0% ---------------------------------------------------------------------- temp118_0 [80] 100.0% [82] 934(19.0%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [84] 100.0% ---------------------------------------------------------------------- compile-top9 [81] 100.0% [83] 222(4.5%) 0(0.0%) compile-forms33 (unknown source) for-loop [94] 100.0% ---------------------------------------------------------------------- expand-capturing-lifts [82] 100.0% [84] 934(19.0%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [85] 80.3% loop [86] 19.7% ---------------------------------------------------------------------- lambda-clause-expander [84] 23.1% for-loop [94] 76.9% [85] 750(15.3%) 0(0.0%) finish-bodys (unknown source) for-loop [94] 100.0% ---------------------------------------------------------------------- apply-transformer52 [91] 25.0% lambda-clause-expander [84] 25.0% syntax-e/no-taint [14] 50.0% [86] 368(7.5%) 0(0.0%) loop (unknown source) gf [87] 50.0% dispatch-transformer41 [89] 25.0% core-form-sym [88] 25.0% ---------------------------------------------------------------------- loop [86] 100.0% [87] 184(3.7%) 0(0.0%) gf (unknown source) propagation-apply [90] 100.0% ---------------------------------------------------------------------- loop [86] 100.0% [88] 184(3.7%) 0(0.0%) core-form-sym (unknown source) resolve+shift28 [92] 100.0% ---------------------------------------------------------------------- loop [86] 100.0% [89] 184(3.7%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [91] 100.0% ---------------------------------------------------------------------- gf [87] 100.0% [90] 184(3.7%) 184(3.7%) propagation-apply (unknown source) ---------------------------------------------------------------------- dispatch-transformer41 [89] 100.0% [91] 184(3.7%) 0(0.0%) apply-transformer52 (unknown source) loop [86] 100.0% ---------------------------------------------------------------------- core-form-sym [88] 100.0% [92] 184(3.7%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [93] 100.0% ---------------------------------------------------------------------- resolve+shift28 [92] 100.0% [93] 184(3.7%) 0(0.0%) fallback-loop (unknown source) for-loop [94] 100.0% ---------------------------------------------------------------------- for-loop [94] 6.8% fallback-loop [93] 6.8% *rules* [7] 14.9% compile-forms33 [83] 16.3% finish-bodys [85] 55.2% [94] 1358(27.7%) 570(11.6%) for-loop (unknown source) finish-bodys [85] 42.5% compile-module-linklet57 [95] 16.3% expand-id-application-form17 [96] 7.1% for-loop [94] 6.8% expand-body7 [97] 2.8% syntax-e [8] 2.3% ---------------------------------------------------------------------- for-loop [94] 100.0% [95] 222(4.5%) 222(4.5%) compile-module-linklet57 (unknown source) ---------------------------------------------------------------------- for-loop [94] 100.0% [96] 194(4.0%) 0(0.0%) expand-id-application-form17 (unknown source) binding-lookup52 [98] 100.0% ---------------------------------------------------------------------- for-loop [94] 100.0% [97] 188(3.8%) 188(3.8%) expand-body7 (unknown source) ---------------------------------------------------------------------- expand-id-application-form17 [96]100.0% [98] 194(4.0%) 194(4.0%) binding-lookup52 (unknown source) ----------------------------------------------------------------------