Add Go support to benchmark graph generator
This commit is contained in:
parent
7d08649833
commit
e219889a76
1 changed files with 3 additions and 1 deletions
|
@ -12,16 +12,18 @@ BENCHMARK_FILE = Path(sys.argv[2])
|
||||||
|
|
||||||
YEAR = BENCHMARK_FILE.parts[1]
|
YEAR = BENCHMARK_FILE.parts[1]
|
||||||
|
|
||||||
COLOURS = {"Python": "#3572A5"}
|
COLOURS = {"Python": "#3572A5", "Go": "#00ADD8"}
|
||||||
|
|
||||||
MAX_Y_VALUE = 1
|
MAX_Y_VALUE = 1
|
||||||
|
|
||||||
runner_translation = {
|
runner_translation = {
|
||||||
"py": "Python",
|
"py": "Python",
|
||||||
|
"go": "Go",
|
||||||
}
|
}
|
||||||
|
|
||||||
benchmark_data = {
|
benchmark_data = {
|
||||||
"Python": {},
|
"Python": {},
|
||||||
|
"Go": {},
|
||||||
} # adding dicts here sets the order of points being plotted
|
} # adding dicts here sets the order of points being plotted
|
||||||
|
|
||||||
with open(BENCHMARK_FILE) as f:
|
with open(BENCHMARK_FILE) as f:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue