ladybird/Libraries/LibWeb/HTML/EventLoop
Andreas Kling 26f32b11f9 LibWeb: Avoid expensive Vector filtering in event loop
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.
2024-11-24 17:17:01 +01:00
..
EventLoop.cpp LibWeb: Avoid expensive Vector filtering in event loop 2024-11-24 17:17:01 +01:00
EventLoop.h LibWeb: Avoid expensive Vector filtering in event loop 2024-11-24 17:17:01 +01:00
Task.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Task.h LibWeb: Add WebSocket task source 2024-11-15 23:18:10 +01:00
TaskQueue.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
TaskQueue.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00