Open
Bug 1410081
Opened 6 years ago
Updated 1 year ago
LabeledEventQueue::HasReadyEvent is slow
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: smaug, Unassigned)
References
(Blocks 1 open bug)
Details
In a Zoom profile HasReadyEvent takes 1% of the time in the main thread in the test case linked in https://bugzilla.mozilla.org/show_bug.cgi?id=1254240#c0. 80% of it is the hashtable iterator.
Reporter | ||
Comment 1•6 years ago
|
||
er, actually the method itself takes most of the time, and then of the rest of the stuff underneath, hashtable iteration is 80%
![]() |
||
Comment 2•6 years ago
|
||
We should at least stop copying the first entry of the queue that we look at on each iteration of the loop. =/
Updated•1 year ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•