Skip to content

Bun runtime benchmarks are not as expected #1551

@vbudovski

Description

@vbudovski

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions