TestimoX

API Reference

Class

BenchmarkPackStore

Namespace TestimoX.Benchmarks
Assembly TestimoX
Modifiers sealed

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 optionalposition: 0

Methods

public static String GetDefaultRootPath() #
Returns: String

Returns 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: BenchmarkPack

Loads a pack by stable ID.

Parameters

id System.String requiredposition: 0
public String Save(BenchmarkPack pack) #
Returns: String

Saves a validated pack to the store and returns its absolute path.

Parameters

pack TestimoX.Benchmarks.BenchmarkPack requiredposition: 0

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