We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d171e34 commit 1183d79Copy full SHA for 1183d79
opentelemetry/benches/metrics.rs
@@ -67,10 +67,10 @@ fn counter_add(c: &mut Criterion) {
67
c.bench_function("AddWithDynamicAttributes", |b| {
68
b.iter_batched(
69
|| {
70
- let value1 = "a".repeat(6); // Repeat character six times to match the length of value strings used in other benchmarks
71
- let value2 = "b".repeat(6);
72
- let value3 = "c".repeat(6);
73
- let value4 = "d".repeat(6);
+ let value1 = "value1".to_string(); // Repeat character six times to match the length of value strings used in other benchmarks
+ let value2 = "value2".to_string();
+ let value3 = "value3".to_string();
+ let value4 = "value4".to_string();
74
75
(value1, value2, value3, value4)
76
},
0 commit comments