Skip to main content
Performance.toJSON - perf_hooks - Node documentation
method Performance.toJSON

Usage in Deno

import { type Performance } from "node:perf_hooks";
Performance.toJSON(): any

An object which is JSON representation of the performance object. It is similar to window.performance.toJSON in browsers.

Return Type

any