The high resolution millisecond timestamp of the amount of time the event loop has been idle within the event loop's event provider (e.g. epoll_wait). This does not take CPU usage into consideration. If the event loop has not yet started (e.g., in the first tick of the main script), the property has the value of 0.
property idleTime | Node.js perf_hooks module | Bun BuildDocsReferenceGuidesBlogDiscord/node:perf_hooks/PerformanceNodeTiming/idleTimePidleTime BuildDocsReferenceGuidesBlogDiscord /node:perf_hooks/PerformanceNodeTiming/idleTimePidleTime perf_hooks.PerformanceNodeTiming.idleTimereadonly idleTime: number
Search the reference...
/
property
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property idleTime | Node.js perf_hooks module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- The high resolution millisecond timestamp of the amount of time the event loop
has been idle within the event loop