- PC: Apple MacBookPro 2021 M1 Max (aarch64)
gleam
: 0.32.2golang
: 1.21.3xk6-nostr
: 0.1.0
gleam run
Using k6 by grafana and xk6-nostr.
- Install
xk6
See https://github.com/grafana/xk6/#local-installation
go install go.k6.io/xk6/cmd/xk6@latest
- Build k6 with extension
xk6 build --with github.com/akiomik/xk6-nostr@latest
- Run benchmark script
In my environment, the error occurs around 350,000 completes and 30 seconds elapsed.
# Run benchmark with 5 virtual users for 1 miniute
./k6 run --vus 5 --duration 1m bench/benchmark.js