温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/bun/jsc/profile
点击访问原文链接

bun:jsc profile function | API Reference | Bun

bun:jsc profile function | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/bun:jsc/profileFprofile

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/bun:jsc/profileFprofile

function

jsc.profilefunction profileT extends (...args: any[]) => any>(callback: T,sampleInterval?: number,...args: ParametersT>): ReturnTypeT> extends PromiseU> ? PromiseSamplingProfile> : SamplingProfile;Run JavaScriptCore's sampling profiler for a particular function

This is pretty low-level.

Things to know:

LLint means "Low Level Interpreter", which is the interpreter that runs before any JIT compilationBaseline is the first JIT compilation tier. It's the least optimized, but the fastest to compileDFG means "Data Flow Graph", which is the second JIT compilation tier. It has some optimizations, but is slower to compileFTL means "Faster Than Light", which is the third JIT compilation tier. It has the most optimizations, but is the slowest to compile

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco

We're hiring →

智能索引记录