oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.01k stars 2.66k forks source link

`console.log` on Windows slower than node #12723

Open jelhub opened 1 month ago

jelhub commented 1 month ago

What version of Bun is running?

1.1.20+ae1948925

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

Latest versions of bun have improved the "hello world" performance, but still significant slower than nodejs.

image

image

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

kravetsone commented 1 month ago

It's better to focus on Linux)

jelhub commented 1 month ago

Ultimately, the choice is yours.

However, some clients, particularly those invested in Microsoft and Azure, might disagree.

Primary reason for not migrating to Bun is poor performance on Windows and various TLS certificate issues. I have been waiting quite a long time, there have been progress, but still nodejs performs better.

The "hello world" console log example was used as a straightforward comparison between Bun and nodejs.