Skip to main content

Module schema

Module schema 

Source

Constants§

BENCH_ASSERT_MODE_VALUES
BENCH_BOOLEAN_KEYS
BENCH_CACHE_VALUES
BENCH_COMPOUND_KEYS
BENCH_DIRECT_KEYS
BENCH_DURATION_KEYS
BENCH_DURATION_STOP_VALUES
BENCH_LOAD_SCHEDULE_VALUES
BENCH_MODE_VALUES
BENCH_NUMERIC_KEYS

Statics§

BUILTIN_PROFILES
Built-in benchmark profiles. Each profile is a set of key-value pairs that override defaults.

Functions§

allowed_values_message
apply_profile
Apply a named profile to a BENCH section config. Returns the list of (key, value) pairs that the profile defines.
apply_profile_dynamic
Apply a custom (or built-in) profile, returning key-value pairs. Returns empty vec if the profile is not found.
bench_aliases
bench_key_detail
bench_key_rank
bench_keys_canonical_order
bench_value
canonical_bench_key
is_allowed_value
is_known_bench_key
list_profiles
List all available profiles (built-in + custom).
register_custom_profile
Register a custom profile at runtime.
suggest_bench_key
supported_bench_keys