Blender Git Commit Log

Git Commits -> Revision dc3f46d

Revision dc3f46d by Brecht Van Lommel (master)
July 5, 2021, 10:32 (GMT)
Tests: performance testing framework

These are scripts for benchmarking Blender features on real-world .blend
files. They were originally written for benchmarking Cycles performance, and
were made generic so they can be used for more Blender features.

The benchmarks can be run locally by developers. But the plan is to also run
these as part of continuous integration to track performance over time.

Currently there are tests for Cycles rendering and .blend file loading.

Documentation:
https://wiki.blender.org/wiki/Tools/Tests/Performance

Main features:
* User created configurations to quickly run, re-run and analyze a selected
subset of tests.
* Supports both benchmarking with existing builds, and automatic building of
specified git commits, tags and branches.
* Generate HTML page with bar and line graphs from test results.
* Controlled using simple command line tool.
* For writing tests, convenient abstraction to run a Python function in Blender
with arguments and return value.

Ref T74730

Differential Revision: https://developer.blender.org/D11662

Commit Details:

Full Hash: dc3f46d96b780260d982954578cac3bff74efd83
Parent Commit: bb971be
Lines Changed: +1293, -0

12 Added Paths:

/tests/performance/api/config.py (+255, -0) (View)
/tests/performance/api/device.py (+68, -0) (View)
/tests/performance/api/environment.py (+243, -0) (View)
/tests/performance/api/graph.py (+105, -0) (View)
/tests/performance/api/graph.template.html (+86, -0) (View)
/tests/performance/api/test.py (+71, -0) (View)
/tests/performance/api/__init__.py (+8, -0) (View)
/tests/performance/benchmark (+299, -0)
/tests/performance/tests/animation.py (+38, -0) (View)
/tests/performance/tests/blend_load.py (+39, -0) (View)
/tests/performance/tests/cycles.py (+79, -0) (View)
/tests/performance/tests/__init__.py (+2, -0) (View)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021