Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 14 Tagen •via X (Twitter)

15 Kommentare

Profilbild von Bun
Bunvor 14 Tagen

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

Profilbild von Ceoz
Ceozvor 14 Tagen

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

Profilbild von John Rood
John Roodvor 14 Tagen

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.

Profilbild von Frenly Fren
Frenly Frenvor 14 Tagen

So even vibe coder will understand – probably...

Profilbild von Muhammad Fiaz
Muhammad Fiazvor 14 Tagen

Video is hilarious 😂 but interesting improvements

Profilbild von Don Paquito
Don Paquitovor 14 Tagen

make @claudeai code faster already

Profilbild von anytan
anytanvor 13 Tagen

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

Profilbild von Rohan
Rohanvor 14 Tagen

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

Profilbild von Gregor
Gregorvor 14 Tagen

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?

Profilbild von Rapid
Rapidvor 14 Tagen

🤓

Profilbild von Marcello
Marcellovor 14 Tagen

but, does it have electrolytes? 👀

Profilbild von Ismail
Ismailvor 14 Tagen

This is funny 🤣

Profilbild von Calvin
Calvinvor 14 Tagen

That's a lot of megabytes!

Profilbild von any
anyvor 14 Tagen

why is this not default?

Profilbild von Deep S Shah🇮🇳
Deep S Shah🇮🇳vor 14 Tagen

The team is getting good with the explanation videos 🔥

Ähnliche Videos