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
This commit is contained in:
Christoph Neuhauser
2025-08-11 12:07:29 +02:00
committed by Clément Foucault
parent 89d885d652
commit d256cce766

View File

@@ -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':