Bug 180109 - CodeBlock::~CodeBlock takes 1us on average
Summary: CodeBlock::~CodeBlock takes 1us on average
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 165909
  Show dependency treegraph
 
Reported: 2017-11-28 13:50 PST by Filip Pizlo
Modified: 2017-11-28 13:56 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2017-11-28 13:50:30 PST
It seems like it takes about 1us to destruct a CodeBlock in Speedometer.  That's crazy.

Maybe this is inherent.  In that case, we should consider parallelizing the destruction.  Maybe we should make it easy to parallelize destruction, for those types that don't have to be tied to thread-unsafe ref counting.