Class BOBPerformanceService
- Namespace
- BlazOrbit.Components
- Assembly
- BlazOrbit.Core.dll
public sealed class BOBPerformanceService : IBOBPerformanceService
- Inheritance
-
object
BOBPerformanceService
- Implements
-
Constructors
public BOBPerformanceService()
Methods
public BOBComponentMetrics? Get(string componentType)
Parameters
componentType string
Returns
- BOBComponentMetrics
public IReadOnlyCollection<BOBComponentMetrics> GetAll()
Returns
- IReadOnlyCollection<BOBComponentMetrics>
public void RecordInit(string componentType, double elapsedMs)
Parameters
componentType string
elapsedMs double
public void RecordParametersSet(string componentType, double elapsedMs)
Parameters
componentType string
elapsedMs double
public void RecordRenderTreeBuild(string componentType, double elapsedMs)
Parameters
componentType string
elapsedMs double
Events
public event Action? MetricsUpdated
Event Type
- Action