Skip to main content

Module perf

Module perf 

Source
Expand description

Opt-in hot-path instrumentation for the Rust engine.

Disabled by default. Set manabrew_engine_PERF=1 to collect counters and timings. Set manabrew_engine_PERF_TRACE=1 to emit every increment, or manabrew_engine_PERF_REPORT_EVERY=N to print a summary every N continuous effect recomputations.

Structs§

ParamsLookupScopeGuard
ScopeTimer
SummaryGuard

Enums§

Metric
ParamsLookupScope

Functions§

add_duration
current_params_lookup_scope
enabled
increment
increment_params_lookup
increment_params_parse
increment_priority_snapshot
print_summary
record_turn_wall
reset_counters