diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-07-07 22:17:08 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-07 22:17:08 +0530 |
commit | e4870d84be19f4ea768933522eff437f64963730 (patch) | |
tree | 789e83bc1d67754b917874b8f92d4a1227644930 /ext/http/lib.rs | |
parent | 7d022ad11a74710ce46e4ab9f4e57635cae3ed2e (diff) |
perf(ext/node): native vectored write for server streams (#19752)
```
# main
$ ./load_test 10 0.0.0.0 8080 0 0
Using message size of 20 bytes
Running benchmark now...
Msg/sec: 106182.250000
Msg/sec: 110279.750000
^C
# this PR
$ ./load_test 10 0.0.0.0 8080 0 0
Using message size of 20 bytes
Running benchmark now...
Msg/sec: 131632.250000
Msg/sec: 134754.250000
^C
```
Diffstat (limited to 'ext/http/lib.rs')
-rw-r--r-- | ext/http/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs index 1ae156b86..26cbffd1b 100644 --- a/ext/http/lib.rs +++ b/ext/http/lib.rs @@ -120,6 +120,7 @@ deno_core::extension!( http_next::op_http_track, http_next::op_http_upgrade_websocket_next, http_next::op_http_upgrade_raw, + http_next::op_raw_write_vectored, http_next::op_http_try_wait, http_next::op_http_wait, ], |