Not TestedTesting not done, may not work properly
Performance

Performance API

High-resolution millisecond timestamp measurement using performance.now().

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

const start = performance.now();
// task
const duration = performance.now() - start;

About the Performance API Web API

Performance API provides access to high-precision performance metrics.

Specification:W3C & WHATWG Web API Standard
Sponsored Content