-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
119 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/bh107/benchpress/master/benchpress/suite_schema.json", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "Benchpress Suite file that contains the commands to execute and their results", | ||
"type": "object", | ||
"properties": { | ||
"creation_date_utc": { | ||
"description": "The creation time of the suite file in UTC", | ||
"type": "string" | ||
}, | ||
"cmd_list": { | ||
"description": "List of the commands that makes up this benchmark suite", | ||
"type": "array", | ||
"properties": { | ||
"cmd": { | ||
"description": "A command to execute", | ||
"type": "string" | ||
}, | ||
"env": { | ||
"description": "The environment variables to define", | ||
"type": "object" | ||
}, | ||
"label": { | ||
"description": "The label of the command", | ||
"type": "string" | ||
}, | ||
"jobs": { | ||
"description": "List of scheduled commands", | ||
"type": "array", | ||
"properties": { | ||
"status": { | ||
"description": "The status of the scheduled command", | ||
"type": "string", | ||
"pattern": "finished|failed|pending" | ||
}, | ||
"nruns": { | ||
"description": "The number of times to executed the scheduled command", | ||
"type": "number", | ||
"minimum": 1 | ||
}, | ||
"warmup": { | ||
"description": "Include a warm up run before the recorded runs", | ||
"type": "boolean" | ||
}, | ||
"results": { | ||
"description": "List of recorded results", | ||
"type": "array", | ||
"properties": { | ||
"success": { | ||
"description": "Did the run succeed", | ||
"type": "boolean" | ||
}, | ||
"stderr": { | ||
"description": "The standard error output", | ||
"type": "string" | ||
}, | ||
"stdout": { | ||
"description": "The standard output", | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["success"] | ||
} | ||
}, | ||
"required": ["status", "nruns"] | ||
} | ||
}, | ||
"required": ["cmd", "env", "label"] | ||
} | ||
}, | ||
"required": ["creation_date_utc", "cmd_list"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters