From bfd05eee24491856111330b9c5e2ca397b2edaef Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Fri, 11 Dec 2020 17:51:16 +0000 Subject: [PATCH] Switch benchmarkid --- benches/execution.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/execution.rs b/benches/execution.rs index cb0350c71..39c7ed6b7 100644 --- a/benches/execution.rs +++ b/benches/execution.rs @@ -42,10 +42,10 @@ pub fn benchmark_file_execution( name: &str, contents: &String, ) { - group.bench_function(BenchmarkId::new("cpython", name), |b| { + group.bench_function(BenchmarkId::new(name, "cpython"), |b| { bench_cpython_code(b, &contents) }); - group.bench_function(BenchmarkId::new("rustpython", name), |b| { + group.bench_function(BenchmarkId::new(name, "rustpython"), |b| { bench_rustpy_code(b, name, &contents) }); }