perfAnimLog
FitFileViewer - API Documentation v29.9.0
FitFileViewer - API Documentation / utils/debug/lastAnimLog / perfAnimLog
Variable: perfAnimLog()
constperfAnimLog: (message:any,startTime:any) =>void
Defined in: utils/debug/lastAnimLog.js:132
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
Sinceβ
1.0.0
Exampleβ
const start = performance.now();
// ... animation work
perfAnimLog("Chart render completed", start);