Commit Graph

171 Commits

Author SHA1 Message Date
Vincent St-Amour
e59a84dc96 Abstract out popup management. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
46b984a94b Use editor locking. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
b42952a2f4 Use auto-wrapping. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
4e3650005a First stab at using a text% to display messages. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
c5d46449b7 Fix new optimization to use the new loggin facilities. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
c1fe25200b Keep located syntax around so we can use it in the tool. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d2a8a620b1 Call locate-stx at the last minute, to avoid overeager duplicate detection. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
34ccf6a3fb Fix new optimization to use new logging. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
4e0b1bfa3c Fix display of code in popup. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
e736653413 Split tool into multiple files. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d3db388c05 Use locate-stx earlier in the logging process, for nicer display in the tool. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
0ce280da89 Display relevant code in pop-up when there's more than one message. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
604e690982 Fix name. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
f02c65dfcc Deal with overlapping opts/missed opts more nicely. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d146f8c590 Report missed fixnum optimizations. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
bfc4ad4225 Add nicer optimization reporting messages. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
d33c13e0f6 Use various shades of pink/red for highlights depending on the badness. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
47af9d51bc Make performance-report state local, to support multiple files at once. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
092df83c18 Have an icon for performance-report. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
ff5ca8a234 Handle irritants without source location properly. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
00d23a4535 Add the remaining diagnosis messages. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
975cb7ad9d Rewrite TR logging facilities to play nicely with the DrRacket tool. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
d68267cbfa Have a more useful message for float missed opts. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
5ddfcfba9d Circle irritants. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
a134e4ffb7 Have nicer information to present in pop-ups. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
28f51f7376 Clicking on highlighted regions brings up more information. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
5e5fdb2981 Remove redundant optimization reporting. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
65e56ab387 Remove extra keyword argument. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
8d680ced89 Display larger regions for optimizations. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
2ecec626b3 Remove highlights after editing. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
14be886288 Highlight opts and missed-opts in the editor. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
7f3bb5d017 Pass log struct along with the log messages. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
75f62dbdcc Preserve lines and columns. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
c598ae2048 Switch to using get-port-name. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
27f3eb3870 Report optimizations and missed optimizations with the DrRacket tool.
Currently, that just means showing the text that would be shown on the
command line. Eventually, it should highlight code in the editor, and
have tooltips explaining what happened.
2011-07-15 15:04:51 -04:00
Vincent St-Amour
a71a45e41f Relocate TR logging capture. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
101feb8200 Added a button for the performance report tool when in a typed language. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
59a85b3eb2 Add list optimizations. 2011-07-11 15:55:07 -04:00
Vincent St-Amour
a7459c5ee7 Do partial bounds checking elimination for flvector operations. 2011-07-06 18:09:31 -04:00
Vincent St-Amour
60f3074ccd Do the impersonator? check up front. 2011-07-06 18:09:30 -04:00
Vincent St-Amour
979545a90f First stab at optimizing bounds checking. 2011-07-06 18:09:29 -04:00
Matthew Flatt
1160d3df62 remove syntax certificates; add syntax taints 2011-06-29 19:15:48 -06:00
Vincent St-Amour
26b909744c Display irritants nicely. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
e8dcee732e Don't merge missed optimizations repeatedly, which artificially increases badness. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc08b4d401 Display badness of missed optimizations. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
9dbca39cfe Use write instead of display for syntax in logs. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
847e4b2e23 Do duplicate detection at the expanded syntax level, instead of the source level. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fddf189530 Report opts and missed opts in terms of the original programs, not in terms of expanded code. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
86efbc8396 Specify opt or missed opt in the TR log format. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
d9256f2b76 Refactoring. 2011-06-17 18:18:03 -04:00