electron/shell
Charles Kerr 0568686340
perf: avoid redundant Promise.GetContext calls (#43609)
refactor: avoid redundant Promise.GetContext calls

Several Promise methods call `GetContext()` multiple times. From looking
at the assembly in obj/electron/electron_lib/promise.o, these redundant
calls are actually being made -- they aren't optmized out.

This PR keeps the return value in a local variable to avoid extra calls.
2024-09-07 23:39:42 -05:00
..
app fix: delete UvTaskRunner's timers only after they're closed (#43561) 2024-09-06 07:16:56 -05:00
browser refactor: NativeWindow::Create() returns a unique_ptr (#43576) 2024-09-06 12:59:32 -04:00
common perf: avoid redundant Promise.GetContext calls (#43609) 2024-09-07 23:39:42 -05:00
renderer perf: use v8::Local<v8::Object> as the key in ObjectCache (#43519) 2024-09-04 22:53:06 -05:00
services/node refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
utility chore: bump chromium to 129.0.6630.0 (main) (#43087) 2024-08-02 09:02:11 -05:00