Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/core/perf/config

core/perf/config

This module provides a bunch of helpers to configure the core/perf module.

Configuration interface

/**
* General config for performance metrics
*/
export interface PerfConfig {
/**
* Performance timers config
*/
timer: PerfTimerConfig;
}

/**
* Performance timers config
*/
export interface PerfTimerConfig {
/**
* Name of the used engine
*/
engine: PerfTimerEngineName;

/**
* Settings to filter perf events by groups
*/
filters?: PerfGroupFilters;
}

/**
* Settings to filter perf events by groups
*/
export type PerfGroupFilters = {
[K in PerfGroup]?: PerfIncludeFilter | string[] | boolean;
};

/**
* Include/exclude patterns for perf filters
*/
export interface PerfIncludeFilter {
/**
* Include only specific events
*/
include?: string[];

/**
* Exclude only specific events.
* If `include` and `exclude` are both presented, will be used only include.
*/
exclude?: string[];
}

Index

References

Re-exports PerfConfig
Re-exports PerfGroupFilters
Re-exports PerfIncludeFilter
Re-exports PerfPredicate
Re-exports PerfPredicates
Re-exports PerfTimerConfig

Functions