Records timing data for performance monitoring. Call twice with the same
event name to start and stop timing. First call starts the timer, second
call stops it and records the duration.
Parameters
eventName: string
Unique identifier for the timing event
Returns void
Example
recordTiming('theme-upload') // Start timing // ... do work ... recordTiming('theme-upload') // Stop timing and record duration
Records timing data for performance monitoring. Call twice with the same event name to start and stop timing. First call starts the timer, second call stops it and records the duration.