From 7c7af11b9bae5a917c8a8828da1aaed16c0bed51 Mon Sep 17 00:00:00 2001 From: Christoph Neuhauser Date: Thu, 14 Aug 2025 16:39:29 +0200 Subject: [PATCH] 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 --- tests/performance/api/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/performance/api/environment.py b/tests/performance/api/environment.py index 7165f218161..cfde4050f08 100644 --- a/tests/performance/api/environment.py +++ b/tests/performance/api/environment.py @@ -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']