Опубликовать пост

ВойтиЗарегистрироваться

Опубликовать пост

ВойтиЗарегистрироваться

Bun в X: «In the next version of Bun Idle CPU usage drops by 67%»

@bunjavascript
Bun
@bunjavascript
In the next version of Bun Idle CPU usage drops by 67%
Bun v1.4.3: 67–89% less CPU while your server sleeps, compared with v1.4.2. Illustrated as a night sky with the Bun logo asleep as the moon.

One idle minute: v1.4.2 wakes up every second, because any occasional request kept the 1-second GC timer running. v1.4.3 wakes only for the health check, every 10 seconds.

CPU milliseconds used in 2 idle minutes on Bun 1.3.14, 1.4.0, 1.4.2 and 1.4.3:
Express: 430, 308, 282, 57 (4.9× less than 1.4.2)
Fastify: 450, 284, 267, 57 (4.7× less)
Elysia: 473, 280, 197, 21 (9.4× less)
Hono: 417, 263, 195, 21 (9.3× less)
Next.js SSR: 7,029, 628, 815, 268

Also 6–11% less idle memory than v1.4.2.

Measured after a 30-second load test with one health check every 10 seconds, on Linux x64. 1.3.14 and 1.4.0 are the mean of 2 runs; 1.4.2 and 1.4.3 are the median of 4.
6:10 · 27 сент. 2026 г.·
81,7 тыс.
Просмотры
51

Войдите или зарегистрируйтесь в X

Узнайте, что происходит, и присоединяйтесь к переписке

Continue with phone
или
Войдите, используя имя пользователя или адрес электронной почты

Подходящие люди

Avatar
Bun@bunjavascriptЧитать
Bun is a fast, all-in-one toolkit for installing, bundling, running and testing JavaScript & TypeScript. To install: `npm i -g bun`

Актуальные темы

Условия·Конфиденциальность·Файлы cookie·Специальные возможности·TIDA для США·О рекламе·© 2026 X Corp.
  • @bunjavascript
    Bun
    @bunjavascript
    In the next version of Bun Idle CPU usage drops by 67%
    Bun v1.4.3: 67–89% less CPU while your server sleeps, compared with v1.4.2. Illustrated as a night sky with the Bun logo asleep as the moon.

One idle minute: v1.4.2 wakes up every second, because any occasional request kept the 1-second GC timer running. v1.4.3 wakes only for the health check, every 10 seconds.

CPU milliseconds used in 2 idle minutes on Bun 1.3.14, 1.4.0, 1.4.2 and 1.4.3:
Express: 430, 308, 282, 57 (4.9× less than 1.4.2)
Fastify: 450, 284, 267, 57 (4.7× less)
Elysia: 473, 280, 197, 21 (9.4× less)
Hono: 417, 263, 195, 21 (9.3× less)
Next.js SSR: 7,029, 628, 815, 268

Also 6–11% less idle memory than v1.4.2.

Measured after a 30-second load test with one health check every 10 seconds, on Linux x64. 1.3.14 and 1.4.0 are the mean of 2 runs; 1.4.2 and 1.4.3 are the median of 4.
    6:10 · 27 сент. 2026 г.·
    81,7 тыс.
    Просмотры
    51
  • @jrysana
    John
    Rysana
    @jrysana
    27 сент.
    Nighty night Bun
    1
  • @devarshb05
    DoKoB
    @devarshb05
    27 сент.
    Make bun use 0% CPU on idle.
  • @abdullah_twt23
    Abdullah
    @abdullah_twt23
    27 сент.
    WHATTTT ? The hell you feeding Bun ?
    3
Рекламное место свободно
Рекламное место
свободно