Files
ladybird/Libraries/LibWeb
Andreas Kling 9a6f5f8640 LibWeb: Avoid realm lookup when rejected promises list is empty
notify_about_rejected_promises() is called for every related environment
settings object at the end of every microtask checkpoint. It was
unconditionally reading the realm up front, which showed up at 3.0% self
time in a YouTube playback profile.

This patch moves the realm lookup into the queued task callback, which
happens way less often.
2026-04-24 18:58:48 +02:00
..