diff --git a/.eslintrc.js b/.eslintrc.js index 3f47ddf45d0534..9579162dcf868c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -331,5 +331,6 @@ module.exports = { globalThis: 'readable', btoa: 'readable', atob: 'readable', + performance: 'readable', }, }; diff --git a/doc/api/globals.md b/doc/api/globals.md index 831ef06bec6094..13e7f63d01b713 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -279,6 +279,10 @@ The `MessagePort` class. See [`MessagePort`][] for more details. This variable may appear to be global but is not. See [`module`][]. +## `performance` + +The [`perf_hooks.performance`][] object. + ## `process`