Open
Bug 1997970
Opened 8 months ago
Updated 7 months ago
Eliminate redundant unwrapping in JS MicroTaskQueue Paths
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mgaudet, Unassigned)
References
(Blocks 1 open bug)
Details
If you look at the path prior to the call to RunAndConsumeJSMicroTask in RunMicroTask you'll see a whole bunch of calls which, passing through MustConsumeMicroTask, end up calling the various *Get helpers on JSMicroTasks.
Looking at the implementations of these, there's a repeated pattern:
- Check if Object
- Unwrap
- do the thing
But this means that we're leaning pretty heavily on the optimizer to remove redundant checks and unwraps. It would be better if we could avoid these by construction.
Updated•7 months ago
|
Severity: -- → N/A
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•