mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-08 21:48:00 -05:00
update changelog
This commit is contained in:
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
Changes are grouped by the date they are merged to the main branch of the repository and are ordered from newest to oldest. Dates use the ISO 8601 extended calendar date format, i.e. YYYY-MM-DD.
|
||||
|
||||
## 2024-08-29
|
||||
|
||||
- Update blender harness to support different scenes.
|
||||
|
||||
## 2024-08-22
|
||||
|
||||
- Fixed some bugs with handbrake harness.
|
||||
|
||||
@@ -70,6 +70,7 @@ def main():
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
setup_logging()
|
||||
main()
|
||||
except Exception as ex:
|
||||
logging.error("something went wrong running the benchmark!")
|
||||
|
||||
@@ -59,7 +59,6 @@ def download_scene(scene: BlenderScene) -> None:
|
||||
return
|
||||
|
||||
try:
|
||||
logging.info("copying %s from network drive...", scene.file_name)
|
||||
copy_scene_from_network_drive(scene.file_name, destination)
|
||||
if Path(destination).exists():
|
||||
return
|
||||
@@ -102,7 +101,7 @@ def run_blender_render(executable_path: Path, log_directory: Path, device: str,
|
||||
"""Execute the blender render of barbershop, returns the duration as string"""
|
||||
blend_log = log_directory.joinpath("blender.log")
|
||||
blend_path = SCRIPT_DIR.joinpath(benchmark.file_name)
|
||||
cmd_line = f"\"{str(executable_path)}\" -b -E CYCLES -y \"{str(blend_path)}\" -f 1 -- --cycles-device {device} --cycles-print-stats"
|
||||
cmd_line = f'"{str(executable_path)}" -b -E CYCLES -y "{str(blend_path)}" -f 1 -- --cycles-device {device} --cycles-print-stats'
|
||||
with open(blend_log,'w' , encoding="utf-8") as f_obj:
|
||||
subprocess.run(cmd_line, stdout=f_obj, text=True, check=True)
|
||||
|
||||
@@ -137,7 +136,7 @@ def find_blender():
|
||||
executable_path = blender_dir.joinpath(f"Blender {latest_ver}", "blender.exe")
|
||||
if not executable_path.exists():
|
||||
raise Exception("Blender not detected")
|
||||
info = GetFileVersionInfo(executable_path, "\\")
|
||||
info = GetFileVersionInfo(str(executable_path), "\\")
|
||||
version_ms = info['FileVersionMS']
|
||||
version_ls = info['FileVersionLS']
|
||||
version = f"{HIWORD (version_ms)}.{LOWORD (version_ms)}.{HIWORD (version_ls)}.{LOWORD (version_ls)}"
|
||||
|
||||
Reference in New Issue
Block a user