diff --git a/benches/end_to_end.rs b/benches/end_to_end.rs index 47aa8ed8..05f508c5 100644 --- a/benches/end_to_end.rs +++ b/benches/end_to_end.rs @@ -145,6 +145,17 @@ fn http2_parallel_x10_req_10mb(b: &mut test::Bencher) { #[bench] fn http2_parallel_x10_req_10kb_100_chunks(b: &mut test::Bencher) { + let body = &[b'x'; 1024 * 10]; + opts() + .http2() + .parallel(10) + .method(Method::POST) + .request_chunks(body, 100) + .bench(b) +} + +#[bench] +fn http2_parallel_x10_req_10kb_100_chunks_max_window(b: &mut test::Bencher) { let body = &[b'x'; 1024 * 10]; opts() .http2()