Commit 99cd33ab authored by Ben Gamari's avatar Ben Gamari 🐢

ghc_timings: Fix order

parent 68497d00
......@@ -34,7 +34,7 @@ def main() -> None:
df = parse_timings(s)
print(df.to_markdown())
df2 = df.set_index(['module', 'phase', 'n'])['time'].unstack('module')
df2 = df.set_index(['module', 'n', 'phase'])['time'].unstack('module')
df2.plot.bar(title='compile time (ms)', rot=30)
pl.show()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment