PANE

Bun users see performance slowdowns with 1.4.2

18 posts in the last 60 days, all from GitHub.

“What version of Bun is running? 1.4.5+a7733435c ( oven/bun:1.4.5 slim ) What platform is your computer? Linux 6.6.87.2 microsoft standard WSL2 x86 64 (Docker Desktop on Windows 11), Intel i7 12700H, 20 vCPUs. The service's container is capped at cpus 2 . What steps can reproduce…”
GitHub
“What version of Bun is running? 1.4.4+38afee6c8 What platform is your computer? Linux 7.2.11 200.fc44.x86 64 x86 64 unknown What steps can reproduce the bug? Using bombardier for testing the load: What is the expected behavior? Same throughput as 1.3.12, which used sendfile for…”
GitHub
“What version of Bun is running? 1.4.4+38afee6c8, stable. No canary tested. Node comparison: 26.12.1. Node 26.13.0 was published on the measurement date and was discovered during follow up; it was not measured. These results are for 26.12.1. What platform is your computer? Native…”
GitHub

Multiple users report significant performance regressions across various tasks when upgrading to Bun version 1.4.2. Issues include slower HyperID generation, increased memory usage, and slower Map insertion, impacting developers and potentially affecting application performance.

devtoolsaiperformancejavascriptbun
FIT
0%
SIGNAL
77%
SOURCES24
FRESHEST POST3D AGO
TRACKED SINCE55D AGO

SOURCES (24)

“What version of Bun is running? 1.4.5+a7733435c ( oven/bun:1.4.5 slim ) What platform is your computer? Linux 6.6.87.2 microsoft standard WSL2 x86 64 (Docker Desktop on Windows 11), Intel i7 12700H, 20 vCPUs. The service's container is capped at cpus 2 . What steps can…”

GITHUB3d ago

“What version of Bun is running? 1.4.4+38afee6c8 What platform is your computer? Linux 7.2.11 200.fc44.x86 64 x86 64 unknown What steps can reproduce the bug? Using bombardier for testing the load: What is the expected behavior? Same throughput as 1.3.12, which used sendfile for this file. What do you see instead? | Bun version | Req/s | | | | | 1.3.12 | 53.1k | | 1.3.13 | 29.4k | | 1.4.4 | 32.4k | Syscalls over 1,000 requests (sends from strace f c , reads of the served file from strace f y e tr”

GITHUBOct 29

“What version of Bun is running? 1.4.4+38afee6c8, stable. No canary tested. Node comparison: 26.12.1. Node 26.13.0 was published on the measurement date and was discovered during follow up; it was not measured. These results are for 26.12.1. What platform is your computer? Native Linux x86 64, 24 logical CPUs available to both runtimes. Single model checking worker. Normal process priority, no CPU quota, 2 GiB memory limit. Warm OS file caches, fresh process per run. No Java or TLC is involved. W”

GITHUBOct 28

“What version of Bun is running? 1.4.4+38afee6c8 (stable, the official bun linux x64.zip ). Canary not tested. Comparator: Node.js v26.12.1. What platform is your computer? Linux 7.2.12 x86 64 (native, no VM or WSL; 24 logical CPUs, governor performance ) What steps can reproduce the bug? Same aws4 code, one fresh process per run, calls in a loop. The script records wall time, whole process CPU time ( process.cpuUsage() , user plus system, all threads) and the main thread's own CPU time at call c”

GITHUBOct 24

“What version of Bun is running? 1.4.0+34cbb9a40. Also reproduces on 1.4.3+c6da4a4d3 and 1.4.4 canary.1+963452075. What platform is your computer? Darwin 25.6.0 arm64 arm. macOS 26.6 on an Apple M4 Pro with 14 cores. What steps can reproduce the bug? Save this as repro.mjs . It has no dependencies. Run bun repro.mjs and node repro.mjs . Each worker runs some hot code, posts a result and goes idle. The parent then calls terminate() and starts the next worker without waiting, 13 at a time, 26 in to”

GITHUBOct 21

“What version of Bun is running? 1.4.3+c6da4a4d3 and canary 1.4.4 canary.1+ad4089bf4 (Node comparison: v24.22.0) What platform is your computer? Linux 7.2.9 x86 64 (WSL2), 16 vCPU, 62 GiB What steps can reproduce the bug? 1. Build bompus/codegraph at 3581ae6e ( npm ci && npm run build:kernel && npm run build ). 2. Clone n8n io/n8n at 7cc0450ae47469b13406c3e4910b67251a54b9bc and index it once: node dist/bin/codegraph.js init y <n8n . Keep a copy of the .codegraph directory. 3. For each run, restor”

GITHUBOct 19

“What version of Bun is running? 1.4.3+c6da4a4d3 (regression vs 1.4.2+744846f84) What platform is your computer? Darwin 25.x arm64 (Apple silicon) What steps can reproduce the bug? With NODE COMPILE CACHE set to an empty directory, a process that loads a large amount of code now spends noticeably longer after its exit event before the OS process ends. The time goes to writing the compile cache: with NODE DISABLE COMPILE CACHE=1 the post exit time is 20 40 ms on both versions. Generate a 3.4 MB mo”

GITHUBOct 12

“What version of Bun is running? 1.4.3 canary.1+e655c5803 What platform is your computer? Linux 6.8.0 1066 aws x86 64 x86 64 What steps can reproduce the bug? Repro: https://github.com/spanishpear/bun check build slow repro bun check gets quadratically slower as a JSON object in tsconfig.json grows, even when it is an object bun does not use. In practice the large object is compilerOptions.paths in a base config that many projects extend. bun re parses that base for every project, so the cost mul”

GITHUBOct 11

“What version of Bun is running? 1.4.2+744846f84 (stable). Comparator: Node v26.11.1. Canary not tested. What platform is your computer? Linux 7.2.9 x86 64 (WSL2), 16 vCPUs. What steps can reproduce the bug? Save as lru gc.mjs and run each line in a fresh process: I ran 5 rounds, alternating the order of the three commands between rounds. Every run reports the same 24,218 hits. What is the expected behavior? The script uses one JS thread and keeps at most 4,096 live nodes. It should run at about”

GITHUBOct 9

“What version of Bun is running? 1.4.2 (744846f844374847c902b5e7fd59b4342a51ef99); comparator Node 26.11.1 What platform is your computer? Linux x86 64, WSL2, kernel 7.2.9 locietta WSL2 xanmod1 What steps can reproduce the bug? Save the 4 exact measured public files below in an empty directory. The shared harness supports optional comparison controls; select one cache per fresh process. These files import only public npm packages and built in modules. Install the pinned package.json dependencies,”

GITHUBOct 8

“What version of Bun is running? 1.4.2 (744846f844374847c902b5e7fd59b4342a51ef99); comparator Node 26.11.1 What platform is your computer? Linux x86 64, WSL2, kernel 7.2.9 locietta WSL2 xanmod1 What steps can reproduce the bug? Save the 4 exact measured public files below in an empty directory. The shared harness supports optional comparison controls; select one cache per fresh process. These files import only public npm packages and built in modules. Install the pinned package.json dependencies,”

GITHUBOct 8

“What version of Bun is running? 1.4.2 (744846f844374847c902b5e7fd59b4342a51ef99) What platform is your computer? Linux x86 64, WSL2, kernel 7.2.9 locietta WSL2 xanmod1 What steps can reproduce the bug? Save as repro.mjs. No dependencies are needed. Verified on Node 26.11.1 and Bun 1.4.2 on 2026 10 08. This checks digest name compatibility, with no performance claim. What is the expected behavior? Node 26.11.1 accepts both sha3 512 and RSA SHA3 512 in createHmac. Both produce the same digest: Nod”

GITHUBOct 8

“What version of Bun is running? 1.4.2 (744846f844374847c902b5e7fd59b4342a51ef99) What platform is your computer? Linux x86 64, WSL2, kernel 7.2.9 locietta WSL2 xanmod1 What steps can reproduce the bug? Save as cluster unix repro.mjs in an empty writable directory. It uses only built in modules, forks 2 workers, sends 20 sequential HTTP requests over one Unix socket, and removes its socket after the workers exit. Run each command separately: Verified on Node 26.11.1 and Bun 1.4.2 on 2026 10 08. B”

GITHUBOct 8

“What version of Bun is running? 1.4.2, revision 744846f844374847c902b5e7fd59b4342a51ef99 . What platform is your computer? Linux x86 64, WSL2 kernel 7.2.9 locietta WSL2 xanmod1, AMD Ryzen 9 9950X3D. What steps can reproduce the bug? Install hyperid@3.3.0 . Save the exact tested script below as id repro.mjs . Each case uses 50 million timed calls after five million warmup calls. Every generated ID contributes its length and first character to a checksum. Untimed checks verify output shape and dec”

GITHUBOct 8

“What version of Bun is running? 1.4.2+744846f844374847c902b5e7fd59b4342a51ef99 What platform is your computer? Linux 7.2.9 locietta WSL2 xanmod1 x86 64 GNU/Linux; WSL2; Node 26.11.1 What steps can reproduce the bug? Hono Node adapter four worker JSON route takes 24% longer in Bun 1.4.2 than Node 26.11.1 The earlier report was created 2023 11 19, before the Bun 1.4.0 cutoff. This linked current version report retains the measured reproduction and limitations below. Existing evidence: https://gith”

GITHUBOct 8

“What version of Bun is running? 1.4.2+744846f844374847c902b5e7fd59b4342a51ef99 What platform is your computer? Linux 7.2.9 locietta WSL2 xanmod1 x86 64 GNU/Linux; WSL2; Node 26.11.1 What steps can reproduce the bug? NanoID 5.0.7 customAlphabet generation is 64 85% slower in Bun 1.4.2 than Node 26.11.1 The earlier report was created 2022 07 26, before the Bun 1.4.0 cutoff. This linked current version report retains the measured reproduction and limitations below. Existing evidence: https://github”

GITHUBOct 8

“What version of Bun is running? 1.4.2+744846f844374847c902b5e7fd59b4342a51ef99 What platform is your computer? Linux7.2.9 locietta WSL2 xanmod1 x86 64 GNU/Linux; WSL2; Node26.11.1 What steps can reproduce the bug? Bun 1.4.2 uses about 93% more peak RSS than Node 26.11.1 when retaining lines from async readline iteration. The reproduction generates a synthetic ASCII file, reads all 3,458,656 lines and retains each string in an array. The same reader with retention disabled is the control. No depe”

GITHUBOct 8

“What version of Bun is running? 1.4.2+744846f844374847c902b5e7fd59b4342a51ef99 What platform is your computer? Linux 7.2.9 locietta WSL2 xanmod1 x86 64 GNU/Linux; WSL2; Node26.11.1 / Tinybench6.2.1 What steps can reproduce the bug? The public source contains only Map insertion and missing key lookup controls. It has no application or cache implementation and allocates no Buffer payloads. Keys and values are precreated; every timed batch starts from reset state and final contents are checked outs”

GITHUBOct 8

“What version of Bun is running? 1.3.14 What platform is your computer? Linux 7.0.12 x86 64 unknown What steps can reproduce the bug? Bun shows significantly slower startup time when executing scripts located in Nix store paths compared to local copies. This appears to be independent of script content and reproducible with a minimal example. What is the expected behavior? No response What do you see instead? Additional information”

GITHUBJun 16

“What version of Bun is running? 1.2.21+7c45ed97d What platform is your computer? Linux 6.6.105+ x86 64 unknown What steps can reproduce the bug? https://github.com/js benchmark all/micro/blob/main/src/strings/byte length.case.ts What is the expected behavior? Bun node buffer test result should be consistent with Node (faster than text encoder encode ). https://github.com/js benchmark all/micro/blob/main/results/node 24.12.0/strings/byte length.txt What do you see instead? https://github.com/js b”

GITHUBOct 2025

“What version of Bun is running? 1.2.21 What platform is your computer? WSL Ubuntu What steps can reproduce the bug? What is the expected behavior? at least same performance as nodejs What do you see instead? Additional information With process.exit(0); it's faster than nodejs:”

GITHUBAug 2025

“What version of Bun is running? 1.2.19+aad3abead What platform is your computer? Linux 6.8.0 57 generic x86 64 x86 64 What steps can reproduce the bug? Running globally installed bun under a non root user and running any command with bun results in it creating .bun directory even if I disabled it in the current directory which ends up in difficult to resolve issues regarding linux permissions. The only solution I found so far is to rm rf .bun directory from root user because the user running bun”

GITHUBAug 2025

“What version of Bun is running? 1.2.17+282dda62c What platform is your computer? Linux 5.18.0 051800 generic x86 64 x86 64 What steps can reproduce the bug? bun nodejs v22.9.0 What is the expected behavior? No response What do you see instead? No response Additional information No response”

GITHUBJun 2025

“What version of Bun is running? 1.2.14+6a363a38d What platform is your computer? Darwin 24.5.0 arm64 arm What steps can reproduce the bug? What is the expected behavior? bun i ... will be faster than bun i ... no cache What do you see instead? Here's the speed with no cache: remove: since bun i no cache will not create cache, I run the following command to add cache: remove again: install with cache: You can see that bun i with cache took much time than that with no cache. Here's the table: run”

GITHUBMay 2025

SOLUTION LANDSCAPE

Brought to you byTop Sectors

A Player feature.See how many ways this pain can be solved, who's already building, and where the gaps are.

Related panes

/ same corner of the problem

More ideas in AI & LLMs →