Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance regression between v1.1.4 and v1.1.5+ #17000

Open
attractivechaos opened this issue Feb 2, 2025 · 1 comment
Open

Performance regression between v1.1.4 and v1.1.5+ #17000

attractivechaos opened this issue Feb 2, 2025 · 1 comment
Labels
bug Something isn't working performance An issue with performance regression

Comments

@attractivechaos
Copy link

What version of Bun is running?

1.2.2+c1708ea6a

What platform is your computer?

Darwin 24.2.0 arm64 arm

What steps can reproduce the bug?

wget https://raw.githubusercontent.com/attractivechaos/plb2/refs/heads/master/src/javascript/matmul.js
time bun matmul.js

The result is correct for all versions but newer versions are much slower. On my Mac M1:

1.8 sec for bun-1.1.4
4.5 sec for bun-1.1.5 and bun-1.2.2
3.1 sec for node-18.20.3 and deno-1.39.1

What is the expected behavior?

This script should take 1.8 seconds to run.

What do you see instead?

It now takes 4.5 sec, slower than node/deno.

Additional information

No response

@attractivechaos attractivechaos added bug Something isn't working needs triage labels Feb 2, 2025
@Jarred-Sumner
Copy link
Collaborator

I think this is a JavaScriptCore bug.

@RiskyMH RiskyMH added performance An issue with performance regression and removed needs triage labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance An issue with performance regression
Projects
None yet
Development

No branches or pull requests

3 participants