From e219889a763c9e0fbdd9a5008bb22de9bb9574de Mon Sep 17 00:00:00 2001 From: AKP Date: Fri, 15 Dec 2023 19:07:52 +0000 Subject: [PATCH] Add Go support to benchmark graph generator --- generate-benchmark-graph.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generate-benchmark-graph.py b/generate-benchmark-graph.py index ac2ef54..563eb3a 100644 --- a/generate-benchmark-graph.py +++ b/generate-benchmark-graph.py @@ -12,16 +12,18 @@ BENCHMARK_FILE = Path(sys.argv[2]) YEAR = BENCHMARK_FILE.parts[1] -COLOURS = {"Python": "#3572A5"} +COLOURS = {"Python": "#3572A5", "Go": "#00ADD8"} MAX_Y_VALUE = 1 runner_translation = { "py": "Python", + "go": "Go", } benchmark_data = { "Python": {}, + "Go": {}, } # adding dicts here sets the order of points being plotted with open(BENCHMARK_FILE) as f: