Profiling results ----------------- Total cpu time observed: 5106ms (out of 5276ms) Number of samples taken: 26 (once every 196ms) ============================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ============================================================================== [1] 5106(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [10] 100.0% ------------------------------------------------------------------------------ matcher [66] 100.0% [2] 566(11.1%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [11] 100.0% ------------------------------------------------------------------------------ map [79] 48.7% hash-ref! [69] 51.3% [3] 378(7.4%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [13] 100.0% ------------------------------------------------------------------------------ ??? [58] 100.0% [4] 378(7.4%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [14] 100.0% ------------------------------------------------------------------------------ hash-ref! [69] 100.0% [5] 378(7.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [15] 100.0% ------------------------------------------------------------------------------ rewriter [51] 100.0% [6] 200(3.9%) 0(0.0%) *rules* .../egg-cleanup/src/syntax/rules.rkt:666:0 for-loop [91] 100.0% ------------------------------------------------------------------------------ for-loop [91] 100.0% [7] 200(3.9%) 0(0.0%) expand-identifier (unknown source) resolve+shift28 [12] 100.0% ------------------------------------------------------------------------------ for-loop [91] 100.0% [8] 196(3.8%) 0(0.0%) expand-implicit (unknown source) resolve+shift28 [12] 100.0% ------------------------------------------------------------------------------ hash-ref! [69] 100.0% [9] 194(3.8%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 ??? [58] 100.0% ------------------------------------------------------------------------------ ??? [1] 100.0% [10] 5106(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [16] 100.0% ------------------------------------------------------------------------------ ??? [2] 100.0% [11] 566(11.1%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [66] 100.0% ------------------------------------------------------------------------------ expand-implicit [8] 49.5% expand-identifier [7] 50.5% [12] 396(7.8%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [17] 100.0% ------------------------------------------------------------------------------ parse-loop75 [3] 100.0% [13] 378(7.4%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 temp85_0 [71] 100.0% ------------------------------------------------------------------------------ approximate9 [4] 100.0% [14] 378(7.4%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [69] 51.3% ??? [58] 48.7% ------------------------------------------------------------------------------ ??? [5] 100.0% [15] 378(7.4%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 hash-ref! [69] 51.3% ??? [18] 48.7% ------------------------------------------------------------------------------ profile-thunk16 [10] 100.0% [16] 5106(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [19] 100.0% ------------------------------------------------------------------------------ resolve+shift28 [12] 100.0% [17] 396(7.8%) 0(0.0%) fallback-loop (unknown source) for-loop [91] 100.0% ------------------------------------------------------------------------------ for-loop [15] 100.0% [18] 184(3.6%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:294:19 hash-ref! [69] 100.0% ------------------------------------------------------------------------------ for-loop [63] 3.8% run [16] 96.2% [19] 5106(100.0%) 184(3.6%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [20] 51.6% prepare-points-intervals [21] 35.2% get-final-combination [22] 4.0% oracle-error [23] 3.6% ??? [72] 2.0% errors [57] 1.8% ------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [20] 2736(53.6%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [24] 92.5% simplify! [34] 7.5% ------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [21] 1798(35.2%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [25] 100.0% ------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [22] 204(4.0%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [26] 100.0% ------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [23] 184(3.6%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [27] 100.0% ------------------------------------------------------------------------------ run-improve47 [20] 100.0% [24] 2532(49.6%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [28] 100.0% ------------------------------------------------------------------------------ prepare-points-intervals [21] 100.0% [25] 1798(35.2%) 196(3.8%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 ??? [29] 56.7% loop [30] 22.0% do-curry [32] 10.3% ------------------------------------------------------------------------------ get-final-combination [22] 100.0% [26] 204(4.0%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 for-loop [31] 100.0% ------------------------------------------------------------------------------ oracle-error [23] 100.0% [27] 184(3.6%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 loop [47] 100.0% ------------------------------------------------------------------------------ for-loop [24] 100.0% [28] 2532(49.6%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 finalize-iter! [33] 46.6% gen-rewrites! [35] 22.4% simplify! [34] 16.1% gen-series! [36] 14.9% ------------------------------------------------------------------------------ loop [25] 100.0% [29] 1020(20.0%) 414(8.1%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [58] 59.4% ------------------------------------------------------------------------------ loop [25] 100.0% [30] 396(7.8%) 196(3.8%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [38] 50.5% ------------------------------------------------------------------------------ infer-splitpoints [26] 100.0% [31] 204(4.0%) 0(0.0%) for-loop .../egg-cleanup/src/core/regimes.rkt:47:6 option-on-expr [37] 100.0% ------------------------------------------------------------------------------ loop [25] 100.0% [32] 186(3.6%) 186(3.6%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ------------------------------------------------------------------------------ run-iter! [28] 100.0% [33] 1180(23.1%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [39] 100.0% ------------------------------------------------------------------------------ run-improve47 [20] 33.3% run-iter! [28] 66.7% [34] 612(12.0%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [40] 100.0% ------------------------------------------------------------------------------ run-iter! [28] 100.0% [35] 566(11.1%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [41] 100.0% ------------------------------------------------------------------------------ run-iter! [28] 100.0% [36] 378(7.4%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [42] 100.0% ------------------------------------------------------------------------------ for-loop [31] 100.0% [37] 204(4.0%) 0(0.0%) option-on-expr ...eanup/src/core/regimes.rkt:126:0 sort-context-on-expr [43] 100.0% ------------------------------------------------------------------------------ loop [30] 100.0% [38] 200(3.9%) 200(3.9%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------------------ finalize-iter! [33] 100.0% [39] 1180(23.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [44] 100.0% ------------------------------------------------------------------------------ simplify! [34] 100.0% [40] 612(12.0%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [46] 67.0% loop [47] 33.0% ------------------------------------------------------------------------------ gen-rewrites! [35] 100.0% [41] 566(11.1%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [45] 100.0% ------------------------------------------------------------------------------ gen-series! [36] 100.0% [42] 378(7.4%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [48] 100.0% ------------------------------------------------------------------------------ option-on-expr [37] 100.0% [43] 204(4.0%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 ??? [49] 100.0% ------------------------------------------------------------------------------ ??? [39] 100.0% [44] 1180(23.1%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 errors [57] 51.0% atab-add-altn [50] 49.0% ------------------------------------------------------------------------------ for-loop [41] 100.0% [45] 566(11.1%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [51] 100.0% ------------------------------------------------------------------------------ ??? [40] 100.0% [46] 410(8.0%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [52] 100.0% ------------------------------------------------------------------------------ ??? [40] 5.8% loop [47] 46.5% for-loop [27] 47.7% [47] 386(7.6%) 0(0.0%) loop (unknown source) ??? [56] 47.7% loop [47] 46.5% unpack200 [55] 5.8% ------------------------------------------------------------------------------ for-loop [42] 100.0% [48] 378(7.4%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [53] 100.0% ------------------------------------------------------------------------------ sort-context-on-expr [43] 100.0% [49] 204(4.0%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [54] 100.0% ------------------------------------------------------------------------------ for-loop [44] 100.0% [50] 578(11.3%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [57] 100.0% ------------------------------------------------------------------------------ rewrite-expression-head20 [45] 30.6% matcher [66] 69.4% [51] 566(11.1%) 366(7.2%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [59] 69.4% *rules* [6] 11.8% ------------------------------------------------------------------------------ egraph-run [46] 100.0% [52] 410(8.0%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [60] 100.0% ------------------------------------------------------------------------------ taylor-alt [48] 100.0% [53] 378(7.4%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [58] 100.0% ------------------------------------------------------------------------------ ??? [49] 100.0% [54] 204(4.0%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [61] 100.0% ------------------------------------------------------------------------------ loop [47] 100.0% [55] 202(4.0%) 202(4.0%) unpack200 ...private/arrow-higher-order.rkt:387:44 ------------------------------------------------------------------------------ loop [47] 100.0% [56] 184(3.6%) 0(0.0%) ??? ...es/herbie/egg-cleanup/src/points.rkt:190:26 *bit-width* [62] 100.0% ------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 13.5% atab-add-altn [50] 42.4% for-loop [44] 44.1% [57] 1364(26.7%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [63] 57.6% eval-prog [65] 42.4% ------------------------------------------------------------------------------ loop [14] 6.2% ??? [9] 6.6% location-do [68] 12.8% for-loop [53] 12.8% ??? [29] 61.6% [58] 984(19.3%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [64] 61.6% location-do [68] 12.8% approximate9 [4] 12.8% hash-ref! [69] 12.8% ------------------------------------------------------------------------------ rewriter [51] 100.0% [59] 566(11.1%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [66] 100.0% ------------------------------------------------------------------------------ egraph-add-exprs [52] 100.0% [60] 410(8.0%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [67] 100.0% ------------------------------------------------------------------------------ generic-sort/key [54] 100.0% [61] 204(4.0%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 loop [70] 100.0% ------------------------------------------------------------------------------ ??? [56] 100.0% [62] 184(3.6%) 184(3.6%) *bit-width* ...rbie/egg-cleanup/src/float.rkt:35:0 ------------------------------------------------------------------------------ errors [57] 100.0% [63] 786(15.4%) 402(7.9%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [19] 48.9% ------------------------------------------------------------------------------ ??? [58] 100.0% [64] 606(11.9%) 0(0.0%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [73] 66.7% for-loop [75] 33.3% ------------------------------------------------------------------------------ errors [57] 100.0% [65] 578(11.3%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [71] 100.0% ------------------------------------------------------------------------------ for-loop [11] 50.0% for-loop [59] 50.0% [66] 566(11.1%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [51] 50.0% ------------------------------------------------------------------------------ ??? [60] 100.0% [67] 410(8.0%) 410(8.0%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 ------------------------------------------------------------------------------ location-do [68] 25.7% ??? [58] 74.3% [68] 378(7.4%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [58] 74.3% location-do [68] 25.7% ------------------------------------------------------------------------------ for-loop [15] 12.8% loop [14] 12.8% ??? [18] 16.2% ??? [74] 29.1% ??? [58] 29.1% [69] 378(7.4%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [74] 29.1% ??? [5] 29.1% f62 [76] 16.2% ??? [9] 12.8% parse-loop75 [3] 12.8% ------------------------------------------------------------------------------ copying-mergesort [61] 100.0% [70] 204(4.0%) 0(0.0%) loop ...7.5/collects/racket/private/sort.rkt:96:12 ??? [72] 100.0% ------------------------------------------------------------------------------ eval-const-expr [13] 39.5% eval-prog [65] 60.5% [71] 956(18.7%) 0(0.0%) temp85_0 (unknown source) compile15 [77] 100.0% ------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 49.5% loop [70] 50.5% [72] 404(7.9%) 404(7.9%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ------------------------------------------------------------------------------ sample-multi-bounded [64] 100.0% [73] 404(7.9%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 cons/c [78] 100.0% ------------------------------------------------------------------------------ hash-ref! [69] 100.0% [74] 378(7.4%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [69] 100.0% ------------------------------------------------------------------------------ sample-multi-bounded [64] 100.0% [75] 202(4.0%) 202(4.0%) for-loop ...herbie/egg-cleanup/src/points.rkt:23:4 ------------------------------------------------------------------------------ map [79] 50.0% hash-ref! [69] 50.0% [76] 184(3.6%) 0(0.0%) f62 (unknown source) map [79] 100.0% ------------------------------------------------------------------------------ temp85_0 [71] 100.0% [77] 956(18.7%) 0(0.0%) compile15 (unknown source) temp91_0 [80] 100.0% ------------------------------------------------------------------------------ random-ranges [73] 100.0% [78] 404(7.9%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [81] 100.0% ------------------------------------------------------------------------------ f62 [76] 100.0% [79] 184(3.6%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 f62 [76] 50.0% parse-loop75 [3] 50.0% ------------------------------------------------------------------------------ compile15 [77] 100.0% [80] 956(18.7%) 0(0.0%) temp91_0 (unknown source) compile-top9 [82] 58.6% temp118_0 [84] 41.4% ------------------------------------------------------------------------------ cons/c [78] 100.0% [81] 404(7.9%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [83] 100.0% ------------------------------------------------------------------------------ temp91_0 [80] 100.0% [82] 560(11.0%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [85] 100.0% ------------------------------------------------------------------------------ coerce-contract [81] 100.0% [83] 404(7.9%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [86] 100.0% ------------------------------------------------------------------------------ temp91_0 [80] 100.0% [84] 396(7.8%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [87] 100.0% ------------------------------------------------------------------------------ compile-top9 [82] 100.0% [85] 560(11.0%) 0(0.0%) compile-forms33 (unknown source) for-loop [91] 65.4% loop! [89] 34.6% ------------------------------------------------------------------------------ coerce-contract/f [83] 100.0% [86] 404(7.9%) 404(7.9%) coerce-simple-value ...ract/private/guts.rkt:385:0 ------------------------------------------------------------------------------ temp118_0 [84] 100.0% [87] 396(7.8%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [88] 100.0% ------------------------------------------------------------------------------ expand-capturing-lifts [87] 100.0% [88] 396(7.8%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [90] 100.0% ------------------------------------------------------------------------------ compile-forms33 [85] 100.0% [89] 194(3.8%) 0(0.0%) loop! (unknown source) for-loop [91] 100.0% ------------------------------------------------------------------------------ lambda-clause-expander [88] 16.3% for-loop [91] 83.7% [90] 396(7.8%) 0(0.0%) finish-bodys (unknown source) for-loop [91] 100.0% ------------------------------------------------------------------------------ fallback-loop [17] 3.9% for-loop [91] 6.0% loop! [89] 16.8% *rules* [6] 17.3% finish-bodys [90] 24.4% compile-forms33 [85] 31.7% [91] 1156(22.6%) 596(11.7%) for-loop (unknown source) finish-bodys [90] 20.5% compile5 [92] 16.8% module-uses-strip-extra-inspectorsss [93] 15.9% compile-module-linklet57 [94] 15.7% for-loop [91] 6.0% expand-identifier [7] 2.2% expand-implicit [8] 1.7% ------------------------------------------------------------------------------ for-loop [91] 100.0% [92] 194(3.8%) 0(0.0%) compile5 (unknown source) compile-let13 [95] 100.0% ------------------------------------------------------------------------------ for-loop [91] 100.0% [93] 184(3.6%) 184(3.6%) module-uses-strip-extra-inspectorsss ...wn source) ------------------------------------------------------------------------------ for-loop [91] 100.0% [94] 182(3.6%) 182(3.6%) compile-module-linklet57 (unknown source) ------------------------------------------------------------------------------ compile5 [92] 33.3% compile-let13 [95] 66.7% [95] 194(3.8%) 194(3.8%) compile-let13 (unknown source) compile-let13 [95] 66.7% ------------------------------------------------------------------------------