Skip to content

Commit 59e3d05

Browse files
committed
Rename benchmark methods
1 parent 21cdb50 commit 59e3d05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry/benches/attributes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ fn attributes_creation(c: &mut Criterion) {
4040
});
4141
});
4242

43-
c.bench_function("CreateKeyValueUsingGenericMethod", |b| {
43+
c.bench_function("ProvideKeyValueUsingGenericMethod", |b| {
4444
b.iter(|| {
4545
let _v1 = black_box(no_op("attribute1", "value1"));
4646
});
4747
});
4848

4949
#[allow(clippy::useless_vec)]
50-
c.bench_function("CreateKeyValueVectorUsingGenericMethod", |b| {
50+
c.bench_function("ProvideMultipleKeyValuesUsingGenericMethod", |b| {
5151
b.iter(|| {
5252
let _v1 = black_box(vec![
5353
no_op("attribute1", "value1"),

0 commit comments

Comments
 (0)