Skip to content

Commit 0becf5a

Browse files
committed
bench fix
1 parent f8d315b commit 0becf5a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

opentelemetry-appender-tracing/benches/logs.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| noop_layer_disabled | 12 ns |
1111
| noop_layer_enabled | 25 ns |
1212
| ot_layer_disabled | 19 ns |
13-
| ot_layer_enabled | 196 ns |
13+
| ot_layer_enabled | 167 ns |
1414
*/
1515

1616
use criterion::{criterion_group, criterion_main, Criterion};
@@ -94,7 +94,7 @@ fn benchmark_no_subscriber(c: &mut Criterion) {
9494
c.bench_function("log_no_subscriber", |b| {
9595
b.iter(|| {
9696
error!(
97-
name = "CheckoutFailed",
97+
name : "CheckoutFailed",
9898
book_id = "12345",
9999
book_title = "Rust Programming Adventures",
100100
message = "Unable to process checkout."
@@ -120,7 +120,7 @@ fn benchmark_with_ot_layer(c: &mut Criterion, enabled: bool, bench_name: &str) {
120120
c.bench_function(bench_name, |b| {
121121
b.iter(|| {
122122
error!(
123-
name = "CheckoutFailed",
123+
name : "CheckoutFailed",
124124
book_id = "12345",
125125
book_title = "Rust Programming Adventures",
126126
message = "Unable to process checkout."
@@ -137,7 +137,7 @@ fn benchmark_with_noop_layer(c: &mut Criterion, enabled: bool, bench_name: &str)
137137
c.bench_function(bench_name, |b| {
138138
b.iter(|| {
139139
error!(
140-
name = "CheckoutFailed",
140+
name : "CheckoutFailed",
141141
book_id = "12345",
142142
book_title = "Rust Programming Adventures",
143143
"Unable to process checkout."

stress/src/logs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
~31 M/sec
77
88
Hardware: AMD EPYC 7763 64-Core Processor - 2.44 GHz, 16vCPUs,
9-
~40 M /sec
9+
~44 M /sec
1010
1111
Hardware: Apple M4 Pro
1212
Total Number of Cores: 14 (10 performance and 4 efficiency)

0 commit comments

Comments
 (0)