Bug 136799

Summary: Web Inspector: incrementally create gradient and color markers for CodeMirror
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
profiler output none

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