|
All in One Benchmark 1.0.0
Run Benchmarks in Unreal
|
Parameters for a batch run, read from the commandline. More...
#include <FtsBatchBenchmarkSubsystem.h>
Public Attributes | |
| TArray< FPrimaryAssetId > | BenchmarksToRun |
| List of benchmarks to run. | |
| bool | bSaveResults = false |
| Flag to save benchmark results to a file. | |
| FString | ResultFilePath = "" |
| File path to save results to if bSaveResults is set. | |
| bool | bQuitAfterBatchComplete = true |
| Whether to quit the game automatically after all benchmarks have run. | |
Parameters for a batch run, read from the commandline.
| TArray<FPrimaryAssetId> FFtsBatchBenchmarkParameters::BenchmarksToRun |
List of benchmarks to run.
By default it will run all benchmarks that are registered with the Asset Manager. To define specific benchmarks add the command line argument: -Benchmarks="BenchmarkId1,BenchmarkId2"
| bool FFtsBatchBenchmarkParameters::bQuitAfterBatchComplete = true |
Whether to quit the game automatically after all benchmarks have run.
Enabled by default, can be disabled with the -NoBenchmarkQuit flag
| bool FFtsBatchBenchmarkParameters::bSaveResults = false |
Flag to save benchmark results to a file.
To set add the command line argument: -SaveBenchmarkResults
| FString FFtsBatchBenchmarkParameters::ResultFilePath = "" |
File path to save results to if bSaveResults is set.
Saves to project's Saved/Benchmarks/Report.json by default. To change use the command line argument: -ResultSavePath="/Path/To/File.json"