Bug 10217
| Summary: | [Drosera] Syntax highlighting should be done in the JavaScript engine | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Hatcher <timothy> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | barraclough, contact, mrowe |
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Timothy Hatcher
Syntax highlighting should be done in the engine, for maximum speed. See bug 9632.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
*** Bug 10248 has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
As noted in bug 10248, a 600KB source file can take up to 5 minutes to syntax highligh on a PowerBook. This is obviously far too slow to be usable.
Brian Stiles
I am experiencing this with r39293 (new WebKit inspector, no longer Drosera). I have a 600k Javascript file, and it takes many minutes, with the CPU pegged, for the highlighting to complete.
Is it possible to disable syntax highlighting as a workaround?
Gavin Barraclough
This is no longer valid.