1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/ext
Matt Mastracci fae10bf3ae
perf(ext/http): Add a sync phase to http serving (#19321)
Under heavy load, we often have requests queued up that don't need an
async call to retrieve. We can use a fast path sync op to drain this set
of ready requests, and then fall back to the async op once we run out of
work.

This is a .5-1% bump in req/s on an M2 mac. About 90% of the handlers go
through this sync phase (based on a simple instrumentation that is not
included in this PR) and skip the async machinery entirely.
2023-06-09 01:13:18 +02:00
..
broadcast_channel 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
cache 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
console 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
crypto 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
fetch 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
ffi 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
fs 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
http perf(ext/http): Add a sync phase to http serving (#19321) 2023-06-09 01:13:18 +02:00
io 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
kv 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
napi 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
net pin enum-as-inner dependency 2023-05-30 02:10:33 +02:00
node 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
tls 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
url 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
web 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
webidl 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
websocket 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00
webstorage 1.34.1 (#19310) 2023-05-30 01:30:46 +02:00