deno
95140c38 - perf(install): move HTTP decompression for registry requests off the async event loop (#32400)

Commit
194 days ago
perf(install): move HTTP decompression for registry requests off the async event loop (#32400) Bypass the tower-http `Decompression` middleware for npm registry requests and instead decompress gzip on a blocking thread. This prevents large packument decompression from blocking other HTTP/2 streams on the event loop. This right now doesn't have a huge impact but after a later PR to get more parallelism of downloads it makes a difference
Author
Parents
Loading