Liking cljdoc? Tell your friends :D

web.performance.PerformanceEntry

The PerformanceEntry object encapsulates a single performance that is part of the performance timeline. A performance entry be directly created by making a performance mark or measure example by calling the mark() method) at an explicit point an application. Performance entries are also created in indirect such as loading a resource (such as an image).

The PerformanceEntry object encapsulates a single performance
that is part of the performance timeline. A performance entry
be directly created by making a performance `mark` or `measure`
example by calling the `mark()` method) at an explicit point
an application. Performance entries are also created in indirect
such as loading a resource (such as an image).
raw docstring

durationcljs

(duration this)

Property.

[Read Only]

The duration property returns a timestamp that is the duration the performance entry.

entry.duration;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/duration

Property.

[Read Only]

The duration property returns a `timestamp` that is the duration
the `performance entry`.

`entry.duration;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/duration`
sourceraw docstring

entry-typecljs

(entry-type this)

Property.

[Read Only]

The entryType property returns a web.DOMString representing type of performance metric such as, for example, "mark". This is read only.

var type = entry.entryType;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/entryType

Property.

[Read Only]

The entryType property returns a `web.DOMString` representing
type of performance metric such as, for example, \"mark\". This
is read only.

`var type = entry.entryType;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/entryType`
sourceraw docstring

namecljs

(name this)

Property.

[Read Only]

The name property of the web.performance.PerformanceEntry interface a value that further specifies the value returned by the PerformanceEntry.entryType This property is read only.

var name = entry.name;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/name

Property.

[Read Only]

The name property of the `web.performance.PerformanceEntry` interface
a value that further specifies the value returned by the `PerformanceEntry.entryType`
This property is read only.

`var name = entry.name;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/name`
sourceraw docstring

start-timecljs

(start-time this)

Property.

[Read Only]

The startTime property returns the first recorded timestamp the performance entry.

entry.startTime;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/startTime

Property.

[Read Only]

The startTime property returns the first recorded `timestamp`
the `performance entry`.

`entry.startTime;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/startTime`
sourceraw docstring

to-jsoncljs

(to-json this)

Method.

The toJSON() method is a serializer; it returns a JSON representation the performance entry object.

json = perfEntry.toJSON();

See also: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/toJSON

Method.

The toJSON() method is a serializer; it returns a JSON representation
the `performance entry` object.

`json = perfEntry.toJSON();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/toJSON`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close