Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.2 KB

README.template.md

File metadata and controls

48 lines (34 loc) · 1.2 KB

Benchmark

Benchmarking Bun, Node and Deno frameworks performance, in requests per second.

You can see the details results here.

I recommend testing this by yourself as performance may varies on different machine.

Requirements

All tool required to set up and run the benchmark.

Bun

Bun is required to run Bun frameworks and benchmark scripts. See bun.sh.

Bombardier

Go is required to install the bombardier CLI. See go.dev. Install bombardier using:

# Install the CLI without a `go.mod` file
go install -mod=mod github.com/codesenberg/bombardier

# Check after install
bombardier --version

You need to manually set GO_PATH to your extracted go directory, GO_BIN to $GO_PATH/bin and add GO_BIN to PATH if bombardier --version fails.

Start

Clone this reposity. Go to the root directory and run:

# Install required dependencies
bun ins

# Run the benchmark
bun bench

# Or do both
bun start

Configurations

See configuration file and the type declarations.

Results

Chart

Chart

Table