Deno supports User Timing Level 3which is not widely supported yet in other runtimes.
Encapsulates a single performance metric that is part of the performancetimeline. A performance entry can be directly created by making a performancemark or measure (for example by calling the .mark()
method) at an explicitpoint in an application.
PerformanceMark
is an abstract interface for PerformanceEntry
objectswith an entryType of "mark"
. Entries of this type are created by callingperformance.mark()
to add a named DOMHighResTimeStamp
(the mark) to theperformance timeline.
Options which are used in conjunction with performance.mark
. Check out theMDNperformance.mark()
documentation for more details.
PerformanceMeasure
is an abstract interface for PerformanceEntry
objectswith an entryType of "measure"
. Entries of this type are created by callingperformance.measure()
to add a named DOMHighResTimeStamp
(the measure)between two marks to the performance timeline.
Options which are used in conjunction with performance.measure
. Check out theMDNperformance.mark()
documentation for more details.