perfAnimLog
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/debug/lastAnimLog / perfAnimLog
Variable: perfAnimLog()
constperfAnimLog: (message:any,startTime:any) =>void
Defined in: utils/debug/lastAnimLog.js:120
Internal
Performance-aware animation logger that includes timing information Logs with high-resolution timestamps for performance analysis
Parametersβ
messageβ
any
The message to log with timing information
startTimeβ
any
Optional start time for duration calculation
Returnsβ
void
Exampleβ
const start = performance.now();
// ... animation work
perfAnimLog('Chart render completed', start);
@internal
Sinceβ
1.0.0