Bug 167719

Summary: ScriptDebugServer::sourceParsed takes a long time when running the sampling profiler
Product: WebKit Reporter: Keith Miller <keith_miller>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, joepeck
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Keith Miller
Reported 2017-02-01 17:17:19 PST
I noticed this when running the sampling profiler for C code on JSBench amazon/safari.
Attachments
Joseph Pecoraro
Comment 1 2017-02-06 12:15:38 PST
I had a patch a while back that moved this line detection to the parser. However the frontend only treats \n as a newline and the parser treats \r\n and friends, so they differed. I agree this loop entirely through the source is not good and should be eliminated.
Note You need to log in before you can comment on or make changes to this bug.