Skip to content
Prev Previous commit
Next Next commit
Switch benchmarkid
  • Loading branch information
orf committed Dec 11, 2020
commit bfd05eee24491856111330b9c5e2ca397b2edaef
4 changes: 2 additions & 2 deletions benches/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
});
}
Expand Down