-
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
1 changed file
with
65 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,75 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/bh107/benchpress/master/benchpress/suite_schema.json", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Benchpress Suite 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", | ||
"id": "https://raw.githubusercontent.com/bh107/benchpress/master/benchpress/suite_schema.json", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Benchpress Suite 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", | ||
"item": { | ||
"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" | ||
}, | ||
"cmd_list": { | ||
"description": "List of the commands that makes up this benchmark suite", | ||
}, | ||
"jobs": { | ||
"description": "List of scheduled commands", | ||
"type": "array", | ||
"properties": { | ||
"cmd": { | ||
"description": "A command to execute", | ||
"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" | ||
}, | ||
"env": { | ||
"description": "The environment variables to define", | ||
"type": "object" | ||
}, | ||
"label": { | ||
"description": "The label of the command", | ||
}, | ||
"stdout": { | ||
"description": "The standard output", | ||
"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": ["success"] | ||
} | ||
}, | ||
"required": ["cmd", "env", "label"] | ||
"required": ["status", "nruns"] | ||
} | ||
} | ||
}, | ||
"required": ["creation_date_utc", "cmd_list"] | ||
}, | ||
"required": ["cmd", "env", "label"] | ||
} | ||
}, | ||
"required": ["creation_date_utc", "cmd_list"] | ||
} |