Skip to content

Commit

Permalink
add pipeline (cargo) benchmark result for 3900a23
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 15, 2024
1 parent 03c2e2e commit 0601256
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion dev/bench/data.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
window.BENCHMARK_DATA = {
"lastUpdate": 1728671422936,
"lastUpdate": 1729006133540,
"repoUrl": "https://github.com/hyperium/hyper",
"entries": {
"pipeline": [
Expand Down Expand Up @@ -8762,6 +8762,36 @@ window.BENCHMARK_DATA = {
"unit": "ns/iter"
}
]
},
{
"commit": {
"author": {
"email": "sean@seanmonstar.com",
"name": "Sean McArthur",
"username": "seanmonstar"
},
"committer": {
"email": "sean@seanmonstar.com",
"name": "Sean McArthur",
"username": "seanmonstar"
},
"distinct": true,
"id": "3900a2381b96a7e7f608a5e031b3e90ddcdfcd74",
"message": "perf(http1): improve parsing of sequentially partial messages\n\nIf request headers are received in incremental partial chunks, hyper\nwould restart parsing each time. This is because the HTTP/1 parser is\nstateless, since the most common case is a full message and stateless\nparses faster.\n\nHowever, if continuing to receive more partial chunks of the request,\neach subsequent full parse is slower and slower. Since partial parses is\nless common, we can store a little bit of state to improve performance\nin general.\n\nNow, if a partial request is received, hyper will check for the end of\nthe message quickly, and if not found, simply save the length to allow\nthe next partial chunk to start its search from there. Only once the end\nis found will a fill parse happen.\n\nReported-by: Datong Sun <datong.sun@konghq.com>",
"timestamp": "2024-10-15T08:28:03-07:00",
"tree_id": "c71c7e4fb8dfcac629682e8a830453d4141dea4c",
"url": "https://github.com/hyperium/hyper/commit/3900a2381b96a7e7f608a5e031b3e90ddcdfcd74"
},
"date": 1729006131306,
"tool": "cargo",
"benches": [
{
"name": "hello_world_16",
"value": 48263,
"range": "± 9399.11",
"unit": "ns/iter"
}
]
}
],
"end_to_end": [
Expand Down

0 comments on commit 0601256

Please sign in to comment.