From b202ec9c0547d08d180d1a72babafd5034529e4f Mon Sep 17 00:00:00 2001 From: Oleksandr Zarudnyi Date: Fri, 31 Jan 2025 00:14:18 +0800 Subject: [PATCH] fix: make EVM interpreter reports concise again --- benchmark_analyzer/src/analysis/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/benchmark_analyzer/src/analysis/mod.rs b/benchmark_analyzer/src/analysis/mod.rs index 4ca07e94..e42ddc4f 100644 --- a/benchmark_analyzer/src/analysis/mod.rs +++ b/benchmark_analyzer/src/analysis/mod.rs @@ -91,7 +91,9 @@ pub fn compare<'a>( let results: Vec<(Group<'_>, Results<'_>)> = groups .into_iter() .map(|(group_name, reference_tests, candidate_tests)| { - let ratios = if is_evm_interpreter_cycles_tests_group(&group_name) { + let ratios = if is_evm_interpreter_cycles_tests_group(&group_name) + && group_name.codegen().as_deref() == Some("Y") + { Some(( opcode_cost_ratios(&reference_tests), opcode_cost_ratios(&candidate_tests),