Bug 177927

Summary: Evaluate the cost of VERBOSE_LOG() in the DFGByteCodeParser
Product: WebKit Reporter: Robin Morisset <rmorisset>
Component: JavaScriptCoreAssignee: Robin Morisset <rmorisset>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 177922    
Bug Blocks:    

Robin Morisset
Reported 2017-10-05 03:00:01 PDT
It is probably not significant since it is a perfectly predictable branch, but it should be measured nonetheless. If the cost of the comparison on every call to VERBOSE_LOG() turns out not to be negligible, the macro should probably be modified to be a no-op in release mode.
Attachments
Robin Morisset
Comment 1 2017-10-09 16:41:23 PDT
After discussing it with Saam, I eventually decided to just make VERBOSE_LOG a no_op in release mode by default, with an easy way to change it. See https://bugs.webkit.org/show_bug.cgi?id=177922 for details.
Note You need to log in before you can comment on or make changes to this bug.