正在加载视频...

视频加载失败

In the next version of Bun Enabling profile-guided optimization for bytecode improves startup time by up to 2x `bun build --compile --bytecode --bytecode-order=./file`

19,675 次观看 • 14 天前 •via X (Twitter)

15 条评论

Bun 的头像
Bun14 天前

See the "profile guided bytecode layout" section of the docs

Ceoz 的头像
Ceoz14 天前

I can't believe 3 is less than 12 This is clearly a psyop

John Rood 的头像
John Rood14 天前

the order file is a lockfile for startup: pinned to the trace you profiled, quietly stale as code paths change. regenerate it per release, or the 2x decays with nothing failing.

Frenly Fren 的头像
Frenly Fren14 天前

So even vibe coder will understand – probably...

Muhammad Fiaz 的头像
Muhammad Fiaz14 天前

Video is hilarious 😂 but interesting improvements

Don Paquito 的头像
Don Paquito14 天前

make @claudeai code faster already

anytan 的头像
anytan13 天前

bytecode startup up to 2x tho. yeah I'll take that

Rohan 的头像
Rohan14 天前

Does that profile stay valid if the workload shape changes later?

Gregor 的头像
Gregor14 天前

Hit this with a build script last month. Tight, predictable startup paths captured most of the gain, but anything with dynamic requires at boot barely moved. Does the --bytecode-order profile account for that, or is the 2x mostly on linear startup paths?

Rapid 的头像
Rapid14 天前

🤓

Marcello 的头像
Marcello14 天前

but, does it have electrolytes? 👀

Ismail 的头像
Ismail14 天前

This is funny 🤣

Calvin 的头像
Calvin14 天前

That's a lot of megabytes!

any 的头像
any14 天前

why is this not default?

Deep S Shah🇮🇳 的头像
Deep S Shah🇮🇳14 天前

The team is getting good with the explanation videos 🔥

相关视频