Profiling results ----------------- Total cpu time observed: 7500ms (out of 7736ms) Number of samples taken: 40 (once every 188ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= [1] 7500(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [5] 100.0% ----------------------------------------------------------------------- matcher [62] 100.0% [2] 320(4.3%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [6] 100.0% ----------------------------------------------------------------------- for-loop [93] 100.0% [3] 300(4.0%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [7] 100.0% ----------------------------------------------------------------------- loop [94] 100.0% [4] 180(2.4%) 0(0.0%) ??? ...es/herbie/egg-cleanup/src/points.rkt:190:26 ??? [25] 100.0% ----------------------------------------------------------------------- ??? [1] 100.0% [5] 7500(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ----------------------------------------------------------------------- ??? [2] 100.0% [6] 320(4.3%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [62] 100.0% ----------------------------------------------------------------------- syntax-e [3] 100.0% [7] 300(4.0%) 0(0.0%) syntax-e/no-taint (unknown source) loop [94] 100.0% ----------------------------------------------------------------------- profile-thunk16 [5] 100.0% [8] 7500(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [9] 100.0% ----------------------------------------------------------------------- for-loop [57] 13.6% run [8] 86.4% [9] 7500(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [10] 66.0% prepare-points-intervals [11] 12.6% ??? [25] 12.5% oracle-error [12] 2.4% eval-errors [13] 2.3% get-final-combination [15] 2.0% ulp-difference [14] 1.1% errors [51] 1.1% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [10] 5896(78.6%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [16] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [11] 944(12.6%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [17] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [12] 180(2.4%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [18] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [13] 170(2.3%) 0(0.0%) eval-errors ...ie/egg-cleanup/src/points.rkt:179:0 for-loop [19] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [14] 164(2.2%) 164(2.2%) ulp-difference ...e/egg-cleanup/src/float.rkt:20:0 ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [15] 152(2.0%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [20] 100.0% ----------------------------------------------------------------------- run-improve47 [10] 100.0% [16] 5896(78.6%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [21] 100.0% ----------------------------------------------------------------------- prepare-points-intervals [11] 100.0% [17] 944(12.6%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 ??? [22] 83.7% loop [23] 16.3% ----------------------------------------------------------------------- oracle-error [12] 100.0% [18] 180(2.4%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 loop [94] 100.0% ----------------------------------------------------------------------- eval-errors [13] 100.0% [19] 170(2.3%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:181:2 ??? [25] 100.0% ----------------------------------------------------------------------- get-final-combination [15] 100.0% [20] 152(2.0%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 debug-print [74] 100.0% ----------------------------------------------------------------------- for-loop [16] 100.0% [21] 5896(78.6%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 finalize-iter! [24] 71.7% simplify! [26] 16.5% gen-rewrites! [27] 8.4% gen-series! [28] 3.4% ----------------------------------------------------------------------- loop [17] 100.0% [22] 790(10.5%) 0(0.0%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [52] 100.0% ----------------------------------------------------------------------- loop [17] 100.0% [23] 154(2.1%) 0(0.0%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [25] 100.0% ----------------------------------------------------------------------- run-iter! [21] 100.0% [24] 4226(56.3%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [29] 100.0% ----------------------------------------------------------------------- loop [23] 6.5% for-loop [19] 7.1% ??? [4] 7.6% .../more-scheme.rkt:261:28 [9] 78.9% [25] 2384(31.8%) 334(4.5%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [30] 76.8% ??? [52] 9.2% ----------------------------------------------------------------------- run-iter! [21] 100.0% [26] 972(13.0%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [31] 100.0% ----------------------------------------------------------------------- run-iter! [21] 100.0% [27] 498(6.6%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [32] 64.3% for-loop [34] 35.7% ----------------------------------------------------------------------- run-iter! [21] 100.0% [28] 200(2.7%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [33] 100.0% ----------------------------------------------------------------------- finalize-iter! [24] 100.0% [29] 4226(56.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [35] 100.0% ----------------------------------------------------------------------- ??? [25] 100.0% [30] 1830(24.4%) 1154(15.4%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 return/no-unsupplied [37] 27.4% ??? [41] 9.5% ----------------------------------------------------------------------- simplify! [26] 100.0% [31] 972(13.0%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [36] 100.0% ----------------------------------------------------------------------- gen-rewrites! [27] 100.0% [32] 320(4.3%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [38] 100.0% ----------------------------------------------------------------------- gen-series! [28] 100.0% [33] 200(2.7%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [39] 100.0% ----------------------------------------------------------------------- gen-rewrites! [27] 100.0% [34] 178(2.4%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:208:4 for-loop [40] 100.0% ----------------------------------------------------------------------- ??? [29] 100.0% [35] 4226(56.3%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [42] 49.0% errors [51] 31.0% loop [44] 11.1% loop [46] 5.1% for-loop [49] 3.9% ----------------------------------------------------------------------- ??? [31] 100.0% [36] 972(13.0%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [43] 100.0% ----------------------------------------------------------------------- ??? [30] 100.0% [37] 502(6.7%) 340(4.5%) return/no-unsupplied ...ct/private/arr-i.rkt:566:0 filter [50] 32.3% ----------------------------------------------------------------------- for-loop [32] 100.0% [38] 320(4.3%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [45] 100.0% ----------------------------------------------------------------------- for-loop [33] 100.0% [39] 200(2.7%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [47] 100.0% ----------------------------------------------------------------------- for-loop [34] 100.0% [40] 178(2.4%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:209:6 change-apply [48] 100.0% ----------------------------------------------------------------------- ??? [30] 100.0% [41] 174(2.3%) 174(2.3%) ??? ...ects/racket/contract/private/guts.rkt:770:8 ----------------------------------------------------------------------- for-loop [35] 100.0% [42] 2070(27.6%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [51] 79.1% override-at-pnts [54] 20.9% ----------------------------------------------------------------------- egraph-run [36] 100.0% [43] 972(13.0%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [53] 82.3% loop [94] 17.7% ----------------------------------------------------------------------- for-loop [35] 100.0% [44] 468(6.2%) 468(6.2%) loop ...-7.5/collects/racket/private/hash.rkt:20:4 ----------------------------------------------------------------------- matcher [62] 50.0% rewrite-expression-head20 [38] 50.0% [45] 320(4.3%) 158(2.1%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [55] 75.3% ----------------------------------------------------------------------- for-loop [35] 100.0% [46] 216(2.9%) 216(2.9%) loop ...e/egg-cleanup/src/core/alt-table.rkt:177:2 ----------------------------------------------------------------------- taylor-alt [39] 100.0% [47] 200(2.7%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [52] 100.0% ----------------------------------------------------------------------- for-loop [40] 100.0% [48] 178(2.4%) 0(0.0%) change-apply ...-cleanup/src/core/matcher.rkt:70:0 pattern-substitute [56] 100.0% ----------------------------------------------------------------------- for-loop [35] 100.0% [49] 164(2.2%) 164(2.2%) for-loop ...g-cleanup/src/core/alt-table.rkt:119:2 ----------------------------------------------------------------------- return/no-unsupplied [37] 100.0% [50] 162(2.2%) 162(2.2%) filter ...5/collects/racket/private/list.rkt:256:2 ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 5.1% for-loop [35] 42.1% atab-add-altn [42] 52.8% [51] 3104(41.4%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [57] 65.9% eval-prog [58] 34.1% ----------------------------------------------------------------------- location-do [64] 8.3% for-loop [47] 8.3% ??? [25] 18.2% ??? [22] 65.3% [52] 1210(16.1%) 538(7.2%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [60] 39.0% location-do [64] 8.3% approximate9 [63] 8.3% ----------------------------------------------------------------------- egraph-add-exprs [43] 100.0% [53] 800(10.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [59] 100.0% ----------------------------------------------------------------------- atab-add-altn [42] 100.0% [54] 432(5.8%) 0(0.0%) override-at-pnts ...p/src/core/alt-table.rkt:138:0 for-loop [61] 100.0% ----------------------------------------------------------------------- rewriter [45] 100.0% [55] 320(4.3%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [62] 74.7% for-loop [65] 25.3% ----------------------------------------------------------------------- pattern-substitute [56] 50.0% change-apply [48] 50.0% [56] 178(2.4%) 178(2.4%) pattern-substitute ...up/src/core/matcher.rkt:46:0 pattern-substitute [56] 50.0% ----------------------------------------------------------------------- errors [51] 100.0% [57] 2044(27.3%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [9] 100.0% ----------------------------------------------------------------------- errors [51] 100.0% [58] 1060(14.1%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 eval [66] 42.6% temp85_0 [67] 42.5% hash-ref! [71] 14.9% ----------------------------------------------------------------------- ??? [53] 100.0% [59] 800(10.7%) 800(10.7%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 ----------------------------------------------------------------------- ??? [52] 100.0% [60] 472(6.3%) 164(2.2%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [68] 65.3% ----------------------------------------------------------------------- override-at-pnts [54] 100.0% [61] 432(5.8%) 432(5.8%) for-loop ...-cleanup/src/core/alt-table.rkt:139:22 ----------------------------------------------------------------------- for-loop [6] 50.0% for-loop [55] 50.0% [62] 320(4.3%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [45] 50.0% ----------------------------------------------------------------------- ??? [52] 100.0% [63] 200(2.7%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 taylor [69] 100.0% ----------------------------------------------------------------------- ??? [52] 33.3% location-do [64] 66.7% [64] 200(2.7%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 location-do [64] 66.7% ??? [52] 33.3% ----------------------------------------------------------------------- for-loop [55] 100.0% [65] 162(2.2%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:99:8 fix-up-variables [70] 100.0% ----------------------------------------------------------------------- eval-prog [58] 100.0% [66] 452(6.0%) 0(0.0%) eval (unknown source) namespace-syntax-introduce3 [72] 100.0% ----------------------------------------------------------------------- eval-prog [58] 100.0% [67] 450(6.0%) 0(0.0%) temp85_0 (unknown source) compile15 [73] 100.0% ----------------------------------------------------------------------- sample-multi-bounded [60] 100.0% [68] 308(4.1%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 build--> [75] 100.0% ----------------------------------------------------------------------- taylor [69] 50.0% approximate9 [63] 50.0% [69] 200(2.7%) 0(0.0%) taylor ...ie/egg-cleanup/src/core/taylor.rkt:170:0 taylor [69] 50.0% debug-print [74] 50.0% ----------------------------------------------------------------------- for-loop [65] 100.0% [70] 162(2.2%) 0(0.0%) fix-up-variables ...nup/src/core/matcher.rkt:111:2 for-loop [76] 100.0% ----------------------------------------------------------------------- eval-prog [58] 33.3% loop [94] 66.7% [71] 158(2.1%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [77] 100.0% ----------------------------------------------------------------------- eval [66] 100.0% [72] 452(6.0%) 0(0.0%) namespace-syntax-introduce3 (unknown source) for-loop [93] 100.0% ----------------------------------------------------------------------- temp85_0 [67] 100.0% [73] 450(6.0%) 0(0.0%) compile15 (unknown source) temp91_0 [78] 100.0% ----------------------------------------------------------------------- infer-splitpoints [20] 43.2% taylor [69] 56.8% [74] 352(4.7%) 0(0.0%) debug-print ...bie/egg-cleanup/src/debug.rkt:110:0 ??? [79] 56.8% for-loop [83] 43.2% ----------------------------------------------------------------------- random-ranges [68] 100.0% [75] 308(4.1%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [82] 50.0% chaperone-contract? [81] 50.0% ----------------------------------------------------------------------- fix-up-variables [70] 100.0% [76] 162(2.2%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:42:9 for-loop [80] 100.0% ----------------------------------------------------------------------- hash-ref! [71] 100.0% [77] 158(2.1%) 0(0.0%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:177:5 loop [94] 100.0% ----------------------------------------------------------------------- compile15 [73] 100.0% [78] 450(6.0%) 0(0.0%) temp91_0 (unknown source) temp118_0 [84] 100.0% ----------------------------------------------------------------------- debug-print [74] 100.0% [79] 200(2.7%) 200(2.7%) ??? .../contract/private/arrow-val-first.rkt:555:3 ----------------------------------------------------------------------- for-loop [76] 100.0% [80] 162(2.2%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:27:9 core457 [85] 100.0% ----------------------------------------------------------------------- build--> [75] 100.0% [81] 154(2.1%) 154(2.1%) chaperone-contract? ...ract/private/guts.rkt:135:0 ----------------------------------------------------------------------- build--> [75] 100.0% [82] 154(2.1%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [86] 100.0% ----------------------------------------------------------------------- debug-print [74] 100.0% [83] 152(2.0%) 0(0.0%) for-loop ...herbie/egg-cleanup/src/debug.rkt:116:2 write-proc [87] 100.0% ----------------------------------------------------------------------- temp91_0 [78] 100.0% [84] 450(6.0%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [88] 100.0% ----------------------------------------------------------------------- for-loop [80] 100.0% [85] 162(2.2%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 arrow-higher-order:lnp [89] 100.0% ----------------------------------------------------------------------- coerce-contract [82] 100.0% [86] 154(2.1%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [90] 100.0% ----------------------------------------------------------------------- for-loop [83] 100.0% [87] 152(2.0%) 152(2.0%) write-proc ...gg-cleanup/src/core/regimes.rkt:15:9 ----------------------------------------------------------------------- temp118_0 [84] 100.0% [88] 450(6.0%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [91] 100.0% ----------------------------------------------------------------------- core457 [85] 100.0% [89] 162(2.2%) 162(2.2%) arrow-higher-order:lnp ...w-higher-order.rkt:673:7 ----------------------------------------------------------------------- coerce-contract/f [86] 100.0% [90] 154(2.1%) 154(2.1%) coerce-simple-value ...ract/private/guts.rkt:385:0 ----------------------------------------------------------------------- expand-capturing-lifts [88] 100.0% [91] 450(6.0%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [92] 100.0% ----------------------------------------------------------------------- lambda-clause-expander [91] 8.0% for-loop [93] 92.0% [92] 450(6.0%) 0(0.0%) finish-bodys (unknown source) for-loop [93] 100.0% ----------------------------------------------------------------------- for-loop [93] 2.2% finish-bodys [92] 47.7% namespace-syntax-introduce3 [72] 50.1% [93] 902(12.0%) 452(6.0%) for-loop (unknown source) finish-bodys [92] 43.9% for-loop [93] 2.2% syntax-e [3] 2.2% loop [94] 1.7% ----------------------------------------------------------------------- egraph-add-exprs [43] 1.0% for-loop [18] 9.4% for-loop [93] 15.6% ??? [77] 16.5% loop [94] 26.3% syntax-e/no-taint [7] 31.2% [94] 960(12.8%) 330(4.4%) loop (unknown source) gf [95] 31.2% loop [94] 26.3% expand-id-application-form17 [96] 15.6% hash-ref! [71] 11.0% ??? [4] 9.4% ----------------------------------------------------------------------- loop [94] 100.0% [95] 300(4.0%) 0(0.0%) gf (unknown source) propagation-apply [97] 100.0% ----------------------------------------------------------------------- loop [94] 100.0% [96] 150(2.0%) 0(0.0%) expand-id-application-form17 (unknown source) resolve+shift28 [98] 100.0% ----------------------------------------------------------------------- gf [95] 100.0% [97] 300(4.0%) 300(4.0%) propagation-apply (unknown source) ----------------------------------------------------------------------- expand-id-application-form17 [96]100.0% [98] 150(2.0%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [99] 100.0% ----------------------------------------------------------------------- resolve+shift28 [98] 100.0% [99] 150(2.0%) 150(2.0%) fallback-loop (unknown source) -----------------------------------------------------------------------