mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 01:22:43 +02:00
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.
11 KiB
11 KiB