summaryrefslogtreecommitdiff
path: root/ext/console/01_console.js
diff options
context:
space:
mode:
authorLaurence Rowe <l@lrowe.co.uk>2023-11-13 11:17:31 -0800
committerGitHub <noreply@github.com>2023-11-13 19:17:31 +0000
commite5819777c3962079a06c3b09bced1945b1c135f7 (patch)
treec925baa676de01f8ca026cb61473e1891a6d8254 /ext/console/01_console.js
parent0209f7b46954d1b7bf923b4191e5a356ec09622c (diff)
refactor(ext/http): Use HttpRecord as response body to track until body completion (#20822)
Use HttpRecord as response body so requests can be tracked all the way to response body completion. This allows Request properties to be accessed while the response body is streaming. Graceful shutdown now awaits a future instead of async spinning waiting for requests to finish. On the minimal benchmark this refactor improves performance an additional 2% over pooling alone for a net 3% increase over the previous deno main branch. Builds upon https://github.com/denoland/deno/pull/20809 and https://github.com/denoland/deno/pull/20770. --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'ext/console/01_console.js')
0 files changed, 0 insertions, 0 deletions