withPerformanceMonitoring
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/debug/stateDevTools / withPerformanceMonitoring
Function: withPerformanceMonitoring()
withPerformanceMonitoring(
name:string,fn:Function):Function
Defined in: utils/debug/stateDevTools.js:642
Create a performance-monitored version of a function
Parametersβ
nameβ
string
Function name for monitoring
fnβ
Function
Function to wrap
Returnsβ
Function
Wrapped function