1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/cli/bench/testdata
Luca Casonato f3bde1d53b
feat(ext/flash): split upgradeHttp into two APIs (#15557)
This commit splits `Deno.upgradeHttp` into two different APIs, because
the same API is currently overloaded with two different functions. Flash
requests upgrade immediately, with no need to return a `Response`
object. Instead you have to manually write the response to the socket.
Hyper requests only upgrade once a `Response` object has been sent.

These two behaviours are now split into `Deno.upgradeHttp` and
`Deno.upgradeHttpRaw`. The latter is flash only. The former only
supports hyper requests at the moment, but can be updated to support
flash in the future.

Additionally this removes `void | Promise<void>` as valid return types
for the handler function. If one wants to use `Deno.upgradeHttpRaw`,
they will have to type cast the handler signature - the signature is
meant for the 99.99%, and should not be complicated for the 0.01% that
use `Deno.upgradeHttpRaw()`.
2022-08-24 17:40:57 +05:30
..
npm/hono chore(bench): add flash router benchmarks (#15495) 2022-08-19 15:54:54 +05:30
128k.bin chore: rename cli/bench/fixtures to cli/bench/testdata (#13363) 2022-01-13 16:25:20 +01:00
bun_reactdom_ssr.jsx feat(ext/flash): An optimized http/1.1 server (#15405) 2022-08-18 17:35:02 +05:30
code_lens.ts chore: rename cli/bench/fixtures to cli/bench/testdata (#13363) 2022-01-13 16:25:20 +01:00
db.ts chore: rename cli/bench/fixtures to cli/bench/testdata (#13363) 2022-01-13 16:25:20 +01:00
db_messages.json chore: rename cli/bench/fixtures to cli/bench/testdata (#13363) 2022-01-13 16:25:20 +01:00
deno_upgrade_http.js feat(ext/flash): split upgradeHttp into two APIs (#15557) 2022-08-24 17:40:57 +05:30
express-router.js Add LSP benchmark mimicking the one on quick-lint-js (#13365) 2022-01-18 06:58:50 -05:00
initialize_params.json chore: rename cli/bench/fixtures to cli/bench/testdata (#13363) 2022-01-13 16:25:20 +01:00
react-dom.js feat(ext/flash): An optimized http/1.1 server (#15405) 2022-08-18 17:35:02 +05:30