Commit Graph

91 Commits

Author SHA1 Message Date
Vincent St-Amour
eda3e70670 Use local member names for Optimization Coach public methods. 2012-07-20 18:05:34 -04:00
Vincent St-Amour
fceb3db69c Refactoring. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
6af2e49db3 Delete trailing whitespace. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
f6feff3c51 Optimization Coach should not catch break exceptions. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
7c0ef33bb7 Consistent capitalization with other menu items. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
24b314a40a Only enable Optimization Coach button in Typed Racket.
Other languages can access it through the View menu.

Please merge to release.
2012-07-20 18:05:32 -04:00
Vincent St-Amour
d396b34b2d Disable loop detection heuristic with too many false positives. 2012-07-20 18:05:32 -04:00
Vincent St-Amour
2e594d3606 Change Optimization Coach message. 2012-07-20 18:05:32 -04:00
Robby Findler
3b5eb1da41 add a View menu item for the optimization coach 2012-07-17 13:45:33 -05:00
Vincent St-Amour
1a7c9844ec Disable Optimization Coach in the student languages.
Also disables it for other language menu languages.
2012-07-12 12:42:20 -04:00
Vincent St-Amour
60a0f3b854 Rename Performance Report to Optimization Coach.
The new name is more accurate.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
decdea8806 Refactoring. 2012-07-11 10:59:35 -04:00
Vincent St-Amour
9f12764d25 Have Performance Report popups be trigged by a right-click menu.
Taking over left-click in highlighted regions is bad style.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
c5d9f6a228 Refactoring. 2012-07-11 10:59:35 -04:00
Vincent St-Amour
8b64dc8aef Only highlight text, not empty space at the end of lines.
To play nicer with pop-up menus.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
d48762fa1d Comment on tradeoff. 2012-07-11 10:59:35 -04:00
Vincent St-Amour
895e3a94fa Accept inliner log messages from unsaved editors. 2012-07-11 10:59:35 -04:00
Vincent St-Amour
8eee1265b5 Refactoring / cleanup. 2012-07-11 10:59:35 -04:00
Vincent St-Amour
fb67e5dc4c Allow multiple PR instances for multiple tabs. 2012-07-11 10:59:35 -04:00
Vincent St-Amour
ec90ca5146 Fix comment. 2012-07-11 10:59:35 -04:00
Vincent St-Amour
1d084888fd Filter reports by provenance (TR / mzc).
Can't easily combine with filtering by opt / missed opt, so I dropped it.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
590a93725f Refactoring. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
d350c70c98 Add button to dismiss PR. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
b4fb55dd2e Have PR display options on a separate toolbar. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
e659e188ea Typo. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
fe67b0f31d Count functions with self out-of-fuel, but no unrollings, as loops. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
284d772a95 Don't assume self-inline when in doubt.
This avoids cases where a non-recursive function would be considered
to be unrolled, which makes no sense.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
deaa8f61be Have recommendations for inlining. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
69df0c4969 Display inlining analysis in a more user-friendly fashion. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
3ce4e0d0e7 Fix plural in inliner message. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
d3bad26766 Be more permissive wrt inliner output. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
e87272adb9 Add check-boxes to toggle the filtering. 2012-07-11 10:59:34 -04:00
Vincent St-Amour
31e36f4c6e Allow filtering of reports. 2012-07-11 10:59:33 -04:00
Vincent St-Amour
286cb96569 Separate log generation from log collapsing, to allow filtering in between. 2012-07-11 10:59:33 -04:00
Vincent St-Amour
b4e4797e6a Unrollings are reported separately from successes. 2012-07-11 10:59:33 -04:00
Vincent St-Amour
742fb7844c Detect unrollings of functions in the body of other functions. 2012-07-11 10:59:33 -04:00
Vincent St-Amour
331d47eb09 Remove vestigial file. 2012-07-11 10:59:33 -04:00
Vincent St-Amour
5ad4bb6f15 Use group-by from unstable/list. 2012-07-11 10:59:33 -04:00
Vincent St-Amour
23646f86b9 Add a key argument to group-by. 2012-07-11 10:59:33 -04:00
Vincent St-Amour
42fa91f688 Refactor output formatting. 2012-07-11 10:59:33 -04:00
Vincent St-Amour
b5de31cc1b Move more analysis logic to the post-processing phase.
This makes the analysis much cleaner, since we can do everything when the
whole log is available.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
570c5ef0f4 Log fuel and closure size.
That way, we can detect close calls post facto.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
8e580b5c6f Ignore out-of-fuels with unknown provenance. 2012-07-11 10:59:32 -04:00
Vincent St-Amour
65dda11603 Report unrollings separately. 2012-07-11 10:59:32 -04:00
Vincent St-Amour
87f7a55101 Simplify inlining info printing. 2012-07-11 10:59:32 -04:00
Vincent St-Amour
38b91cf101 Restructure inlining log handling, to make further processing easier. 2012-07-11 10:59:32 -04:00
Vincent St-Amour
a71565e77a Parse inlining location information. 2012-07-11 10:59:32 -04:00
Vincent St-Amour
2b739bd0ff Make log parsing more robust. 2012-07-11 10:59:32 -04:00
Vincent St-Amour
727420ee17 Make sure badness is non-zero any time we report a missed opt.
Also, fix irritant handling.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
24cb6fa0cd Handle cases where the inliner gives us the name, but nothing else.
There's not much we can do with these, but at least we don't error.
2012-07-11 10:59:32 -04:00