Explore opportunities of Bun https://bun.sh/

Created on 8 February 2024, 9 months ago
Updated 10 February 2024, 9 months ago

Problem/Motivation

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

https://bun.sh/blog/bun-v1.0

I tried to compare it with Yarn and Node.
To be honest, I compared with the latest stable version of Yarn: 4.1.0 and node v21.6.0.
Something like this: https://www.drupal.org/project/drupal/issues/3109556 πŸ“Œ Update from Yarn 1 to Yarn 4 RTBC

I ran the longest spellcheck:core task and got a 25% speed gain.

Yarn + Node

(time (rm -rf node_modules && yarn cache clean && yarn install && yarn spellcheck:core)) 4>&1

440.45s user 35.59s system 145% cpu 5:28.29 total

Bun

(time (rm -rf node_modules && bun pm cache rm && bun install && bun run spellcheck:core)) 4>&1

333.59s user 33.64s system 130% cpu 4:41.23 total

But main reason for sure its logo so similar to Drupal classic logo ;)

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
JavascriptΒ  β†’

Last updated about 6 hours ago

Created by

πŸ‡·πŸ‡ΈSerbia finnsky

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024