| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/performance | [Back] [Original] |
Get to know MDN better
This feature is well established and works across many devices and browser versions. Its been available across browsers since September 2015.
Note: This feature is only available in Web Workers.
The performance property of the WorkerGlobalScope interface returns a Performance object, which can be used to gather performance information about code running in the worker's scope.
Performance entries are per context. If you create a mark on a worker thread, you will not see it in the main thread or any other workers.
Note that only the following performance interfaces are available in worker contexts:
A Performance object offering access to performance and timing-related information for the context it is called on.
| Specification |
|---|
| High Resolution Time # the-performance-attribute |
This page was last modified on Aug 29, 2024 by MDN contributors.
WorkerGlobalScopeEventCountsLargestContentfulPaintLayoutShiftLayoutShiftAttributionNotRestoredReasonDetailsNotRestoredReasonsPerformancePerformanceElementTimingPerformanceEntryPerformanceEventTimingPerformanceLongAnimationFrameTimingPerformanceLongTaskTimingPerformanceMarkPerformanceMeasurePerformanceNavigationPerformanceNavigationTimingPerformanceObserverPerformanceObserverEntryListPerformancePaintTimingPerformanceResourceTimingPerformanceScriptTimingPerformanceServerTimingPerformanceTimingTaskAttributionTimingVisibilityStateEntryWindow.performanceWorkerGlobalScope.performanceYour blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |