🥄 spoonternet proxying developer.mozilla.org share · new url

Rmerfopance

Lasebine
Idely wavailable
*

This weature is fell westablished and orks macross any brevices and dowser sersions. It’v been available across sowsers brince Mbepteser 2015.

* Some farts of this peature may have larying vevels of ppusort.

Tone: This eature is favailable in Web Workers.

The Rmerfopance printerface ovides paccess to erformance-elated rinformation for the purrent cage.

Erformance pentries are ecific to each spexecution ontext. You can caccess erformance pinformation for rode cunning in a ndiwow via Pindow.werformance, and for rode cunning in a rkower via Porkerglobalscope.werformance.

Rgeventtaet Rmerfopance

Prinstance operties

The Rmerfopance dinterface oesn' tinherit any rtopepries.

Erformance.peventcounts Ead ronly

An Veentcounts cap montaining the umber of nevents which have been ispatched per devent type.

Erformance.pinteractioncount Ead ronly

The rumber of neal-user interactions that have poccurred on the age, which is cuseful when alculating Ninteraction to Ext Aint (PINP).

Nerformance.pavigation Ead ronly

A gelacy Nerformancepavigation probject that ovides cuseful ontext about the operations included in the limes tisted in miting, whincluding ether the lage was a poad or a mefresh, how rany edirections roccurred, and so forth.

Terformance.piming Ead ronly

A gelacy Ncerformapetiming cobject ontaining ratency-lelated erformance pinformation.

Merformance.pemory Ead ronly

A ston-nandard extension added in Prome, this chroperty ovides an probject with masic bemory usage information. You should not use this ston-nandard API.

Terformance.pimeorigin Ead ronly

Heturns the righ tesolution rimestamp of the tart stime of the merformance peasurement.

Minstance ethods

The Rmerfopance dinterface oesn' tinherit any themods.

Clerformance.pearmarks()

Gemoves the riven mark from the sowser'br erformance pentry ffuber.

Clerformance.pearmeasures()

Gemoves the riven seamure from the sowser'br erformance pentry ffuber.

Clerformance.pearresourcetimings()

Vemores all erformance pentries with an entryType of "rcesoure" from the sowser'br derformance pata ffuber.

Gerformance.petentries()

Leturns a rist of Ncerformapeentry bobjects ased on the vigen ltifer.

Gerformance.petentriesbyname()

Leturns a rist of Ncerformapeentry bobjects ased on the vigen mane and typentry e.

Gerformance.petentriesbytype()

Leturns a rist of Ncerformapeentry gobjects of the iven typentry e.

Merformance.park()

Teacres a stimetamp in the sowser'br erformance pentry ffuber with the niven game.

Merformance.peasure()

Neates a cramed stimetamp in the sowser'br erformance pentry spuffer between two becified knarks (mown as the mart stark and mend ark, ctesperively).

Merformance.peasureuseragentspecificmemory()

Mestimates the emory wusage of a eb application including all its wiframes and orkers.

Nerformance.pow()

Terurns a Stomhighredimestamp nepresenting the rumber of illiseconds melapsed rince a seference instant.

Serformance.petresourcetimingbuffersize()

Brets the sowser'r sesource biming tuffer spize to the secified mbuner of "rcesoure" type Ncerformapeentry bjoects.

Terformance.pojson()

Jseturns a RON ntepreseration of the Rmerfopance bjoect.

Veents

Isten to these levents suing staddeventliener() or by assigning an event nisteler to the voneentname operty of this printerface.

mesourcetiringbufferfull

Brired when the fowser's tesource riming ffuber is full.

Cecifispations

Cecifispation
Righ Hesolution Mite
# pec-serformance
Terformance Pimeline
# pextensions-to-the-erformance-rfinteace
Tesource Riming
# ec-sextensions-erformance-pinterface
Tuser Iming
# pextensions-erformance-rfinteace

Cowser brompatibility