Starting a CPU profile then return a SyncCPUProfileHandle object. This API supports using syntax.
const handle = v8.startCpuProfile(); const profile = handle.stop(); console.log(profile);
Search the reference...
/
function
Starting a CPU profile then return a SyncCPUProfileHandle object. This API supports using syntax.
const handle = v8.startCpuProfile(); const profile = handle.stop(); console.log(profile);
Stopping collecting the profile and the profile will be discarded.
Stopping collecting the profile and return the profile data.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →