mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-26 20:23:09 +00:00
Instead of collecting all documents in a big vector and then filtering the vector (twice!) with remove_all_matching(), we now pass a filter callback to documents_in_this_event_loop_matching() and avoid all the extra shuffling work. Saw this stuff hogging ~20% of CPU time when profiling a WebContent process in the middle of a WPT run. |
||
---|---|---|
.. | ||
EventLoop.cpp | ||
EventLoop.h | ||
Task.cpp | ||
Task.h | ||
TaskQueue.cpp | ||
TaskQueue.h |