From d256cce76687bd97973fee86d8764e26fc4d6d07 Mon Sep 17 00:00:00 2001 From: Christoph Neuhauser Date: Mon, 11 Aug 2025 12:07:29 +0200 Subject: [PATCH] Tests: Overwrite animation FPS limit in EEVEE performance tests This PR overwrites the FPS limit in the EEVEE performance tests to 1000 FPS. Background: I have been using the performance tests with, e.g., the Temple scene from the Blender demo files. However, it has configured an animation playback frame rate of 25 FPS. I think for the performance tests it would be more meaningful to render at an unlimited frame rate. Otherwise, one can just see that Temple renders at 25 FPS on pretty much any GPU and it is not possible to measure performance improvements or regressions. Pull Request: https://projects.blender.org/blender/blender/pulls/142984 --- tests/performance/tests/eevee.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/performance/tests/eevee.py b/tests/performance/tests/eevee.py index 275d01ae098..5ae99a26dc4 100644 --- a/tests/performance/tests/eevee.py +++ b/tests/performance/tests/eevee.py @@ -49,6 +49,8 @@ def frame_change_handler(scene): screen = bpy.context.window_manager.windows[0].screen bpy.context.scene.sync_mode = 'NONE' frame_set_mode = False + # Overwrite animation FPS limit set by .blend files. + bpy.context.scene.render.fps = 1000 for area in screen.areas: if area.type == 'VIEW_3D':