Vincent St-Amour
c8d3aea6dd
Rethink profiler integration.
...
Requires the program to manually call the profiler. This dumps the results in
a separate file.
2013-01-11 18:40:18 -05:00
Vincent St-Amour
5bf52e9663
Keep profile entries that come from other files.
...
Otherwise, hot function set is only populated from the current file.
2013-01-11 18:40:18 -05:00
Vincent St-Amour
c7f8eff883
Prune profile info to only keep hot functions.
2013-01-11 18:40:18 -05:00
Vincent St-Amour
f6b60b2f90
Propagate profile information to inlining analysis.
2013-01-11 18:40:18 -05:00
Vincent St-Amour
a1c93f466c
Only keep profile reports from the relevant file.
2013-01-11 18:40:18 -05:00
Vincent St-Amour
9fd9638252
Refactoring.
2013-01-11 18:40:18 -05:00
Vincent St-Amour
4c7e319cd2
Put sandbox management in its own file.
...
To avoid circular dependencies.
2013-01-11 18:40:18 -05:00
Vincent St-Amour
18e4cbbb40
First stab at hooking the profiler up to OC.
...
Profiling is done from inside the eval, to minimize noise.
Use samplers directly, to get access to the profiler's data structures.
2013-01-11 18:40:18 -05:00
Vincent St-Amour
5d4bbfaf6c
Abstract out right file filtering.
2013-01-11 18:40:17 -05:00
Vincent St-Amour
a65d7532f2
Log output generated when OC expands/runs programs.
...
To be consistent with Check Syntax.
2013-01-11 18:40:17 -05:00
Vincent St-Amour
fa2cba1c5b
Abstract out OC sandboxing.
2013-01-11 18:40:17 -05:00
Vincent St-Amour
ac58c45477
Disable optimization of mixed-mode arithmetic that may involve exact 0.
...
Exact 0 turns out to also be a corner case for addition.
At this point, mixed-mode optimizations pretty much only apply for mixes
of floats and literal non-zero non-floats.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
45a3b9f48d
Don't warn about exact arithmetic for inexact numbers.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
93939f45d0
Don't optimize mixed-mode arithmetic if it would change results.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
fb73bc8b0e
Fix partial bounds checking elimination.
...
Closes PR13341.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
a84e04e1e4
Use the regular Racket reader, not TR's.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
ca47b1c693
Be less aggressive about fixnum recommendations.
...
Reduces false positives.
2012-12-04 19:29:15 -05:00
Vincent St-Amour
6d231da14f
Typo.
2012-12-04 19:29:15 -05:00
Vincent St-Amour
e4af200c89
Hide OC control panel if an error occurs during expansion.
2012-12-04 19:29:15 -05:00
Vincent St-Amour
9f9092b762
Fix optimization of unary float subtraction.
...
Closes PR13339.
2012-12-03 19:46:29 -05:00
Vincent St-Amour
e2007abd7a
Heterogenous -> heterogenEous.
...
Found by Ray Racine.
2012-11-20 17:06:51 -05:00
Vincent St-Amour
149d8535eb
More float conversion optimizations.
2012-10-14 15:35:50 -04:00
Vincent St-Amour
758e4ff112
Only recommend dropping exactness in truly inexact contexts.
...
Please merge to release.
2012-10-12 14:42:16 -04:00
Vincent St-Amour
7d317f1e96
Recommend float-specific operations in case of unexpected complex.
...
Please merge to release.
2012-10-09 16:58:04 -04:00
Vincent St-Amour
937c901ce7
Add separator before Optimization Coach right-click menu entry.
2012-10-02 11:24:07 -04:00
Vincent St-Amour
69873c8db8
Fix Optimization Coach's handling of paths with spaces.
2012-10-02 10:45:29 -04:00
Vincent St-Amour
6ba0c1416e
Remove out of date comment.
2012-10-02 10:18:48 -04:00
Vincent St-Amour
61b83045fc
Fix loop detection heuristic based on self-out-of-fuel.
2012-10-02 10:18:48 -04:00
Vincent St-Amour
1975014c55
Remove TR optimizer log key, made redundant by named loggers.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
ab328ea80b
Fix TR tests for new logging system.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
805a6477a7
Use named loggers to tell TR and inliner logs apart.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
251159e64a
Allow launching OC when it's already running.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
39100bd3e3
Fix OC for new logging system.
2012-09-11 13:48:14 -04:00
Sam Tobin-Hochstadt
eed93825ab
Track mutable variables across modules.
2012-08-31 17:45:11 -04:00
Vincent St-Amour
11006d3b5e
Remove OC toolbar when the definitions change.
2012-08-13 16:58:29 -04:00
Vincent St-Amour
958ab7b570
Move definitions copying to its own function.
2012-08-13 16:58:29 -04:00
Vincent St-Amour
8e7484c44c
Add log parsing tests.
2012-08-10 17:09:30 -04:00
Vincent St-Amour
93e2a74f09
Correctly parse Windows paths in Optimization Coach.
...
Closes PR12966.
2012-08-10 17:09:30 -04:00
Eric Dobson
9ed360bb5e
Removed convenience.rkt from typed racket.
2012-08-07 15:50:50 -04:00
Eric Dobson
6dbc054e41
Replaced references to abbrev.rkt with convenience.rkt.
...
Skipped this for subtype.rkt, because of a require loop caused by
lazy-require.
2012-08-07 15:50:50 -04:00
Vincent St-Amour
aba046a92d
Swap unsafe and chaperone-unsafe vector ops in the TR optimizer.
...
Closes PR12969.
2012-08-04 10:32:21 -04:00
Vincent St-Amour
ebd2e35600
Remove accidentally added file.
2012-08-03 14:41:21 -04:00
Vincent St-Amour
a6d5a98b61
Include NaN in all floating-point types.
...
Makes more closure properties hold, but weakens occurrence typing for
some comparisons involving flonums.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
8bceeadaab
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
f50d64b3b2
Fix tab leak.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
144fd5bf05
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
406529c391
Close OC properly from the menu.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
dc6a81ad02
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
57568ae44c
Cleanup.
2012-07-25 16:32:51 -04:00
Vincent St-Amour
0bb133ea51
Move panel to the frame mixin instead of the tab mixin.
2012-07-25 16:32:51 -04:00