Skip to content

Commit 467b2ee

Browse files
CopilotVaiz
authored andcommitted
fix: keep default file output in alloc_tracker bench sessions
1 parent e126cea commit 467b2ee

15 files changed

Lines changed: 15 additions & 15 deletions

File tree

crates/bytesbuf/benches/buf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const MANY_SPANS: usize = 32;
3232

3333
#[expect(clippy::too_many_lines, reason = "Is fine - lots of benchmarks to do!")]
3434
fn entrypoint(c: &mut Criterion) {
35-
let allocs = Session::new().no_file();
35+
let allocs = Session::new();
3636

3737
let memory = TransparentMemory::new();
3838

crates/bytesbuf/benches/bytesbuf_vs_bytes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const WORKING_SLICE_LEN: usize = 256;
3434

3535
#[expect(clippy::too_many_lines, reason = "Is fine - lots of benchmarks to do!")]
3636
fn entrypoint(c: &mut Criterion) {
37-
let allocs = Session::new().no_file();
37+
let allocs = Session::new();
3838

3939
let memory = TransparentMemory::new();
4040

crates/bytesbuf/benches/global_pool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const ONE_MB: usize = 1024 * 1024;
2121
const TINY: usize = 128;
2222

2323
fn entrypoint(c: &mut Criterion) {
24-
let allocs = Session::new().no_file();
24+
let allocs = Session::new();
2525

2626
let warm_memory = GlobalPool::new();
2727

crates/bytesbuf/benches/view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const MANY_SPANS: usize = 32;
3232

3333
#[expect(clippy::too_many_lines, reason = "Is fine - lots of benchmarks to do!")]
3434
fn entrypoint(c: &mut Criterion) {
35-
let allocs = Session::new().no_file();
35+
let allocs = Session::new();
3636

3737
let memory = FixedBlockMemory::new(TEST_SPAN_SIZE);
3838

crates/cachet/benches/dynamic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn rt() -> Runtime {
2727
fn bench_dynamic_cache(c: &mut Criterion) {
2828
let rt = rt();
2929
let mut group = c.benchmark_group("dynamic_cache");
30-
let session = Session::new().no_file();
30+
let session = Session::new();
3131

3232
// Baseline: MockCache wrapped normally (no dynamic dispatch)
3333
let static_get_name = "static_get";

crates/fetch/benches/http_crate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn get_uri() -> &'static str {
2020
}
2121

2222
fn entry(c: &mut Criterion) {
23-
let session = Session::new().no_file();
23+
let session = Session::new();
2424
let mut group = c.benchmark_group("http_crate");
2525

2626
let uri_allocs = session.operation("uri");

crates/fetch/benches/pipelines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fn get_uri() -> &'static str {
3434
}
3535

3636
fn entry(c: &mut Criterion) {
37-
let session = Session::new().no_file();
37+
let session = Session::new();
3838
let mut group = c.benchmark_group("http_client_pipelines");
3939

4040
let client = HttpClient::builder_fake(StatusCode::OK, &Clock::new_frozen()).build();

crates/http_extensions/benches/http_request_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fn get_uri() -> Uri {
2828

2929
#[expect(clippy::too_many_lines, reason = "bench code, such is life")]
3030
fn entry(c: &mut Criterion) {
31-
let session = Session::new().no_file();
31+
let session = Session::new();
3232
let mut group = c.benchmark_group("http_request_builder");
3333
let body_builder = HttpBodyBuilder::new_fake();
3434

crates/http_extensions/benches/http_response_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
1818
static ALLOCATOR: Allocator<std::alloc::System> = Allocator::system();
1919

2020
fn bodies_benchmarks(c: &mut Criterion) {
21-
let session = Session::new().no_file();
21+
let session = Session::new();
2222
let mut group = c.benchmark_group("http_response_builder_bodies");
2323
let body_builder = HttpBodyBuilder::new_fake();
2424

crates/layered/benches/dynamic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ static ALLOCATOR: Allocator<std::alloc::System> = Allocator::system();
1313

1414
fn entry(c: &mut Criterion) {
1515
let mut group = c.benchmark_group("typed-vs-dynamic");
16-
let session = Session::new().no_file();
16+
let session = Session::new();
1717

1818
let service = Execute::new(|v| async move { v });
1919
let operation = session.operation("typed");

0 commit comments

Comments
 (0)