Bug 18577
Summary: | Inspector makes JS slow for all time | ||
---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | aroben, oliver, timothy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 | ||
URL: | http://nerget.com/rayjs/rayjs.html |
Oliver Hunt
Using the web inspector makes JS very slow
Steps to reproduce:
1. Go to http://nerget.com/rayjs/rayjs.html
2. click render
*eat candy until it's complete, it will give you a time*
3. "Inspect Element" on the document to open the inspector
4. close the inspector
5. click render
*eat more candy*
This second run is between 10% and 25% slower than the first :(, but lets continue
6. Open inspector again, switch to resource view, then switch back to element view and mouse over a few elements, then close inspector.
7. click the render option again
this time round i see something in the order of a 50% regression
From now on all JS in that webview will run really really slowly unless you close the tab/window -- other webview appear to be unaffected.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Timothy Hatcher
Fixed in r34072.
Timothy Hatcher
Another fix in r34104.