mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-09 14:07:56 -05:00
Add API to test name for reports
This commit is contained in:
@@ -52,7 +52,7 @@ try:
|
||||
sys.exit(1)
|
||||
|
||||
report = {
|
||||
"test": "Blender Barbershop Render",
|
||||
"test": f"Blender Barbershop Render {args.device.upper()}",
|
||||
"score": score,
|
||||
"unit": "seconds",
|
||||
"version": version,
|
||||
|
||||
@@ -117,7 +117,7 @@ for report in json_array:
|
||||
scene_report = {
|
||||
"timestamp": report['timestamp'],
|
||||
"version": blender_version,
|
||||
"test": f"Blender Benchmark {report['scene']['label']}",
|
||||
"test": f"Blender Benchmark {report['scene']['label']} {DEVICE_TYPE}",
|
||||
"score": round(report['stats']['samples_per_minute'], 2),
|
||||
"unit": "samples per minute",
|
||||
"device": report['device_info']['compute_devices'][0]['name']
|
||||
|
||||
@@ -68,7 +68,7 @@ with open(log_path, encoding="utf-8") as log:
|
||||
score = match.group(1)
|
||||
|
||||
report = {
|
||||
"test": f"Unigine Superposition 2017 {args.preset}",
|
||||
"test": f"Unigine Superposition 2017 {args.preset} ${args.api}",
|
||||
"score": score,
|
||||
"unit": "score"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user