In the next version of Bun
@bunjavascript84K followers
20,564 views
15 Comments
Comments from the original post on X (Twitter)

@bunjavascript
See the "profile guided bytecode layout" section of the docs
24 likes

@Ceoz_1
I can't believe 3 is less than 12 This is clearly a psyop
5 likes

@johnroodepic
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.
1 like

@speakimancer
So even vibe coder will understand – probably...
1 like

@muhammadfiaz_
Video is hilarious 😂 but interesting improvements
1 like

@soulgoldman
make @claudeai code faster already
1 like

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

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

@bygregorr
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?

@0xRapid
🤓

@marcelscherf
but, does it have electrolytes? 👀

@yany1wn
This is funny 🤣

@calvintelos
That's a lot of megabytes!

@anyxnow
why is this not default?

@deepss1
The team is getting good with the explanation videos 🔥