Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions collector/compile-benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ They mostly consist of real-world crates.
- **hyper-0.14.18**: A fairly large crate. Utilizes async/await, and used by
many Rust programs. The crate uses cargo features to enable large portions of its
structure and is built with `--features=client,http1,http2,server,stream`.
- **hyper-1.6.0**: Utilizes async/await, and is used by
many Rust programs. The crate uses cargo features to enable large portions of its structure and is built with `--features=full`.
- **image-0.24.1**: Basic image processing functions and methods for
converting to and from various image formats. Used often in graphics
programming.
Expand Down
5 changes: 5 additions & 0 deletions collector/compile-benchmarks/REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ path = "hyper-0.14.18/**"
SPDX-FileCopyrightText = "hyper contributors"
SPDX-License-Identifier = "MIT"

[[annotations]]
path = "hyper-1.6.0/**"
SPDX-FileCopyrightText = "hyper contributors"
SPDX-License-Identifier = "MIT"

[[annotations]]
path = "image-0.24.1/**"
SPDX-FileCopyrightText = "The image-rs Developers"
Expand Down
6 changes: 6 additions & 0 deletions collector/compile-benchmarks/hyper-1.6.0/.cargo_vcs_info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"git": {
"sha1": "621d8e4d7788bfd2d62d15d40a73efae7f9a0bf0"
},
"path_in_vcs": ""
}
12 changes: 12 additions & 0 deletions collector/compile-benchmarks/hyper-1.6.0/0-println.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/body/incoming.rs b/src/body/incoming.rs
index dcfb71d5..7980cf6f 100644
--- a/src/body/incoming.rs
+++ b/src/body/incoming.rs
@@ -111,6 +111,7 @@ impl Incoming {

#[cfg(all(feature = "http1", any(feature = "client", feature = "server")))]
pub(crate) fn new_channel(content_length: DecodedLength, wanter: bool) -> (Sender, Incoming) {
+ println!("testing");
let (data_tx, data_rx) = mpsc::channel(0);
let (trailers_tx, trailers_rx) = oneshot::channel();

Loading
Loading