Tests: Turn VSync off for performance tests

To avoid timings being capped at the display refresh rate.

Ref #143049

Pull Request: https://projects.blender.org/blender/blender/pulls/144555
This commit is contained in:
Christoph Neuhauser
2025-08-14 16:39:29 +02:00
committed by Brecht Van Lommel
parent df496eb894
commit 7c7af11b9b

View File

@@ -245,7 +245,7 @@ class TestEnvironment:
# Execute Blender command with arguments.
common_args = ['--factory-startup', '-noaudio', '--enable-autoexec', '--python-exit-code', '1']
if foreground:
common_args += ['--no-window-focus', '--window-geometry', '0', '0', '1024', '768']
common_args += ['--no-window-focus', '--window-geometry', '0', '0', '1024', '768', '--gpu-vsync', 'off']
else:
common_args += ['--background']