Skip to content

Commit a66b8e9

Browse files
authored
test: Stress test for logs modified to show throughput when enabled()… (open-telemetry#2760)
1 parent 2794d47 commit a66b8e9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

benches/log-attributes.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,11 @@ fn create_benchmark(c: &mut Criterion, num_attributes: usize) {
248248
}
249249

250250
fn criterion_benchmark(c: &mut Criterion) {
251+
create_benchmark(c, 2);
251252
// Run benchmarks for 0 to 12 attributes
252-
for num_attributes in 0..=12 {
253-
create_benchmark(c, num_attributes);
254-
}
253+
// for num_attributes in 0..=12 {
254+
// create_benchmark(c, 2);
255+
// }
255256
}
256257

257258
#[cfg(not(target_os = "windows"))]

0 commit comments

Comments
 (0)