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

Bun runtime benchmarks are not as expected #1551

Open
vbudovski opened this issue Jan 14, 2025 · 0 comments
Open

Bun runtime benchmarks are not as expected #1551

vbudovski opened this issue Jan 14, 2025 · 0 comments

Comments

@vbudovski
Copy link
Contributor

vbudovski commented Jan 14, 2025

So I only just learned about this recently, but it appears that Bun can execute things in either native Bun runtime, or using an integrated copy of Node. The current benchmark data is using the Node runtime. It's also feeding the TypeScript code through ts-node, which is completely unnecessary, given that Bun has native TypeScript support.

This will require some changes to the current script execution:

  1. Setting bun to run in native mode https://bun.sh/docs/runtime/bunfig#run-bun-auto-alias-node-to-bun
  2. Removing ts-node from being executed by Bun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant