[Webkit-unassigned] [Bug 26316] 100% CPU hang for several seconds on large file syntax highlight.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 21 07:34:23 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26316





--- Comment #18 from Patrick Mueller <pmuellr at yahoo.com>  2009-07-21 07:34:22 PDT ---
> "*.js" files are removed in the build script

arghh.  I've added a pointer to this bug in Bug 26272 (a bug I opened asking
for the .js files to stop getting bundled in the build).

Even so, might be better if you created a subdirectory for the worker.  I've
been wondering about organizing the scripts in front-end anyway into a set of
subdirectories.

It appears you are sending each line over to the worker to be processed.  I
suspect, especially for large files, that if this was chunked so you sent 100
or so lines at a time, you'd see some performance improvements.  Assuming the
worker messaging overhead is somewhat significant.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list