oven-sh / bun

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

Trying to use artillery load testing fails on bun #2579

Closed floydjones1 closed 1 year ago

floydjones1 commented 1 year ago

What version of Bun is running?

0.5.9

What platform is your computer?

Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

bun install artillery bun artillery dino -m "I am working on bun!"

What is the expected behavior?

Expect an output in terminal similar to this image

What do you see instead?

image

Additional information

Obviously bun isn't full featured yet but would love this to work. One of artilleries pain points is that it isn't as fast as other load testing tools out there built in Golang(vegeta/k6) which does makes it preferred. But artillery has so many great features compared to other more power load testing tools in Golang. I think if it runs on bun it would give it an edge and make it more preferred.

floydjones1 commented 1 year ago

This is fixed and works in bun version 0.6.1 Going to do some benchmarks to see how much load artillery can produce compared to node. Thanks @Jarred-Sumner 😄