diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-07 14:38:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 14:38:54 +0200 |
commit | 2865f39bec6da135a2d2d679a65e7ff139131bd7 (patch) | |
tree | ea575143149a97815db7942898074d644b095ecc /cli/tests/import_blob_url_error_stack.ts.out | |
parent | de641838831a90b142eceab5aa9df269084d83cc (diff) |
perf(core.js): introduce promise ring (#9979)
This is another optimization to help improve the baseline overhead
of async ops. It shaves off ~55ns/op or ~7% of the current total
async op overhead.
It achieves these gains by taking advantage of the sequential
nature of promise IDs and optimistically stores them sequentially
in a pre-allocated circular buffer and fallbacks to the promise Map
for slow to resolve promises.
Diffstat (limited to 'cli/tests/import_blob_url_error_stack.ts.out')
0 files changed, 0 insertions, 0 deletions