toJSON

The toJSON() method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.

MDN Reference