Profiling results ----------------- Total cpu time observed: 5438ms (out of 5684ms) Number of samples taken: 17 (once every 320ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== run [20] 50.0% [1] 5438(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [11] 50.0% run-improve43 [10] 50.0% ---------------------------------------------------------------------- ??? [58] 100.0% [2] 2282(42.0%) 0(0.0%) approximate9 ...s-cleanup/src/core/taylor.rkt:12:0 loop [13] 57.1% taylor [35] 14.7% simplify [12] 14.6% for-loop [19] 13.6% ---------------------------------------------------------------------- hash-ref! [81] 100.0% [3] 1302(23.9%) 0(0.0%) ??? ...e/various-cleanup/src/core/taylor.rkt:68:15 ??? [58] 62.4% hash-ref! [81] 37.6% ---------------------------------------------------------------------- hash-ref! [81] 100.0% [4] 978(18.0%) 0(0.0%) ??? .../various-cleanup/src/core/taylor.rkt:291:26 for-loop [14] 100.0% ---------------------------------------------------------------------- hash-ref! [81] 100.0% [5] 942(17.3%) 0(0.0%) ??? .../various-cleanup/src/core/taylor.rkt:363:30 hash-ref! [81] 65.6% ??? [23] 34.4% ---------------------------------------------------------------------- matcher [66] 100.0% [6] 658(12.1%) 0(0.0%) ??? ...various-cleanup/src/core/matcher.rkt:130:11 for-loop [15] 100.0% ---------------------------------------------------------------------- hash-ref! [81] 100.0% [7] 634(11.7%) 0(0.0%) ??? .../various-cleanup/src/core/taylor.rkt:301:23 for-loop [16] 100.0% ---------------------------------------------------------------------- taylor [35] 100.0% [8] 336(6.2%) 0(0.0%) taylor-invert ...cleanup/src/core/taylor.rkt:318:0 first-nonzero-exp [17] 100.0% ---------------------------------------------------------------------- match-e [76] 100.0% [9] 324(6.0%) 0(0.0%) for-loop ...ious-cleanup/src/core/ematch.rkt:52:11 for-loop [18] 100.0% ---------------------------------------------------------------------- ??? [1] 100.0% [10] 5438(100.0%) 0(0.0%) run-improve43 ...us-cleanup/src/mainloop.rkt:339:0 for-loop [21] 76.9% simplify! [33] 17.5% setup-prog!34 [26] 5.7% ---------------------------------------------------------------------- ??? [1] 100.0% [11] 5438(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [20] 100.0% ---------------------------------------------------------------------- approximate9 [2] 16.9% hash-ref! [81] 83.1% [12] 1972(36.3%) 0(0.0%) simplify ...rious-cleanup/src/core/reduce.rkt:16:0 parse-loop30 [86] 32.7% f46 [22] 32.2% debug5 [24] 18.3% simplify-node [25] 16.9% ---------------------------------------------------------------------- approximate9 [2] 100.0% [13] 1302(23.9%) 0(0.0%) loop ...e/various-cleanup/src/core/taylor.rkt:87:4 hash-ref! [81] 100.0% ---------------------------------------------------------------------- ??? [4] 100.0% [14] 978(18.0%) 0(0.0%) for-loop ...ous-cleanup/src/core/taylor.rkt:291:52 hash-ref! [81] 68.3% ??? [23] 31.7% ---------------------------------------------------------------------- ??? [6] 100.0% [15] 658(12.1%) 0(0.0%) for-loop ...us-cleanup/src/core/matcher.rkt:132:15 matcher [66] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [16] 634(11.7%) 0(0.0%) for-loop ...ous-cleanup/src/core/taylor.rkt:304:27 hash-ref! [81] 100.0% ---------------------------------------------------------------------- taylor-invert [8] 100.0% [17] 336(6.2%) 0(0.0%) first-nonzero-exp ...nup/src/core/taylor.rkt:266:0 hash-ref! [81] 100.0% ---------------------------------------------------------------------- for-loop [9] 100.0% [18] 324(6.0%) 0(0.0%) for-loop ...ious-cleanup/src/core/ematch.rkt:58:37 match-e [76] 100.0% ---------------------------------------------------------------------- approximate9 [2] 100.0% [19] 310(5.7%) 0(0.0%) for-loop ...ious-cleanup/src/core/taylor.rkt:30:18 taylor [35] 100.0% ---------------------------------------------------------------------- profile-thunk16 [11] 100.0% [20] 5438(100.0%) 0(0.0%) run ...et-7.0/share/pkgs/profile-lib/main.rkt:39:2 ??? [1] 100.0% ---------------------------------------------------------------------- run-improve43 [10] 100.0% [21] 4180(76.9%) 0(0.0%) for-loop ...various-cleanup/src/mainloop.rkt:354:4 run-iter! [27] 100.0% ---------------------------------------------------------------------- map [28] 50.0% simplify [12] 50.0% [22] 634(11.7%) 0(0.0%) f46 ...0/collects/racket/match/compiler.rkt:507:40 map [28] 100.0% ---------------------------------------------------------------------- for-loop [14] 48.9% ??? [5] 51.1% [23] 634(11.7%) 0(0.0%) ??? .../various-cleanup/src/core/taylor.rkt:294:19 hash-ref! [81] 100.0% ---------------------------------------------------------------------- simplify [12] 100.0% [24] 360(6.6%) 0(0.0%) debug5 ...rbie/various-cleanup/src/debug.rkt:102:0 return/no-unsupplied [29] 100.0% ---------------------------------------------------------------------- simplify [12] 100.0% [25] 334(6.1%) 0(0.0%) simplify-node ...-cleanup/src/core/reduce.rkt:48:0 combine-mterms [30] 100.0% ---------------------------------------------------------------------- run-improve43 [10] 100.0% [26] 308(5.7%) 0(0.0%) setup-prog!34 ...ous-cleanup/src/mainloop.rkt:67:0 prepare-points [31] 100.0% ---------------------------------------------------------------------- for-loop [21] 100.0% [27] 4180(76.9%) 0(0.0%) run-iter! ...arious-cleanup/src/mainloop.rkt:320:0 gen-series! [32] 54.6% simplify! [33] 21.9% gen-rewrites! [34] 15.7% localize! [38] 7.8% ---------------------------------------------------------------------- taylor [35] 24.4% parse-loop30 [86] 25.7% f46 [22] 49.9% [28] 1270(23.4%) 0(0.0%) map ...t-7.0/collects/racket/private/map.rkt:35:13 f46 [22] 25.0% taylor [35] 24.4% hash-ref! [81] 17.1% parse-loop30 [86] 12.8% make-multiplication-node [39] 12.2% loop [37] 8.6% ---------------------------------------------------------------------- debug5 [24] 100.0% [29] 360(6.6%) 360(6.6%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 ---------------------------------------------------------------------- simplify-node [25] 100.0% [30] 334(6.1%) 0(0.0%) combine-mterms ...leanup/src/core/reduce.rkt:195:0 for-loop [36] 100.0% ---------------------------------------------------------------------- setup-prog!34 [26] 100.0% [31] 308(5.7%) 0(0.0%) prepare-points ...ous-cleanup/src/points.rkt:166:0 loop [40] 100.0% ---------------------------------------------------------------------- run-iter! [27] 100.0% [32] 2282(42.0%) 0(0.0%) gen-series! ...ious-cleanup/src/mainloop.rkt:153:0 for-loop [41] 100.0% ---------------------------------------------------------------------- run-iter! [27] 49.0% run-improve43 [10] 51.0% [33] 1864(34.3%) 0(0.0%) simplify! ...arious-cleanup/src/mainloop.rkt:217:0 ??? [42] 100.0% ---------------------------------------------------------------------- run-iter! [27] 100.0% [34] 658(12.1%) 0(0.0%) gen-rewrites! ...us-cleanup/src/mainloop.rkt:176:0 for-loop [43] 100.0% ---------------------------------------------------------------------- map [28] 8.0% for-loop [19] 8.0% approximate9 [2] 17.3% taylor [35] 66.7% [35] 646(11.9%) 310(5.7%) taylor ...arious-cleanup/src/core/taylor.rkt:170:0 taylor [35] 66.7% taylor-invert [8] 17.3% map [28] 8.0% ---------------------------------------------------------------------- combine-mterms [30] 100.0% [36] 334(6.1%) 334(6.1%) for-loop ...ious-cleanup/src/core/reduce.rkt:199:5 ---------------------------------------------------------------------- map [28] 1.9% loop [37] 98.1% [37] 326(6.0%) 0(0.0%) loop ...-7.0/collects/racket/private/map.rkt:54:19 loop [37] 98.1% ??? [44] 1.9% ---------------------------------------------------------------------- run-iter! [27] 100.0% [38] 326(6.0%) 0(0.0%) localize! ...arious-cleanup/src/mainloop.rkt:120:0 localize-error [45] 100.0% ---------------------------------------------------------------------- map [28] 100.0% [39] 310(5.7%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:234:0 make-multiplication-subnode [46]100.0% ---------------------------------------------------------------------- prepare-points [31] 100.0% [40] 308(5.7%) 0(0.0%) loop ...erbie/various-cleanup/src/points.rkt:143:4 ??? [47] 100.0% ---------------------------------------------------------------------- gen-series! [32] 100.0% [41] 2282(42.0%) 0(0.0%) for-loop ...various-cleanup/src/mainloop.rkt:160:7 taylor-alt [48] 100.0% ---------------------------------------------------------------------- simplify! [33] 100.0% [42] 1864(34.3%) 0(0.0%) ??? .../various-cleanup/src/core/simplify.rkt:26:0 for-loop [49] 67.7% one-iter [54] 16.2% loop [55] 16.1% ---------------------------------------------------------------------- gen-rewrites! [34] 100.0% [43] 658(12.1%) 0(0.0%) for-loop ...arious-cleanup/src/mainloop.rkt:184:11 rewrite-expression-head20 [50] 100.0% ---------------------------------------------------------------------- loop [37] 100.0% [44] 326(6.0%) 0(0.0%) ??? ...various-cleanup/src/core/localize.rkt:50:36 ulp-difference [51] 100.0% ---------------------------------------------------------------------- localize! [38] 100.0% [45] 326(6.0%) 0(0.0%) localize-error ...eanup/src/core/localize.rkt:57:0 hash-ref! [81] 100.0% ---------------------------------------------------------------------- make-multiplication-node [39] 100.0% [46] 310(5.7%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:244:0 for-loop [52] 100.0% ---------------------------------------------------------------------- loop [40] 100.0% [47] 308(5.7%) 0(0.0%) ??? ...herbie/various-cleanup/src/points.rkt:127:2 ??? [58] 100.0% ---------------------------------------------------------------------- for-loop [41] 100.0% [48] 2282(42.0%) 0(0.0%) taylor-alt ...rious-cleanup/src/mainloop.rkt:139:0 for-loop [53] 100.0% ---------------------------------------------------------------------- ??? [42] 100.0% [49] 1262(23.2%) 0(0.0%) for-loop ...ous-cleanup/src/core/simplify.rkt:35:2 one-iter [54] 51.3% loop [55] 48.7% ---------------------------------------------------------------------- for-loop [43] 100.0% [50] 658(12.1%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [56] 100.0% ---------------------------------------------------------------------- ??? [44] 100.0% [51] 326(6.0%) 0(0.0%) ulp-difference ...rious-cleanup/src/float.rkt:46:0 infer-representation [57] 100.0% ---------------------------------------------------------------------- make-multiplication-subnode [46]100.0% [52] 310(5.7%) 310(5.7%) for-loop ...ious-cleanup/src/core/reduce.rkt:246:3 ---------------------------------------------------------------------- taylor-alt [48] 100.0% [53] 2282(42.0%) 0(0.0%) for-loop ...various-cleanup/src/mainloop.rkt:145:6 ??? [58] 100.0% ---------------------------------------------------------------------- ??? [42] 31.8% for-loop [49] 68.2% [54] 950(17.5%) 0(0.0%) one-iter ...ous-cleanup/src/core/simplify.rkt:92:0 find-matches [60] 65.9% for-loop [62] 34.1% ---------------------------------------------------------------------- ??? [42] 32.8% for-loop [49] 67.2% [55] 914(16.8%) 0(0.0%) loop ...arious-cleanup/src/core/simplify.rkt:158:2 for-loop [61] 67.0% debug-print [63] 33.0% ---------------------------------------------------------------------- rewrite-expression-head20 [50] 29.2% matcher [66] 70.8% [56] 658(12.1%) 0(0.0%) rewriter ...ious-cleanup/src/core/matcher.rkt:90:2 for-loop [59] 100.0% ---------------------------------------------------------------------- ulp-difference [51] 100.0% [57] 326(6.0%) 326(6.0%) infer-representation ...cleanup/src/float.rkt:15:0 ---------------------------------------------------------------------- ??? [47] 11.9% ??? [3] 16.8% location-do [64] 35.7% for-loop [53] 35.7% [58] 2590(47.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:357:33 location-do [64] 35.7% approximate9 [2] 35.7% hash-ref! [81] 16.8% sample-multi-bounded [70] 11.9% ---------------------------------------------------------------------- rewriter [56] 100.0% [59] 658(12.1%) 0(0.0%) for-loop ...ious-cleanup/src/core/matcher.rkt:92:4 matcher [66] 70.8% for-loop [65] 29.2% ---------------------------------------------------------------------- one-iter [54] 100.0% [60] 626(11.5%) 0(0.0%) find-matches ...cleanup/src/core/simplify.rkt:62:0 for-loop [67] 100.0% ---------------------------------------------------------------------- loop [55] 100.0% [61] 612(11.3%) 0(0.0%) for-loop ...us-cleanup/src/core/simplify.rkt:162:4 loop [69] 51.0% for-loop [71] 49.0% ---------------------------------------------------------------------- one-iter [54] 100.0% [62] 324(6.0%) 0(0.0%) for-loop ...us-cleanup/src/core/simplify.rkt:101:2 loop [68] 100.0% ---------------------------------------------------------------------- loop [55] 100.0% [63] 302(5.6%) 302(5.6%) debug-print ...various-cleanup/src/debug.rkt:110:0 ---------------------------------------------------------------------- location-do [64] 44.4% ??? [58] 55.6% [64] 2282(42.0%) 0(0.0%) location-do ...rious-cleanup/src/programs.rkt:64:0 ??? [58] 55.6% location-do [64] 44.4% ---------------------------------------------------------------------- for-loop [59] 100.0% [65] 658(12.1%) 0(0.0%) for-loop ...ious-cleanup/src/core/matcher.rkt:99:8 fix-up-variables [72] 100.0% ---------------------------------------------------------------------- for-loop [15] 50.0% for-loop [59] 50.0% [66] 658(12.1%) 0(0.0%) matcher ...ious-cleanup/src/core/matcher.rkt:118:2 ??? [6] 50.0% rewriter [56] 50.0% ---------------------------------------------------------------------- for-loop [67] 50.0% find-matches [60] 50.0% [67] 626(11.5%) 0(0.0%) for-loop ...ous-cleanup/src/core/simplify.rkt:64:8 for-loop [67] 50.0% match-e [76] 50.0% ---------------------------------------------------------------------- for-loop [62] 100.0% [68] 324(6.0%) 0(0.0%) loop ...arious-cleanup/src/core/simplify.rkt:106:4 apply-match [73] 100.0% ---------------------------------------------------------------------- for-loop [61] 100.0% [69] 312(5.7%) 0(0.0%) loop .../racket-7.0/collects/racket/list.rkt:751:4 expression-cost [74] 100.0% ---------------------------------------------------------------------- ??? [58] 100.0% [70] 308(5.7%) 0(0.0%) sample-multi-bounded ...leanup/src/points.rkt:15:0 loop [75] 100.0% ---------------------------------------------------------------------- for-loop [61] 100.0% [71] 300(5.5%) 300(5.5%) for-loop ...various-cleanup/src/programs.rkt:158:2 ---------------------------------------------------------------------- for-loop [65] 100.0% [72] 658(12.1%) 0(0.0%) fix-up-variables ...nup/src/core/matcher.rkt:111:2 pattern-match [77] 50.5% for-loop [78] 49.5% ---------------------------------------------------------------------- loop [68] 100.0% [73] 324(6.0%) 0(0.0%) apply-match ...-cleanup/src/core/simplify.rkt:71:0 match-e [76] 100.0% ---------------------------------------------------------------------- loop [69] 100.0% [74] 312(5.7%) 0(0.0%) expression-cost ...-cleanup/src/programs.rkt:157:0 compile [79] 100.0% ---------------------------------------------------------------------- sample-multi-bounded [70] 100.0% [75] 308(5.7%) 0(0.0%) loop ...herbie/various-cleanup/src/points.rkt:42:6 random-exp [80] 100.0% ---------------------------------------------------------------------- apply-match [73] 11.4% for-loop [18] 22.7% for-loop [67] 65.9% [76] 950(17.5%) 302(5.6%) match-e ...arious-cleanup/src/core/ematch.rkt:39:0 constant? [84] 34.1% for-loop [9] 22.7% variable? [83] 11.4% ---------------------------------------------------------------------- fix-up-variables [72] 100.0% [77] 332(6.1%) 0(0.0%) pattern-match ...cleanup/src/core/matcher.rkt:30:0 for-loop [82] 100.0% ---------------------------------------------------------------------- fix-up-variables [72] 100.0% [78] 326(6.0%) 0(0.0%) for-loop ...ious-cleanup/src/core/matcher.rkt:42:9 for-loop [82] 100.0% ---------------------------------------------------------------------- expression-cost [74] 100.0% [79] 312(5.7%) 0(0.0%) compile .../various-cleanup/src/programs.rkt:134:0 hash-ref! [81] 100.0% ---------------------------------------------------------------------- loop [75] 100.0% [80] 308(5.7%) 308(5.7%) random-exp ...various-cleanup/src/common.rkt:172:0 ---------------------------------------------------------------------- ??? [5] 3.3% ??? [87] 4.6% for-loop [14] 4.6% compile [79] 4.6% localize-error [45] 4.8% ??? [23] 5.6% ??? [3] 5.9% for-loop [16] 6.9% ??? [85] 8.8% ??? [58] 8.8% loop [13] 8.8% ??? [91] 9.1% map [28] 9.5% first-nonzero-exp [17] 14.8% [81] 2276(41.9%) 312(5.7%) hash-ref! .../racket/private/more-scheme.rkt:376:2 simplify [12] 23.5% ??? [3] 14.7% parse-loop30 [86] 14.3% ??? [91] 9.1% ??? [85] 8.8% ??? [4] 7.3% ??? [7] 6.9% ??? [5] 6.1% ??? [87] 4.6% ---------------------------------------------------------------------- for-loop [78] 49.5% pattern-match [77] 50.5% [82] 658(12.1%) 0(0.0%) for-loop ...ious-cleanup/src/core/matcher.rkt:27:9 fallback-update [88] 100.0% ---------------------------------------------------------------------- match-e [76] 100.0% [83] 324(6.0%) 0(0.0%) variable? ...s-cleanup/src/syntax/syntax.rkt:724:0 ??? [89] 100.0% ---------------------------------------------------------------------- match-e [76] 100.0% [84] 324(6.0%) 0(0.0%) constant? ...s-cleanup/src/syntax/syntax.rkt:721:0 value? [90] 100.0% ---------------------------------------------------------------------- hash-ref! [81] 100.0% [85] 1302(23.9%) 0(0.0%) ??? ...e/various-cleanup/src/core/taylor.rkt:45:15 hash-ref! [81] 100.0% ---------------------------------------------------------------------- map [28] 25.0% hash-ref! [81] 25.2% simplify [12] 49.8% [86] 1294(23.8%) 660(12.1%) parse-loop30 ...s/racket/match/compiler.rkt:418:15 map [28] 25.2% eval-const-expr [92] 23.8% ---------------------------------------------------------------------- hash-ref! [81] 100.0% [87] 668(12.3%) 0(0.0%) ??? .../various-cleanup/src/core/taylor.rkt:328:33 hash-ref! [81] 100.0% ---------------------------------------------------------------------- for-loop [82] 100.0% [88] 658(12.1%) 658(12.1%) fallback-update ...s/racket/private/dict.rkt:115:2 ---------------------------------------------------------------------- variable? [83] 100.0% [89] 324(6.0%) 324(6.0%) ??? ...contract/private/arrow-val-first.rkt:388:18 ---------------------------------------------------------------------- constant? [84] 100.0% [90] 324(6.0%) 324(6.0%) value? ...arious-cleanup/src/syntax/types.rkt:18:0 ---------------------------------------------------------------------- hash-ref! [81] 100.0% [91] 312(5.7%) 0(0.0%) ??? ...rbie/various-cleanup/src/programs.rkt:142:5 hash-ref! [81] 100.0% ---------------------------------------------------------------------- parse-loop30 [86] 100.0% [92] 308(5.7%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:102:0 eval-prog [93] 100.0% ---------------------------------------------------------------------- eval-const-expr [92] 100.0% [93] 308(5.7%) 0(0.0%) eval-prog ...various-cleanup/src/programs.rkt:83:0 temp68_2 [94] 100.0% ---------------------------------------------------------------------- eval-prog [93] 100.0% [94] 308(5.7%) 0(0.0%) temp68_2 (unknown source) compile16 [95] 100.0% ---------------------------------------------------------------------- temp68_2 [94] 100.0% [95] 308(5.7%) 0(0.0%) compile16 (unknown source) temp74_0 [96] 100.0% ---------------------------------------------------------------------- compile16 [95] 100.0% [96] 308(5.7%) 0(0.0%) temp74_0 (unknown source) expand-single [97] 100.0% ---------------------------------------------------------------------- temp74_0 [96] 100.0% [97] 308(5.7%) 0(0.0%) expand-single (unknown source) expand-capturing-lifts [98] 100.0% ---------------------------------------------------------------------- expand-single [97] 100.0% [98] 308(5.7%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [99] 100.0% ---------------------------------------------------------------------- expand-capturing-lifts [98] 100.0% [99] 308(5.7%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [100] 100.0% ---------------------------------------------------------------------- lambda-clause-expander [99] 12.5% for-loop [101] 87.5% [100] 308(5.7%) 0(0.0%) finish-bodys (unknown source) for-loop [101] 100.0% ---------------------------------------------------------------------- for-loop [101] 20.0% finish-bodys [100] 80.0% [101] 308(5.7%) 0(0.0%) for-loop (unknown source) finish-bodys [100] 70.0% for-loop [101] 20.0% add-local-binding!37 [102] 10.0% ---------------------------------------------------------------------- for-loop [101] 100.0% [102] 308(5.7%) 308(5.7%) add-local-binding!37 (unknown source) ----------------------------------------------------------------------