API Reference
Class
BenchmarkPackStore
Stores and discovers validated native benchmark packs.
Inheritance
- Object
- BenchmarkPackStore
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Constructors
public BenchmarkPackStore(String rootPath = null) #Initializes a benchmark pack store.
Parameters
- rootPath System.String = null
Methods
public static String GetDefaultRootPath() #Returns:
StringReturns the platform default pack-store path.
public IReadOnlyList<String> GetPackPaths() #Returns:
IReadOnlyList<String>Discovers valid pack files without loading their contents.
public IReadOnlyList<BenchmarkPack> LoadAll() #Returns:
IReadOnlyList<BenchmarkPack>Loads every validated pack in the store.
public BenchmarkPack LoadById(String id) #Returns:
BenchmarkPackLoads a pack by stable ID.
Parameters
- id System.String
public String Save(BenchmarkPack pack) #Returns:
StringSaves a validated pack to the store and returns its absolute path.
Parameters
- pack TestimoX.Benchmarks.BenchmarkPack
Inherited Methods
Properties
public String RootPath { get; } #Gets the absolute store root.
Fields
public const String PathEnvironmentVariable #Environment variable that overrides the default benchmark pack directory.
Value:
TESTIMOX_BENCHMARK_PATH