Profiling results ----------------- Total cpu time observed: 5202ms (out of 5420ms) Number of samples taken: 25 (once every 208ms) ========================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ========================================================================== [1] 5202(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [6] 100.0% -------------------------------------------------------------------------- matcher [71] 100.0% [2] 690(13.3%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [7] 100.0% -------------------------------------------------------------------------- ??? [65] 100.0% [3] 620(11.9%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [8] 65.8% for-loop [9] 34.2% -------------------------------------------------------------------------- rewriter [58] 100.0% [4] 422(8.1%) 0(0.0%) *rules* .../egg-cleanup/src/syntax/rules.rkt:666:0 for-loop [100] 100.0% -------------------------------------------------------------------------- hash-ref! [23] 100.0% [5] 198(3.8%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [10] 100.0% -------------------------------------------------------------------------- ??? [1] 100.0% [6] 5202(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [11] 100.0% -------------------------------------------------------------------------- ??? [2] 100.0% [7] 690(13.3%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [71] 100.0% -------------------------------------------------------------------------- approximate9 [3] 100.0% [8] 408(7.8%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [23] 100.0% -------------------------------------------------------------------------- approximate9 [3] 100.0% [9] 212(4.1%) 0(0.0%) for-loop .../egg-cleanup/src/core/taylor.rkt:30:18 taylor [12] 100.0% -------------------------------------------------------------------------- ??? [5] 100.0% [10] 198(3.8%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 ??? [13] 100.0% -------------------------------------------------------------------------- profile-thunk16 [6] 100.0% [11] 5202(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [14] 100.0% -------------------------------------------------------------------------- taylor [12] 25.1% for-loop [9] 25.1% hash-ref! [23] 49.8% [12] 422(8.1%) 212(4.1%) taylor ...ie/egg-cleanup/src/core/taylor.rkt:170:0 taylor-invert [15] 49.8% taylor [12] 25.1% -------------------------------------------------------------------------- for-loop [10] 100.0% [13] 198(3.8%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:294:19 hash-ref! [23] 100.0% -------------------------------------------------------------------------- for-loop [79] 1.9% run [11] 98.1% [14] 5202(100.0%) 200(3.8%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [16] 51.6% prepare-points-intervals [17] 34.8% eval-errors [19] 4.0% get-final-combination [20] 3.8% ??? [33] 1.9% -------------------------------------------------------------------------- taylor [12] 100.0% [15] 210(4.0%) 0(0.0%) taylor-invert ...cleanup/src/core/taylor.rkt:318:0 first-nonzero-exp [18] 100.0% -------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [16] 2784(53.5%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [21] 100.0% -------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [17] 1810(34.8%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [22] 100.0% -------------------------------------------------------------------------- taylor-invert [15] 100.0% [18] 210(4.0%) 0(0.0%) first-nonzero-exp ...nup/src/core/taylor.rkt:266:0 hash-ref! [23] 100.0% -------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [19] 208(4.0%) 0(0.0%) eval-errors ...ie/egg-cleanup/src/points.rkt:179:0 for-loop [24] 100.0% -------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 100.0% [20] 200(3.8%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [25] 100.0% -------------------------------------------------------------------------- run-improve47 [16] 100.0% [21] 2784(53.5%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [26] 100.0% -------------------------------------------------------------------------- prepare-points-intervals [17] 100.0% [22] 1810(34.8%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 ??? [27] 77.9% loop [30] 22.1% -------------------------------------------------------------------------- ??? [13] 12.1% ??? [32] 12.1% first-nonzero-exp [18] 12.9% ??? [29] 12.9% ??? [65] 25.0% loop [8] 25.0% [23] 408(7.8%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [29] 37.9% f41 [28] 25.0% taylor [12] 12.9% ??? [32] 12.1% ??? [5] 12.1% -------------------------------------------------------------------------- eval-errors [19] 100.0% [24] 208(4.0%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:181:2 ??? [33] 100.0% -------------------------------------------------------------------------- get-final-combination [20] 100.0% [25] 200(3.8%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 for-loop [31] 100.0% -------------------------------------------------------------------------- for-loop [21] 100.0% [26] 2784(53.5%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 finalize-iter! [34] 29.0% gen-rewrites! [35] 24.8% simplify! [36] 23.9% gen-series! [37] 22.3% -------------------------------------------------------------------------- loop [22] 100.0% [27] 1410(27.1%) 0(0.0%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [65] 71.5% do-curry [39] 28.5% -------------------------------------------------------------------------- hash-ref! [23] 100.0% [28] 408(7.8%) 0(0.0%) f41 (unknown source) map [38] 100.0% -------------------------------------------------------------------------- hash-ref! [23] 100.0% [29] 408(7.8%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 ??? [65] 74.3% hash-ref! [23] 25.7% -------------------------------------------------------------------------- loop [22] 100.0% [30] 400(7.7%) 0(0.0%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [33] 100.0% -------------------------------------------------------------------------- infer-splitpoints [25] 100.0% [31] 200(3.8%) 0(0.0%) for-loop .../egg-cleanup/src/core/regimes.rkt:47:6 option-on-expr [40] 100.0% -------------------------------------------------------------------------- hash-ref! [23] 100.0% [32] 198(3.8%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [23] 100.0% -------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14] 24.8% for-loop [24] 25.7% loop [30] 49.5% [33] 808(15.5%) 0(0.0%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [65] 50.5% ??? [47] 24.8% ??? [46] 24.8% -------------------------------------------------------------------------- run-iter! [26] 100.0% [34] 808(15.5%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [41] 100.0% -------------------------------------------------------------------------- run-iter! [26] 100.0% [35] 690(13.3%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [42] 100.0% -------------------------------------------------------------------------- run-iter! [26] 100.0% [36] 666(12.8%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [43] 100.0% -------------------------------------------------------------------------- run-iter! [26] 100.0% [37] 620(11.9%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [44] 100.0% -------------------------------------------------------------------------- f41 [28] 100.0% [38] 408(7.8%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 ??? [45] 51.5% parse-loop75 [49] 48.5% -------------------------------------------------------------------------- ??? [27] 100.0% [39] 402(7.7%) 402(7.7%) do-curry ...-7.5/collects/racket/function.rkt:71:2 -------------------------------------------------------------------------- for-loop [31] 100.0% [40] 200(3.8%) 0(0.0%) option-on-expr ...eanup/src/core/regimes.rkt:126:0 sort-context-on-expr [48] 100.0% -------------------------------------------------------------------------- finalize-iter! [34] 100.0% [41] 808(15.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [50] 100.0% -------------------------------------------------------------------------- gen-rewrites! [35] 100.0% [42] 690(13.3%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [51] 100.0% -------------------------------------------------------------------------- simplify! [36] 100.0% [43] 666(12.8%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [52] 100.0% -------------------------------------------------------------------------- gen-series! [37] 100.0% [44] 620(11.9%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [53] 100.0% -------------------------------------------------------------------------- map [38] 100.0% [45] 210(4.0%) 0(0.0%) ??? ...herbie/egg-cleanup/src/core/reduce.rkt:57:5 for-loop [54] 100.0% -------------------------------------------------------------------------- ??? [33] 100.0% [46] 200(3.8%) 200(3.8%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 -------------------------------------------------------------------------- ??? [33] 100.0% [47] 200(3.8%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-add [55] 100.0% -------------------------------------------------------------------------- option-on-expr [40] 100.0% [48] 200(3.8%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 ??? [56] 100.0% -------------------------------------------------------------------------- map [38] 100.0% [49] 198(3.8%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [57] 100.0% -------------------------------------------------------------------------- ??? [41] 100.0% [50] 808(15.5%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [61] 75.2% errors [66] 24.8% -------------------------------------------------------------------------- for-loop [42] 100.0% [51] 690(13.3%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [58] 100.0% -------------------------------------------------------------------------- ??? [43] 100.0% [52] 666(12.8%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [59] 100.0% -------------------------------------------------------------------------- for-loop [44] 100.0% [53] 620(11.9%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [60] 100.0% -------------------------------------------------------------------------- ??? [45] 100.0% [54] 210(4.0%) 0(0.0%) for-loop ...e/egg-cleanup/src/core/reduce.rkt:58:7 pattern-match [62] 100.0% -------------------------------------------------------------------------- ??? [47] 100.0% [55] 200(3.8%) 0(0.0%) ival-add .../egg-cleanup/src/biginterval.rkt:101:0 bfadd [63] 100.0% -------------------------------------------------------------------------- sort-context-on-expr [48] 100.0% [56] 200(3.8%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [64] 100.0% -------------------------------------------------------------------------- parse-loop75 [49] 100.0% [57] 198(3.8%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 temp85_0 [80] 100.0% -------------------------------------------------------------------------- rewrite-expression-head20 [51] 30.7% matcher [71] 69.3% [58] 690(13.3%) 0(0.0%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [67] 82.3% *rules* [4] 17.7% -------------------------------------------------------------------------- egraph-run [52] 100.0% [59] 666(12.8%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [68] 100.0% -------------------------------------------------------------------------- taylor-alt [53] 100.0% [60] 620(11.9%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [65] 100.0% -------------------------------------------------------------------------- for-loop [50] 100.0% [61] 608(11.7%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [66] 100.0% -------------------------------------------------------------------------- for-loop [54] 100.0% [62] 210(4.0%) 0(0.0%) pattern-match ...cleanup/src/core/matcher.rkt:30:0 for-loop [87] 100.0% -------------------------------------------------------------------------- ival-add [55] 100.0% [63] 200(3.8%) 0(0.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [69] 100.0% -------------------------------------------------------------------------- ??? [56] 100.0% [64] 200(3.8%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 loop [70] 100.0% -------------------------------------------------------------------------- ??? [29] 6.7% location-do [72] 11.9% for-loop [60] 11.9% ??? [33] 20.0% ??? [27] 49.5% [65] 2036(39.1%) 608(11.7%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [73] 29.9% location-do [72] 11.9% approximate9 [3] 11.9% ival-mult [78] 9.8% hash-ref! [23] 6.7% -------------------------------------------------------------------------- for-loop [50] 24.8% atab-add-altn [61] 75.2% [66] 808(15.5%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 eval-prog [74] 75.2% for-loop [79] 24.8% -------------------------------------------------------------------------- rewriter [58] 100.0% [67] 690(13.3%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [71] 87.1% for-loop [76] 12.9% -------------------------------------------------------------------------- egraph-add-exprs [59] 100.0% [68] 666(12.8%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [75] 67.3% egg-run-rules [77] 32.7% -------------------------------------------------------------------------- bfadd [63] 100.0% [69] 200(3.8%) 200(3.8%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------------- generic-sort/key [64] 100.0% [70] 200(3.8%) 200(3.8%) loop ...7.5/collects/racket/private/sort.rkt:96:12 -------------------------------------------------------------------------- for-loop [7] 50.0% for-loop [67] 50.0% [71] 690(13.3%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [58] 50.0% -------------------------------------------------------------------------- location-do [72] 16.9% ??? [65] 83.1% [72] 620(11.9%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [65] 83.1% location-do [72] 16.9% -------------------------------------------------------------------------- ??? [65] 100.0% [73] 608(11.7%) 0(0.0%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [81] 100.0% -------------------------------------------------------------------------- errors [66] 100.0% [74] 608(11.7%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [80] 100.0% -------------------------------------------------------------------------- ??? [68] 100.0% [75] 448(8.6%) 448(8.6%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 -------------------------------------------------------------------------- for-loop [67] 100.0% [76] 268(5.2%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:99:8 fix-up-variables [82] 100.0% -------------------------------------------------------------------------- ??? [68] 100.0% [77] 218(4.2%) 218(4.2%) egg-run-rules ...leanup/src/core/simplify.rkt:99:0 -------------------------------------------------------------------------- ??? [65] 100.0% [78] 200(3.8%) 200(3.8%) ival-mult ...egg-cleanup/src/biginterval.rkt:119:0 -------------------------------------------------------------------------- errors [66] 100.0% [79] 200(3.8%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [14] 100.0% -------------------------------------------------------------------------- eval-const-expr [57] 24.6% eval-prog [74] 75.4% [80] 806(15.5%) 0(0.0%) temp85_0 (unknown source) compile15 [83] 100.0% -------------------------------------------------------------------------- sample-multi-bounded [73] 100.0% [81] 608(11.7%) 402(7.7%) random-ranges .../egg-cleanup/src/common.rkt:171:0 cons/c [85] 33.9% -------------------------------------------------------------------------- for-loop [76] 100.0% [82] 268(5.2%) 0(0.0%) fix-up-variables ...nup/src/core/matcher.rkt:111:2 for-loop [84] 100.0% -------------------------------------------------------------------------- temp85_0 [80] 100.0% [83] 806(15.5%) 0(0.0%) compile15 (unknown source) temp91_0 [86] 100.0% -------------------------------------------------------------------------- fix-up-variables [82] 100.0% [84] 268(5.2%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:42:9 for-loop [87] 100.0% -------------------------------------------------------------------------- random-ranges [81] 100.0% [85] 206(4.0%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 flat-contract? [88] 100.0% -------------------------------------------------------------------------- compile15 [83] 100.0% [86] 806(15.5%) 0(0.0%) temp91_0 (unknown source) temp118_0 [89] 75.4% compile-top9 [91] 24.6% -------------------------------------------------------------------------- pattern-match [62] 43.9% for-loop [84] 56.1% [87] 478(9.2%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:27:9 core457 [90] 100.0% -------------------------------------------------------------------------- cons/c [85] 100.0% [88] 206(4.0%) 206(4.0%) flat-contract? .../contract/private/guts.rkt:129:0 -------------------------------------------------------------------------- temp91_0 [86] 100.0% [89] 608(11.7%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [92] 100.0% -------------------------------------------------------------------------- for-loop [87] 100.0% [90] 478(9.2%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 un-dep/maybe-chaperone [93] 56.1% or/c [94] 43.9% -------------------------------------------------------------------------- temp91_0 [86] 100.0% [91] 198(3.8%) 0(0.0%) compile-top9 (unknown source) extract-namespace-scopes/values [95]100.0% -------------------------------------------------------------------------- temp118_0 [89] 100.0% [92] 608(11.7%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [96] 100.0% -------------------------------------------------------------------------- core457 [90] 100.0% [93] 268(5.2%) 268(5.2%) un-dep/maybe-chaperone ...private/arr-i.rkt:1137:2 -------------------------------------------------------------------------- core457 [90] 100.0% [94] 210(4.0%) 0(0.0%) or/c ...lects/racket/contract/private/orc.rkt:16:2 build-compound-type-name [97] 100.0% -------------------------------------------------------------------------- compile-top9 [91] 100.0% [95] 198(3.8%) 198(3.8%) extract-namespace-scopes/values (unknown source) -------------------------------------------------------------------------- expand-capturing-lifts [92] 100.0% [96] 608(11.7%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [98] 100.0% -------------------------------------------------------------------------- or/c [94] 100.0% [97] 210(4.0%) 0(0.0%) build-compound-type-name ...private/guts.rkt:537:0 contract-struct-name [99] 100.0% -------------------------------------------------------------------------- lambda-clause-expander [96] 23.1% for-loop [100] 76.9% [98] 608(11.7%) 0(0.0%) finish-bodys (unknown source) for-loop [100] 100.0% -------------------------------------------------------------------------- build-compound-type-name [97] 100.0% [99] 210(4.0%) 0(0.0%) contract-struct-name ...ract/private/prop.rkt:98:0 ??? [101] 100.0% -------------------------------------------------------------------------- for-loop [100] 10.1% *rules* [4] 41.0% finish-bodys [98] 48.9% [100] 1030(19.8%) 220(4.2%) for-loop (unknown source) finish-bodys [98] 37.3% ormap [103] 19.6% for-loop [100] 10.1% loop [104] 6.5% add-local-binding!39 [105] 3.2% dispatch-variable [102] 1.8% -------------------------------------------------------------------------- contract-struct-name [99] 100.0% [101] 210(4.0%) 210(4.0%) ??? ...contract/private/arrow-val-first.rkt:1556:0 -------------------------------------------------------------------------- for-loop [100] 100.0% [102] 206(4.0%) 0(0.0%) dispatch-variable (unknown source) substitute-variable6 [106] 100.0% -------------------------------------------------------------------------- for-loop [100] 100.0% [103] 202(3.9%) 0(0.0%) ormap ....5/collects/racket/private/map.rkt:141:13 flag-set? [107] 100.0% -------------------------------------------------------------------------- for-loop [100] 100.0% [104] 202(3.9%) 0(0.0%) loop (unknown source) expand-id-application-form17 [108] 100.0% -------------------------------------------------------------------------- for-loop [100] 100.0% [105] 200(3.8%) 0(0.0%) add-local-binding!39 (unknown source) binding-table-add [109] 100.0% -------------------------------------------------------------------------- dispatch-variable [102] 100.0% [106] 206(4.0%) 206(4.0%) substitute-variable6 (unknown source) -------------------------------------------------------------------------- ormap [103] 100.0% [107] 202(3.9%) 202(3.9%) flag-set? ...erbie/egg-cleanup/src/config.rkt:28:0 -------------------------------------------------------------------------- loop [104] 100.0% [108] 202(3.9%) 0(0.0%) expand-id-application-form17 (unknown source) resolve+shift28 [110] 100.0% -------------------------------------------------------------------------- add-local-binding!39 [105] 100.0% [109] 200(3.8%) 200(3.8%) binding-table-add (unknown source) -------------------------------------------------------------------------- expand-id-application-form17 [108] 100.0% [110] 202(3.9%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [111] 100.0% -------------------------------------------------------------------------- resolve+shift28 [110] 100.0% [111] 202(3.9%) 202(3.9%) fallback-loop (unknown source) --------------------------------------------------------------------------