Загрузка видео...

Не удалось загрузить видео

На главную

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 🔥

Похожие видео