Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).
class PerformanceEntry | globals module | Bun BuildDocsReferenceGuidesBlogDiscord/Globals/PerformanceEntryPdurationPentryTypePnamePstartTimeMtoJSON BuildDocsReferenceGuidesBlogDiscord /Globals/PerformanceEntryPdurationPentryTypePnamePstartTimeMtoJSON readonly duration: number readonly entryType: string readonly name: string readonly startTime: number toJSON(): any;
Search the reference...
/
class
PerformanceEntryclass PerformanceEntryResources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →class PerformanceEntry | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).
[MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry)