Profiling results ----------------- Total cpu time observed: 5154ms (out of 5252ms) Number of samples taken: 25 (once every 206ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== [1] 5154(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [10] 100.0% --------------------------------------------------------------------- matcher [58] 100.0% [2] 1084(21.0%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [11] 100.0% --------------------------------------------------------------------- rewriter [49] 100.0% [3] 666(12.9%) 0(0.0%) *rules* .../egg-cleanup/src/syntax/rules.rkt:666:0 for-loop [97] 100.0% --------------------------------------------------------------------- ??? [53] 100.0% [4] 422(8.2%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [13] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [5] 422(8.2%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [14] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [6] 222(4.3%) 0(0.0%) f62 (unknown source) eval-const-expr [12] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [7] 222(4.3%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:301:23 for-loop [15] 100.0% --------------------------------------------------------------------- map [76] 50.0% hash-ref! [60] 50.0% [8] 200(3.9%) 0(0.0%) f41 (unknown source) map [76] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [9] 200(3.9%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 hash-ref! [60] 50.0% ??? [53] 50.0% --------------------------------------------------------------------- ??? [1] 100.0% [10] 5154(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [16] 100.0% --------------------------------------------------------------------- ??? [2] 100.0% [11] 1084(21.0%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [58] 100.0% --------------------------------------------------------------------- parse-loop75 [84] 47.4% f62 [6] 52.6% [12] 422(8.2%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 temp85_0 [69] 100.0% --------------------------------------------------------------------- approximate9 [4] 100.0% [13] 422(8.2%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 ??? [53] 52.6% hash-ref! [60] 47.4% --------------------------------------------------------------------- ??? [5] 100.0% [14] 422(8.2%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 ??? [17] 52.6% hash-ref! [60] 47.4% --------------------------------------------------------------------- ??? [7] 100.0% [15] 222(4.3%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:304:27 hash-ref! [60] 100.0% --------------------------------------------------------------------- profile-thunk16 [10] 100.0% [16] 5154(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [18]100.0% --------------------------------------------------------------------- for-loop [14] 100.0% [17] 222(4.3%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:294:19 hash-ref! [60] 100.0% --------------------------------------------------------------------- for-loop [68] 1.9% run [16] 98.1% [18] 5154(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [19] 45.7% prepare-points-intervals [20] 42.8% eval-errors [21] 3.9% get-final-combination [22] 3.9% errors [55] 1.9% ??? [32] 1.9% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18]100.0% [19] 2354(45.7%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [23] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18]100.0% [20] 2204(42.8%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [24] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18]100.0% [21] 200(3.9%) 0(0.0%) eval-errors ...ie/egg-cleanup/src/points.rkt:179:0 for-loop [25] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18]100.0% [22] 200(3.9%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [26] 100.0% --------------------------------------------------------------------- run-improve47 [19] 100.0% [23] 2354(45.7%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [27] 100.0% --------------------------------------------------------------------- prepare-points-intervals [20] 100.0% [24] 2204(42.8%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 ??? [28] 63.7% loop [29] 36.3% --------------------------------------------------------------------- eval-errors [21] 100.0% [25] 200(3.9%) 200(3.9%) for-loop ...erbie/egg-cleanup/src/points.rkt:181:2 --------------------------------------------------------------------- get-final-combination [22] 100.0% [26] 200(3.9%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 for-loop [30] 100.0% --------------------------------------------------------------------- for-loop [23] 100.0% [27] 2354(45.7%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 gen-rewrites! [31] 46.0% gen-series! [33] 17.9% finalize-iter! [34] 17.8% simplify! [35] 9.5% localize! [36] 8.8% --------------------------------------------------------------------- loop [24] 100.0% [28] 1404(27.2%) 0(0.0%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [53] 85.6% do-curry [37] 14.4% --------------------------------------------------------------------- loop [24] 100.0% [29] 800(15.5%) 0(0.0%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [32] 100.0% --------------------------------------------------------------------- infer-splitpoints [26] 100.0% [30] 200(3.9%) 0(0.0%) for-loop .../egg-cleanup/src/core/regimes.rkt:47:6 option-on-expr [38] 100.0% --------------------------------------------------------------------- run-iter! [27] 100.0% [31] 1084(21.0%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [39] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 19.7% loop [29] 80.3% [32] 996(19.3%) 402(7.8%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [53] 59.6% --------------------------------------------------------------------- run-iter! [27] 100.0% [33] 422(8.2%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [40] 100.0% --------------------------------------------------------------------- run-iter! [27] 100.0% [34] 418(8.1%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [41] 100.0% --------------------------------------------------------------------- run-iter! [27] 100.0% [35] 224(4.3%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [42] 100.0% --------------------------------------------------------------------- run-iter! [27] 100.0% [36] 206(4.0%) 0(0.0%) localize! ...ie/egg-cleanup/src/mainloop.rkt:127:0 localize-error [43] 100.0% --------------------------------------------------------------------- ??? [28] 100.0% [37] 202(3.9%) 202(3.9%) do-curry ...-7.5/collects/racket/function.rkt:71:2 --------------------------------------------------------------------- for-loop [30] 100.0% [38] 200(3.9%) 0(0.0%) option-on-expr ...eanup/src/core/regimes.rkt:126:0 for-loop [44] 100.0% --------------------------------------------------------------------- gen-rewrites! [31] 100.0% [39] 1084(21.0%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [45] 100.0% --------------------------------------------------------------------- gen-series! [33] 100.0% [40] 422(8.2%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [46] 100.0% --------------------------------------------------------------------- finalize-iter! [34] 100.0% [41] 418(8.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [47] 100.0% --------------------------------------------------------------------- simplify! [35] 100.0% [42] 224(4.3%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [48] 100.0% --------------------------------------------------------------------- localize! [36] 100.0% [43] 206(4.0%) 0(0.0%) localize-error ...eanup/src/core/localize.rkt:65:0 hash-ref! [60] 100.0% --------------------------------------------------------------------- option-on-expr [38] 100.0% [44] 200(3.9%) 200(3.9%) for-loop ...gg-cleanup/src/core/regimes.rkt:133:29 --------------------------------------------------------------------- for-loop [39] 100.0% [45] 1084(21.0%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [49] 100.0% --------------------------------------------------------------------- for-loop [40] 100.0% [46] 422(8.2%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [50] 100.0% --------------------------------------------------------------------- ??? [41] 100.0% [47] 418(8.1%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [51] 100.0% --------------------------------------------------------------------- ??? [42] 100.0% [48] 224(4.3%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [52] 100.0% --------------------------------------------------------------------- rewrite-expression-head20 [45] 20.9% matcher [58] 79.1% [49] 1084(21.0%) 0(0.0%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [54] 87.7% *rules* [3] 12.3% --------------------------------------------------------------------- taylor-alt [46] 100.0% [50] 422(8.2%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [53] 100.0% --------------------------------------------------------------------- for-loop [47] 100.0% [51] 418(8.1%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [55] 52.2% override-at-pnts [57] 47.8% --------------------------------------------------------------------- egraph-run [48] 100.0% [52] 224(4.3%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [56] 100.0% --------------------------------------------------------------------- ??? [9] 3.0% loop [13] 3.3% location-do [61] 6.3% for-loop [50] 6.3% ??? [32] 26.8% ??? [28] 54.2% [53] 2218(43.0%) 202(3.9%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [59] 45.1% ival-mult [62] 17.8% mk-ival [67] 9.0% location-do [61] 6.3% approximate9 [4] 6.3% hash-ref! [60] 6.3% --------------------------------------------------------------------- rewriter [49] 100.0% [54] 1084(21.0%) 200(3.9%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [58] 91.4% for-loop [64] 4.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 47.3% atab-add-altn [51] 52.7% [55] 414(8.0%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 eval-prog [65] 52.7% for-loop [68] 47.3% --------------------------------------------------------------------- egraph-add-exprs [52] 100.0% [56] 224(4.3%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [63] 100.0% --------------------------------------------------------------------- atab-add-altn [51] 100.0% [57] 200(3.9%) 0(0.0%) override-at-pnts ...p/src/core/alt-table.rkt:138:0 for-loop [66] 100.0% --------------------------------------------------------------------- for-loop [11] 50.0% for-loop [54] 50.0% [58] 1084(21.0%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [49] 50.0% --------------------------------------------------------------------- ??? [53] 100.0% [59] 1000(19.4%) 600(11.6%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [71] 40.0% --------------------------------------------------------------------- ??? [9] 5.3% loop [13] 5.3% ??? [17] 8.8% for-loop [15] 8.8% for-loop [14] 10.6% ??? [70] 14.1% ??? [53] 14.1% localize-error [43] 32.8% [60] 628(12.2%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 parse-loop30 [73] 32.8% ??? [5] 19.5% ??? [70] 14.1% ??? [9] 10.6% ??? [7] 8.8% f62 [6] 8.8% f41 [8] 5.3% --------------------------------------------------------------------- location-do [61] 26.3% ??? [53] 73.7% [61] 422(8.2%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [53] 73.7% location-do [61] 26.3% --------------------------------------------------------------------- ??? [53] 100.0% [62] 394(7.6%) 194(3.8%) ival-mult ...egg-cleanup/src/biginterval.rkt:119:0 bfadd [90] 50.8% --------------------------------------------------------------------- ??? [56] 100.0% [63] 224(4.3%) 224(4.3%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 --------------------------------------------------------------------- for-loop [54] 100.0% [64] 218(4.2%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:99:8 fix-up-variables [72] 100.0% --------------------------------------------------------------------- errors [55] 100.0% [65] 218(4.2%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [69] 100.0% --------------------------------------------------------------------- override-at-pnts [57] 100.0% [66] 200(3.9%) 200(3.9%) for-loop ...-cleanup/src/core/alt-table.rkt:139:22 --------------------------------------------------------------------- ??? [53] 100.0% [67] 200(3.9%) 0(0.0%) mk-ival ...ie/egg-cleanup/src/biginterval.rkt:65:0 bf [74] 100.0% --------------------------------------------------------------------- errors [55] 100.0% [68] 196(3.8%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [18]100.0% --------------------------------------------------------------------- eval-prog [65] 34.1% eval-const-expr [12] 65.9% [69] 640(12.4%) 0(0.0%) temp85_0 (unknown source) compile15 [75] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [70] 422(8.2%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [60] 100.0% --------------------------------------------------------------------- sample-multi-bounded [59] 100.0% [71] 400(7.8%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 cons/c [79] 50.0% build--> [80] 50.0% --------------------------------------------------------------------- for-loop [64] 100.0% [72] 218(4.2%) 0(0.0%) fix-up-variables ...nup/src/core/matcher.rkt:111:2 pattern-substitute [77] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [73] 206(4.0%) 0(0.0%) parse-loop30 (unknown source) map [76] 100.0% --------------------------------------------------------------------- mk-ival [67] 100.0% [74] 200(3.9%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 ??? [78] 100.0% --------------------------------------------------------------------- temp85_0 [69] 100.0% [75] 640(12.4%) 0(0.0%) compile15 (unknown source) temp91_0 [81] 100.0% --------------------------------------------------------------------- f41 [8] 49.3% parse-loop30 [73] 50.7% [76] 406(7.9%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 loop [82] 50.7% f41 [8] 24.6% parse-loop75 [84] 24.6% --------------------------------------------------------------------- pattern-substitute [77] 50.0% fix-up-variables [72] 50.0% [77] 218(4.2%) 218(4.2%) pattern-substitute ...up/src/core/matcher.rkt:46:0 pattern-substitute [77] 50.0% --------------------------------------------------------------------- bf [74] 100.0% [78] 200(3.9%) 200(3.9%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 --------------------------------------------------------------------- random-ranges [71] 100.0% [79] 200(3.9%) 200(3.9%) cons/c .../racket/contract/private/guts.rkt:500:15 --------------------------------------------------------------------- random-ranges [71] 100.0% [80] 200(3.9%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [83] 100.0% --------------------------------------------------------------------- compile15 [75] 100.0% [81] 640(12.4%) 0(0.0%) temp91_0 (unknown source) compile-top9 [85] 65.9% temp118_0 [86] 34.1% --------------------------------------------------------------------- map [76] 2.8% loop [82] 97.2% [82] 206(4.0%) 0(0.0%) loop ...-7.5/collects/racket/private/map.rkt:40:19 loop [82] 97.2% ??? [87] 2.8% --------------------------------------------------------------------- build--> [80] 100.0% [83] 200(3.9%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [88] 100.0% --------------------------------------------------------------------- map [76] 100.0% [84] 200(3.9%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [12] 100.0% --------------------------------------------------------------------- temp91_0 [81] 100.0% [85] 422(8.2%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [89] 100.0% --------------------------------------------------------------------- temp91_0 [81] 100.0% [86] 218(4.2%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [91] 100.0% --------------------------------------------------------------------- loop [82] 100.0% [87] 206(4.0%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfadd [90] 100.0% --------------------------------------------------------------------- coerce-contract [83] 100.0% [88] 200(3.9%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [92] 100.0% --------------------------------------------------------------------- compile-top9 [85] 100.0% [89] 422(8.2%) 0(0.0%) compile-forms33 (unknown source) for-loop [97] 52.6% loop! [95] 47.4% --------------------------------------------------------------------- ival-mult [62] 49.3% ??? [87] 50.7% [90] 406(7.9%) 0(0.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [93] 100.0% --------------------------------------------------------------------- temp118_0 [86] 100.0% [91] 218(4.2%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [94] 100.0% --------------------------------------------------------------------- coerce-contract/f [88] 100.0% [92] 200(3.9%) 200(3.9%) coerce-simple-value ...ract/private/guts.rkt:385:0 --------------------------------------------------------------------- bfadd [90] 100.0% [93] 406(7.9%) 406(7.9%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 --------------------------------------------------------------------- expand-capturing-lifts [91] 100.0% [94] 218(4.2%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [96] 100.0% --------------------------------------------------------------------- compile-forms33 [89] 100.0% [95] 200(3.9%) 200(3.9%) loop! (unknown source) --------------------------------------------------------------------- lambda-clause-expander [94] 14.3% for-loop [97] 85.7% [96] 218(4.2%) 0(0.0%) finish-bodys (unknown source) for-loop [97] 100.0% --------------------------------------------------------------------- for-loop [97] 2.5% finish-bodys [96] 17.2% compile-forms33 [89] 20.1% *rules* [3] 60.2% [97] 1106(21.5%) 464(9.0%) for-loop (unknown source) compile-module-linklet57 [98] 20.1% ormap [100] 18.3% finish-bodys [96] 14.8% for-loop [97] 2.5% syntax-e [99] 2.5% --------------------------------------------------------------------- for-loop [97] 100.0% [98] 222(4.3%) 222(4.3%) compile-module-linklet57 (unknown source) --------------------------------------------------------------------- for-loop [97] 100.0% [99] 218(4.2%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [101] 100.0% --------------------------------------------------------------------- for-loop [97] 100.0% [100] 202(3.9%) 0(0.0%) ormap ....5/collects/racket/private/map.rkt:141:13 flag-set? [102] 100.0% --------------------------------------------------------------------- syntax-e [99] 100.0% [101] 218(4.2%) 0(0.0%) syntax-e/no-taint (unknown source) loop [103] 100.0% --------------------------------------------------------------------- ormap [100] 100.0% [102] 202(3.9%) 202(3.9%) flag-set? ...erbie/egg-cleanup/src/config.rkt:28:0 --------------------------------------------------------------------- syntax-e/no-taint [101] 100.0% [103] 218(4.2%) 0(0.0%) loop (unknown source) gf [104] 100.0% --------------------------------------------------------------------- loop [103] 100.0% [104] 218(4.2%) 0(0.0%) gf (unknown source) propagation-apply [105] 100.0% --------------------------------------------------------------------- gf [104] 100.0% [105] 218(4.2%) 218(4.2%) propagation-apply (unknown source) ---------------------------------------------------------------------