Stress test tool introduction¶
The Stress Test tool is present in the Customizable Object Editor (top toolbar, "Stress Test" button) and gives information in terms of geometry and materials of randomly generated instances for the Customizable Object being edited.
How it works¶
The test works by generating a big amount of instances of the same Customizable Object. Each one of these instances is generated with random values for each one of the Customizable Object parameters. This allows to uniformly sample available parameters of a CO without explicitly trying all possible combinations (which could suppose billions of cases).
Using the Stress Test¶
The test can be launched directly by clicking on the "Stress Test" button. It'll take some minutes to complete.
In case you want to configure the test, click on the drop-down menu in the right side of the "Stress Test". Configure the following fields:
- Instance Count: Number of instances that will (at least) be generated.
- Instance Create Time (ms): time gap between building a new instance.
- Instance Create Time Variantion (ms): time variation for previous parameter.
- Instance Update Time (ms): time gap to update an instance.
- Instance Update Time Variantion (ms): time variation for previous parameter.
- Instance Life Time (ms): maximum amount of time an instance can reused for updates before destroying it.
- Instance Life Time Variantion (ms): time variation for previous parameter.
Once the test finishes, a complete per LOD report will be shown in the output log (menu "Window" -> "Developer Tools" -> "Output Log"). Below is an example of this test. Information reported includes per-LOD minimum, mean and maximum amount of geometry faces, materials, texture coordinates and texture size amongst all generated instances. For the most expensive generated instances in terms of geometry and in terms of texture size, detailed information about the parameters leading to those instances are given, together with a material resource breakdown.