Bug 136799 - Web Inspector: incrementally create gradient and color markers for CodeMirror
Summary: Web Inspector: incrementally create gradient and color markers for CodeMirror
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-09-12 23:09 PDT by Brian Burg
Modified: 2016-12-13 15:39 PST (History)
3 users (show)

See Also:


Attachments
profiler output (275.55 KB, image/png)
2014-09-12 23:09 PDT, Brian Burg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2014-09-12 23:09:10 PDT
A source of unresponsiveness when inspecting the inspector is that all the source code markers are created underneath handling of one backend message.

I think it should be straightforward to use requestAnimationFrame to split up marker creation. I haven't looked too hard at the code, but
we could do something like add markers for the region we anticipate to be initially visible, then mark the rest on later frames.
Comment 1 Radar WebKit Bug Importer 2014-09-12 23:09:22 PDT
<rdar://problem/18328570>
Comment 2 Brian Burg 2014-09-12 23:09:53 PDT
Created attachment 238080 [details]
profiler output