1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/ext
David Sherret 661882f10d
perf(http): make heap allocation for path conditional (#26289)
Code:

```js
Deno.serve({ port: 8085 }, request => {
  return new Response(request.url);
});
```

Before:

```
% wrk -d60s http://localhost:8085/path/testing\?testing=5
Running 1m test @ http://localhost:8085/path/testing?testing=5
  2 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    56.01us   18.34us   3.28ms   93.84%
    Req/Sec    81.80k     3.13k   88.26k    90.77%
  9783713 requests in 1.00m, 1.67GB read
Requests/sec: 162789.89
Transfer/sec:     28.41MB
```

After:

```
% wrk -d60s http://localhost:8085/path/testing\?testing=5
Running 1m test @ http://localhost:8085/path/testing?testing=5
  2 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    55.44us   15.20us   2.42ms   90.41%
    Req/Sec    82.71k     2.92k   88.10k    89.93%
  9892916 requests in 1.00m, 1.69GB read
Requests/sec: 164607.06
Transfer/sec:     28.73MB
```
2024-10-16 00:43:20 -04:00
..
broadcast_channel refactor(ext/broadcastchannel): use concrete error type (#26105) 2024-10-12 08:20:17 -07:00
cache refactor(ext/cache): use concrete error type (#26109) 2024-10-12 09:15:10 -07:00
canvas refactor(ext/canvas): use concrete error type (#26111) 2024-10-12 10:00:35 -07:00
console fix(ext/console): apply coloring for console.table (#26280) 2024-10-15 21:36:45 +00:00
cron refactor(ext/cron): use concrete error type (#26135) 2024-10-12 14:23:49 -07:00
crypto 2.0.0 (#26063) 2024-10-08 07:37:28 -07:00
fetch perf(http): cache webidl.converters lookups in ext/fetch/23_response.js (#26256) 2024-10-14 23:25:18 -04:00
ffi refactor(ext/ffi): use concrete error types (#26170) 2024-10-14 15:05:49 -07:00
fs perf: use fast calls for microtask ops (#26236) 2024-10-14 12:31:51 +00:00
http perf(http): make heap allocation for path conditional (#26289) 2024-10-16 00:43:20 -04:00
io refactor(ext/io): use concrete error types (#26187) 2024-10-15 15:36:11 -07:00
kv 2.0.0 (#26063) 2024-10-08 07:37:28 -07:00
napi 2.0.0 (#26063) 2024-10-08 07:37:28 -07:00
net refactor(ext/tls): use concrete error types (#26174) 2024-10-12 16:53:38 -07:00
node fix(ext/node): use primordials in ext/node/polyfills/internal/buffer.mjs (#24993) 2024-10-15 20:32:27 +02:00
tls refactor(ext/tls): use concrete error types (#26174) 2024-10-12 16:53:38 -07:00
url refactor(ext/url): use concrete error types (#26172) 2024-10-14 14:15:31 -07:00
web 2.0.0 (#26063) 2024-10-08 07:37:28 -07:00
webgpu fix(ext/webgpu): allow GL backend on Windows (#26206) 2024-10-14 11:10:27 +05:30
webidl 2.0.0 (#26063) 2024-10-08 07:37:28 -07:00
websocket refactor(ext/tls): use concrete error types (#26174) 2024-10-12 16:53:38 -07:00
webstorage refactor(ext/webstorage): use concrete error types (#26173) 2024-10-14 13:53:17 -07:00