Skip to content

Commit 8bc1363

Browse files
authored
Merge pull request #1251 from lqd/update-hyper
Add `hyper-0.14.18` as a new benchmark
2 parents 83bf6b3 + 415ce82 commit 8bc1363

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+25637
-0
lines changed

collector/benchmarks/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ They mostly consist of real-world crates.
2929
- **html5ever**: An HTML parser. Stresses macro parsing code significantly.
3030
- **hyper-2**: A fairly large crate. Utilizes async/await, and used by
3131
many Rust programs.
32+
- **hyper-0.14.18**: A fairly large crate. Utilizes async/await, and used by
33+
many Rust programs. The crate uses cargo features to enable large portions of its
34+
structure and is built with `--features client,http1,http2,server,stream`.
3235
- **image-0.24.1**: Basic image processing functions and methods for
3336
converting to and from various image formats. Used often in graphics
3437
programming.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"git": {
3+
"sha1": "53f15e5870e78b1b44be269310a8a3cc0de14d5c"
4+
},
5+
"path_in_vcs": ""
6+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/body/body.rs b/src/body/body.rs
2+
index 9dc1a034..6f2cb1cf 100644
3+
--- a/src/body/body.rs
4+
+++ b/src/body/body.rs
5+
@@ -140,6 +140,7 @@ impl Body {
6+
}
7+
8+
pub(crate) fn new_channel(content_length: DecodedLength, wanter: bool) -> (Sender, Body) {
9+
+ println!("testing");
10+
let (data_tx, data_rx) = mpsc::channel(0);
11+
let (trailers_tx, trailers_rx) = oneshot::channel();
12+

0 commit comments

Comments
 (0)