| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e40876a commit 85062b3
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,7 @@ were tried. However, all of them failed due to resulting significant performance | |||
| 22 | 22 | degradation. | |
| 23 | 23 | ||
| 24 | 24 | This project is a port of [http_parser][0] to TypeScript. [llparse][1] is used | |
| 25 | - to generate the output C and/or bitcode artifacts, which could be compiled and | ||
| 25 | + to generate the output C source file, which could be compiled and | ||
| 26 | 26 | linked with the embedder's program (like [Node.js][7]). | |
| 27 | 27 | ||
| 28 | 28 | ## Performance | |
@@ -31,7 +31,7 @@ So far llhttp outperforms http_parser: | |||
| 31 | 31 | ||
| 32 | 32 | | | input size | bandwidth | reqs/sec | time | | |
| 33 | 33 | |:----------------|-----------:|-------------:|-----------:|--------:| | |
| 34 | - | **llhttp** _(C)_ | 8192.00 mb | 1777.24 mb/s | 3583799.39 ops/sec | 4.61 s | | ||
| 34 | + | **llhttp** | 8192.00 mb | 1777.24 mb/s | 3583799.39 ops/sec | 4.61 s | | ||
| 35 | 35 | | **http_parser** | 8192.00 mb | 694.66 mb/s | 1406180.33 req/sec | 11.79 s | | |
| 36 | 36 | ||
| 37 | 37 | llhttp is faster by approximately **156%**. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | 4 | #define LLHTTP_VERSION_MAJOR 2 | |
| 5 | 5 | #define LLHTTP_VERSION_MINOR 1 | |
| 6 | - #define LLHTTP_VERSION_PATCH 2 | ||
| 6 | + #define LLHTTP_VERSION_PATCH 3 | ||
| 7 | 7 | ||
| 8 | 8 | #ifndef LLHTTP_STRICT_MODE | |
| 9 | 9 | # define LLHTTP_STRICT_MODE 0 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments