Open Bug 1410081 Opened 3 years ago Updated 3 years ago
Event Queue::Has Ready Event is slow
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.
er, actually the method itself takes most of the time, and then of the rest of the stuff underneath, hashtable iteration is 80%
We should at least stop copying the first entry of the queue that we look at on each iteration of the loop. =/
You need to log in before you can comment on or make changes to this bug.