Add Go support to benchmark graph generator

This commit is contained in:
akp 2023-12-15 19:07:52 +00:00
parent 7d08649833
commit e219889a76
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

View file

@ -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: