Summary: | Profiler should say things about OSR exits | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||||||||||||||||
Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> | ||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||
Severity: | Normal | CC: | barraclough, ggaren, gyuyoung.kim, mark.lam, mhahnenberg, msaboff, oliver, philn, rakuco, sam, webkit-ews, webkit.review.bot, xan.lopez | ||||||||||||||||||
Priority: | P2 | ||||||||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||||||||
Hardware: | All | ||||||||||||||||||||
OS: | All | ||||||||||||||||||||
Attachments: |
|
Description
Filip Pizlo
2012-12-09 15:38:24 PST
Created attachment 178441 [details]
sample profiling session
Shows a sample profiling session where I investigate a code block that has a lot of exits and recompilations. Note how I can see all of the exits that happened just by looking at the bytecode. This is so full of win, I'm really proud of myself. Then I look at the most recent DFG compilation and see that we're exiting because an "undefined" is flowing into something that we statically assume to be a cell.
Created attachment 178442 [details]
the patch
This will cause some of the build systems to puke. I'll fix that shortly.
Created attachment 178443 [details]
the patch
Fix things maybe
Created attachment 178445 [details]
the patch
Rebased.
Created attachment 178446 [details]
sample profiling session
Comment on attachment 178445 [details] the patch Attachment 178445 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/15238252 Comment on attachment 178445 [details] the patch Attachment 178445 [details] did not pass qt-wk2-ews (qt): Output: http://queues.webkit.org/results/15242047 Created attachment 178448 [details]
the patch
More build system fixes.
Attachment 178448 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/CMakeLists.txt', u'S..." exit_code: 1
Source/JavaScriptCore/bytecode/ExitKind.h:46: The parameter name "kind" adds no information, so it should be removed. [readability/parameter_name] [5]
Source/JavaScriptCore/bytecode/ExitKind.h:47: The parameter name "kind" adds no information, so it should be removed. [readability/parameter_name] [5]
Total errors found: 2 in 29 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 178449 [details]
the patch
Fix style
Created attachment 178451 [details]
the patch
ungimp the gtk
Landed in http://trac.webkit.org/changeset/137175 |