diff options
author | Fedor Indutny <fedor@indutny.com> | 2019-11-19 18:45:41 -0800 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-11-29 16:16:30 +0100 |
commit | a7d031bf5ac9825e5cd645a0a91c4583b7c6f6cd (patch) | |
tree | ae06685e75ae53ad491e9a547f10e7642252bbed /deps/llhttp/README.md | |
parent | b7b39e0b77d4ad16583ecd56ef5c35b081c9cde4 (diff) | |
download | android-node-v8-a7d031bf5ac9825e5cd645a0a91c4583b7c6f6cd.tar.gz android-node-v8-a7d031bf5ac9825e5cd645a0a91c4583b7c6f6cd.tar.bz2 android-node-v8-a7d031bf5ac9825e5cd645a0a91c4583b7c6f6cd.zip |
deps: update llhttp to 2.0.1
Changelog:
* Optional SSE4.2 support (at compile time)
* Lenient mode of operation
PR-URL: https://github.com/nodejs/node/pull/30553
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/llhttp/README.md')
-rw-r--r-- | deps/llhttp/README.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/deps/llhttp/README.md b/deps/llhttp/README.md index 7010b90f7a..c6c0612381 100644 --- a/deps/llhttp/README.md +++ b/deps/llhttp/README.md @@ -14,6 +14,8 @@ This project aims to: * Verifiable * Improving benchmarks where possible +More details in [Fedor Indutny's talk at JSConf EU 2019](https://youtu.be/x3k_5Mi66sY) + ## How? Over time, different approaches for improving [http_parser][0]'s code base @@ -30,11 +32,10 @@ So far llhttp outperforms http_parser: | | input size | bandwidth | reqs/sec | time | |:----------------|-----------:|-------------:|-----------:|--------:| -| **llhttp** _(C)_ | 8192.00 mb | 1497.88 mb/s | 3020458.87 ops/sec | 5.47 s | -| **llhttp** _(bitcode)_ | 8192.00 mb | 1131.75 mb/s | 2282171.24 ops/sec | 7.24 s | +| **llhttp** _(C)_ | 8192.00 mb | 1777.24 mb/s | 3583799.39 ops/sec | 4.61 s | | **http_parser** | 8192.00 mb | 694.66 mb/s | 1406180.33 req/sec | 11.79 s | -llhttp is faster by approximately **116%**. +llhttp is faster by approximately **156%**. ## Maintenance @@ -77,8 +78,6 @@ settings.on_message_complete = handle_on_message_complete; */ llhttp_init(&parser, HTTP_BOTH, &settings); -/* Use `llhttp_set_type(&parser, HTTP_REQUEST);` to override the mode */ - /* Parse request! */ const char* request = "GET / HTTP/1.1\r\n\r\n"; int request_len = strlen(request); |