Profiling results ----------------- Total cpu time observed: 4604ms (out of 4792ms) Number of samples taken: 22 (once every 209ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== [1] 4604(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [8] 100.0% ---------------------------------------------------------------------- matcher [70] 100.0% [2] 488(10.6%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [9] 100.0% ---------------------------------------------------------------------- hash-ref! [45] 100.0% [3] 426(9.3%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 ??? [11] 52.1% hash-ref! [45] 47.9% ---------------------------------------------------------------------- ??? [83] 100.0% [4] 426(9.3%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [10] 100.0% ---------------------------------------------------------------------- hash-ref! [45] 100.0% [5] 204(4.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [12] 100.0% ---------------------------------------------------------------------- hash-ref! [45] 100.0% [6] 204(4.4%) 0(0.0%) f41 (unknown source) map [27] 100.0% ---------------------------------------------------------------------- loop [81] 100.0% [7] 200(4.3%) 0(0.0%) expand-id-application-form17 (unknown source) syntax-e/no-taint [13] 100.0% ---------------------------------------------------------------------- ??? [1] 100.0% [8] 4604(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [14] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [9] 488(10.6%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [70] 100.0% ---------------------------------------------------------------------- approximate9 [4] 100.0% [10] 426(9.3%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 ??? [83] 52.1% hash-ref! [45] 47.9% ---------------------------------------------------------------------- ??? [3] 100.0% [11] 222(4.8%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:294:19 hash-ref! [45] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [12] 204(4.4%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 hash-ref! [45] 100.0% ---------------------------------------------------------------------- expand-id-application-form17 [7] 100.0% [13] 200(4.3%) 0(0.0%) syntax-e/no-taint (unknown source) loop [81] 100.0% ---------------------------------------------------------------------- profile-thunk16 [8] 100.0% [14] 4604(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [15] 100.0% ---------------------------------------------------------------------- for-loop [72] 2.4% run [14] 97.6% [15] 4604(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [16] 45.1% prepare-points-intervals [17] 39.3% get-final-combination [18] 8.7% oracle-error [19] 4.5% ??? [37] 2.4% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [16] 2186(47.5%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [20] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [17] 1808(39.3%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [21] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [18] 402(8.7%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [22] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [19] 208(4.5%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [23] 100.0% ---------------------------------------------------------------------- run-improve47 [16] 100.0% [20] 2186(47.5%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [24] 100.0% ---------------------------------------------------------------------- prepare-points-intervals [17] 100.0% [21] 1808(39.3%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 ??? [25] 55.6% loop [26] 44.4% ---------------------------------------------------------------------- get-final-combination [18] 100.0% [22] 402(8.7%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 for-loop [28] 100.0% ---------------------------------------------------------------------- oracle-error [19] 100.0% [23] 208(4.5%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 map [27] 100.0% ---------------------------------------------------------------------- for-loop [20] 100.0% [24] 2186(47.5%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 finalize-iter! [29] 28.5% gen-rewrites! [30] 22.3% simplify! [31] 20.5% gen-series! [33] 19.5% localize! [36] 9.2% ---------------------------------------------------------------------- loop [21] 100.0% [25] 1006(21.9%) 200(4.3%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [83] 80.1% ---------------------------------------------------------------------- loop [21] 100.0% [26] 802(17.4%) 202(4.4%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [37] 49.9% ??? [38] 24.9% ---------------------------------------------------------------------- parse-loop30 [58] 32.9% f41 [6] 33.2% for-loop [23] 33.9% [27] 614(13.3%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 ??? [35] 33.9% parse-loop75 [32] 33.2% hash-ref! [45] 32.9% ---------------------------------------------------------------------- infer-splitpoints [22] 100.0% [28] 402(8.7%) 0(0.0%) for-loop .../egg-cleanup/src/core/regimes.rkt:47:6 option-on-expr [34] 100.0% ---------------------------------------------------------------------- run-iter! [24] 100.0% [29] 622(13.5%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [38] 100.0% ---------------------------------------------------------------------- run-iter! [24] 100.0% [30] 488(10.6%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [39] 100.0% ---------------------------------------------------------------------- run-iter! [24] 100.0% [31] 448(9.7%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [40] 100.0% ---------------------------------------------------------------------- map [27] 47.9% hash-ref! [45] 52.1% [32] 426(9.3%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [41] 100.0% ---------------------------------------------------------------------- run-iter! [24] 100.0% [33] 426(9.3%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [42] 100.0% ---------------------------------------------------------------------- for-loop [28] 100.0% [34] 402(8.7%) 0(0.0%) option-on-expr ...eanup/src/core/regimes.rkt:126:0 sort-context-on-expr [43] 100.0% ---------------------------------------------------------------------- map [27] 100.0% [35] 208(4.5%) 0(0.0%) ??? ...es/herbie/egg-cleanup/src/points.rkt:190:26 ??? [37] 100.0% ---------------------------------------------------------------------- run-iter! [24] 100.0% [36] 202(4.4%) 0(0.0%) localize! ...ie/egg-cleanup/src/mainloop.rkt:127:0 localize-error [44] 100.0% ---------------------------------------------------------------------- ??? [35] 25.1% .../more-scheme.rkt:261:28 [15] 26.7% loop [26] 48.2% [37] 830(18.0%) 0(0.0%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [49] 51.8% ??? [53] 24.1% ??? [83] 24.1% ---------------------------------------------------------------------- loop [26] 24.3% finalize-iter! [29] 75.7% [38] 822(17.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [46] 75.7% ??? [51] 24.3% ---------------------------------------------------------------------- gen-rewrites! [30] 100.0% [39] 488(10.6%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [47] 100.0% ---------------------------------------------------------------------- simplify! [31] 100.0% [40] 448(9.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [48] 100.0% ---------------------------------------------------------------------- parse-loop75 [32] 100.0% [41] 426(9.3%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 temp85_0 [73] 100.0% ---------------------------------------------------------------------- gen-series! [33] 100.0% [42] 426(9.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [50] 100.0% ---------------------------------------------------------------------- option-on-expr [34] 100.0% [43] 402(8.7%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 eval-prog [69] 50.2% ??? [52] 49.8% ---------------------------------------------------------------------- localize! [36] 100.0% [44] 202(4.4%) 0(0.0%) localize-error ...eanup/src/core/localize.rkt:65:0 hash-ref! [45] 100.0% ---------------------------------------------------------------------- ??? [3] 5.4% ??? [57] 5.4% loop [10] 5.4% localize-error [44] 10.7% for-loop [12] 10.8% ??? [11] 17.7% map [27] 21.4% ??? [83] 23.1% [45] 628(13.6%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [3] 23.1% parse-loop30 [58] 21.4% parse-loop75 [32] 17.7% ??? [57] 10.8% ??? [5] 10.8% ??? [59] 10.7% f41 [6] 5.4% ---------------------------------------------------------------------- ??? [38] 100.0% [46] 622(13.5%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 errors [63] 67.8% atab-add-altn [62] 32.2% ---------------------------------------------------------------------- for-loop [39] 100.0% [47] 488(10.6%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [54] 100.0% ---------------------------------------------------------------------- ??? [40] 100.0% [48] 448(9.7%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [55] 100.0% ---------------------------------------------------------------------- ??? [37] 100.0% [49] 430(9.3%) 430(9.3%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 ---------------------------------------------------------------------- for-loop [42] 100.0% [50] 426(9.3%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [56] 100.0% ---------------------------------------------------------------------- ??? [38] 100.0% [51] 200(4.3%) 200(4.3%) ??? ...ects/racket/contract/private/guts.rkt:770:8 ---------------------------------------------------------------------- sort-context-on-expr [43] 100.0% [52] 200(4.3%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [60] 100.0% ---------------------------------------------------------------------- ??? [37] 100.0% [53] 200(4.3%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-add [61] 100.0% ---------------------------------------------------------------------- rewrite-expression-head20 [47] 33.3% matcher [70] 66.7% [54] 488(10.6%) 0(0.0%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [64] 66.7% *rules* [65] 33.3% ---------------------------------------------------------------------- egraph-run [48] 100.0% [55] 448(9.7%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:111:0 ??? [66] 100.0% ---------------------------------------------------------------------- taylor-alt [50] 100.0% [56] 426(9.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [83] 100.0% ---------------------------------------------------------------------- hash-ref! [45] 100.0% [57] 204(4.4%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 hash-ref! [45] 50.0% ??? [83] 50.0% ---------------------------------------------------------------------- hash-ref! [45] 100.0% [58] 202(4.4%) 0(0.0%) parse-loop30 (unknown source) map [27] 100.0% ---------------------------------------------------------------------- hash-ref! [45] 100.0% [59] 202(4.4%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/localize.rkt:22:13 loop [81] 100.0% ---------------------------------------------------------------------- ??? [52] 100.0% [60] 200(4.3%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [67] 100.0% ---------------------------------------------------------------------- ??? [53] 100.0% [61] 200(4.3%) 0(0.0%) ival-add .../egg-cleanup/src/biginterval.rkt:101:0 bfadd [68] 100.0% ---------------------------------------------------------------------- for-loop [46] 100.0% [62] 200(4.3%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [63] 100.0% ---------------------------------------------------------------------- atab-add-altn [62] 32.2% for-loop [46] 67.8% [63] 622(13.5%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 eval-prog [69] 64.3% for-loop [72] 35.7% ---------------------------------------------------------------------- rewriter [54] 100.0% [64] 488(10.6%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [70] 100.0% ---------------------------------------------------------------------- rewriter [54] 100.0% [65] 488(10.6%) 0(0.0%) *rules* .../egg-cleanup/src/syntax/rules.rkt:666:0 for-loop [84] 100.0% ---------------------------------------------------------------------- egraph-add-exprs [55] 100.0% [66] 448(9.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [71] 100.0% ---------------------------------------------------------------------- copying-mergesort [67] 50.0% generic-sort/key [60] 50.0% [67] 200(4.3%) 200(4.3%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [67] 50.0% ---------------------------------------------------------------------- ival-add [61] 100.0% [68] 200(4.3%) 0(0.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [101] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [43] 33.6% errors [63] 66.4% [69] 602(13.1%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [73] 100.0% ---------------------------------------------------------------------- for-loop [9] 50.0% for-loop [64] 50.0% [70] 488(10.6%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [54] 50.0% ---------------------------------------------------------------------- ??? [66] 100.0% [71] 448(9.7%) 448(9.7%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 ---------------------------------------------------------------------- errors [63] 100.0% [72] 222(4.8%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [15] 100.0% ---------------------------------------------------------------------- eval-const-expr [41] 41.4% eval-prog [69] 58.6% [73] 1028(22.3%) 0(0.0%) temp85_0 (unknown source) compile15 [74] 100.0% ---------------------------------------------------------------------- temp85_0 [73] 100.0% [74] 1028(22.3%) 0(0.0%) compile15 (unknown source) temp91_0 [75] 100.0% ---------------------------------------------------------------------- compile15 [74] 100.0% [75] 1028(22.3%) 0(0.0%) temp91_0 (unknown source) temp118_0 [76] 80.4% compile-top9 [77] 19.6% ---------------------------------------------------------------------- temp91_0 [75] 100.0% [76] 826(17.9%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [78] 100.0% ---------------------------------------------------------------------- temp91_0 [75] 100.0% [77] 202(4.4%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [79] 100.0% ---------------------------------------------------------------------- temp118_0 [76] 100.0% [78] 826(17.9%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [80] 73.1% loop [81] 26.9% ---------------------------------------------------------------------- compile-top9 [77] 100.0% [79] 202(4.4%) 0(0.0%) compile-forms33 (unknown source) for-loop [84] 100.0% ---------------------------------------------------------------------- expand-capturing-lifts [78] 100.0% [80] 604(13.1%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [82] 66.2% loop [81] 33.8% ---------------------------------------------------------------------- ??? [59] 0.3% syntax-e/no-taint [13] 12.1% for-loop [84] 12.1% loop [81] 24.1% lambda-clause-expander [80] 24.6% expand-capturing-lifts [78] 26.8% [81] 828(18.0%) 222(4.8%) loop (unknown source) dispatch-transformer41 [85] 24.6% loop [81] 24.1% expand-id-application-form17 [7] 12.1% gf [86] 12.1% ??? [83] 0.3% ---------------------------------------------------------------------- lambda-clause-expander [80] 15.6% for-loop [84] 84.4% [82] 400(8.7%) 0(0.0%) finish-bodys (unknown source) for-loop [84] 100.0% ---------------------------------------------------------------------- ??? [57] 4.2% loop [10] 4.5% location-do [88] 8.7% for-loop [56] 8.7% ??? [37] 12.2% loop [81] 12.4% ??? [25] 49.3% [83] 1634(35.5%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [87] 49.3% bf [96] 12.4% mk-ival [95] 12.2% location-do [88] 8.7% approximate9 [4] 8.7% hash-ref! [45] 8.7% ---------------------------------------------------------------------- for-loop [84] 3.3% compile-forms33 [79] 18.5% finish-bodys [82] 33.4% *rules* [65] 44.8% [84] 1090(23.7%) 0(0.0%) for-loop (unknown source) finish-bodys [82] 28.0% do-curry [89] 26.4% compile-module-linklet57 [91] 18.5% ormap [94] 18.3% loop [81] 3.7% for-loop [84] 3.3% add-local-binding!39 [93] 1.7% ---------------------------------------------------------------------- loop [81] 100.0% [85] 204(4.4%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [90] 100.0% ---------------------------------------------------------------------- loop [81] 100.0% [86] 200(4.3%) 0(0.0%) gf (unknown source) propagation-apply [92] 100.0% ---------------------------------------------------------------------- ??? [83] 100.0% [87] 806(17.5%) 406(8.8%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [97] 49.6% ---------------------------------------------------------------------- ??? [83] 100.0% [88] 426(9.3%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [83] 100.0% ---------------------------------------------------------------------- for-loop [84] 100.0% [89] 288(6.3%) 288(6.3%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ---------------------------------------------------------------------- dispatch-transformer41 [85] 100.0% [90] 204(4.4%) 0(0.0%) apply-transformer52 (unknown source) apply-transformer-in-context [98]100.0% ---------------------------------------------------------------------- for-loop [84] 100.0% [91] 202(4.4%) 202(4.4%) compile-module-linklet57 (unknown source) ---------------------------------------------------------------------- gf [86] 100.0% [92] 200(4.3%) 200(4.3%) propagation-apply (unknown source) ---------------------------------------------------------------------- for-loop [84] 100.0% [93] 200(4.3%) 0(0.0%) add-local-binding!39 (unknown source) binding-table-add [99] 100.0% ---------------------------------------------------------------------- for-loop [84] 100.0% [94] 200(4.3%) 0(0.0%) ormap ....5/collects/racket/private/map.rkt:141:13 flag-set? [100] 100.0% ---------------------------------------------------------------------- ??? [83] 100.0% [95] 200(4.3%) 0(0.0%) mk-ival ...ie/egg-cleanup/src/biginterval.rkt:65:0 bf [96] 100.0% ---------------------------------------------------------------------- mk-ival [95] 49.8% ??? [83] 50.2% [96] 402(8.7%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [101] 50.2% ??? [102] 49.8% ---------------------------------------------------------------------- sample-multi-bounded [87] 100.0% [97] 400(8.7%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 build--> [103] 50.0% cons/c [104] 50.0% ---------------------------------------------------------------------- apply-transformer52 [90] 100.0% [98] 204(4.4%) 204(4.4%) apply-transformer-in-context (unknown source) ---------------------------------------------------------------------- add-local-binding!39 [93] 100.0% [99] 200(4.3%) 200(4.3%) binding-table-add (unknown source) ---------------------------------------------------------------------- ormap [94] 100.0% [100] 200(4.3%) 200(4.3%) flag-set? ...erbie/egg-cleanup/src/config.rkt:28:0 ---------------------------------------------------------------------- bfadd [68] 49.8% bf [96] 50.2% [101] 402(8.7%) 402(8.7%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ---------------------------------------------------------------------- bf [96] 100.0% [102] 200(4.3%) 200(4.3%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ---------------------------------------------------------------------- random-ranges [97] 100.0% [103] 200(4.3%) 200(4.3%) build--> ...act/private/arrow-val-first.rkt:1214:0 ---------------------------------------------------------------------- random-ranges [97] 100.0% [104] 200(4.3%) 200(4.3%) cons/c .../racket/contract/private/guts.rkt:500:15 ----------------------------------------------------------------------