From 62c6cf032970236c0bf8d0343595c39b9496204e Mon Sep 17 00:00:00 2001 From: Wojciech Nawrocki Date: Fri, 25 Sep 2020 14:06:42 -0400 Subject: [PATCH] Cleaner names --- crossbeam-channel/benchmarks/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crossbeam-channel/benchmarks/plot.py b/crossbeam-channel/benchmarks/plot.py index ed9adc2c0..98c733666 100755 --- a/crossbeam-channel/benchmarks/plot.py +++ b/crossbeam-channel/benchmarks/plot.py @@ -99,7 +99,7 @@ def plot(results, fig, subplot, title, prefix): for pre, test, lang, impl, secs in results: if pre == prefix: - name = lang + '_' + impl + name = impl if lang == 'Rust' else impl + f' ({lang})' if name not in scores: scores[name] = [0] * len(runs) scores[name][find(runs, test)] = secs