We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feb803e commit cee8e09Copy full SHA for cee8e09
benchmarking/src/lib.rs
@@ -1281,12 +1281,13 @@ macro_rules! add_benchmark {
1281
let (config, whitelist) = $params;
1282
let $crate::BenchmarkConfig {
1283
pallet,
1284
+ instance,
1285
benchmark,
1286
selected_components,
1287
verify,
1288
internal_repeats,
1289
} = config;
- if &pallet[..] == &name_string[..] {
1290
+ if &pallet[..] == &name_string[..] && &instance[..] == &instance_string[..] {
1291
let benchmark_result = $( $location )*::Benchmark::run_benchmark(
1292
&benchmark[..],
1293
&selected_components[..],
0 commit comments