We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21cdb50 commit 59e3d05Copy full SHA for 59e3d05
opentelemetry/benches/attributes.rs
@@ -40,14 +40,14 @@ fn attributes_creation(c: &mut Criterion) {
40
});
41
42
43
- c.bench_function("CreateKeyValueUsingGenericMethod", |b| {
+ c.bench_function("ProvideKeyValueUsingGenericMethod", |b| {
44
b.iter(|| {
45
let _v1 = black_box(no_op("attribute1", "value1"));
46
47
48
49
#[allow(clippy::useless_vec)]
50
- c.bench_function("CreateKeyValueVectorUsingGenericMethod", |b| {
+ c.bench_function("ProvideMultipleKeyValuesUsingGenericMethod", |b| {
51
52
let _v1 = black_box(vec![
53
no_op("attribute1", "value1"),
0 commit comments