Skip to main content

perfAnimLog

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/debug/lastAnimLog / perfAnimLog

Variable: perfAnimLog()

const perfAnimLog: (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