mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-28 16:18:57 +00:00
Refine JSON schema and command metadata
This commit is contained in:
1 parent
c5d3a81fc5
commit
0d86e78ede
15 files changed
+59
-60
No files matched your search
@@ -37,7 +37,7 @@ with open(args.file, encoding="utf-8") as f:
|
||||
if args.labels:
|
||||
labels = args.labels.split(",")
|
||||
else:
|
||||
labels = [b["command"] for b in results]
|
||||
labels = [b.get("name", b["command"]) for b in results]
|
||||
times = [[m["time_wall_clock"]["value"] for m in b["measurements"]] for b in results]
|
||||
|
||||
if args.sort_by == "median":
|
||||
|
||||
Reference in new issue
Block a user