Skip to content

akiomik/mist_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mist_playground

Envionments

  • PC: Apple MacBookPro 2021 M1 Max (aarch64)
  • gleam: 0.32.2
  • golang: 1.21.3
  • xk6-nostr: 0.1.0

Run websocket server

gleam run

Run benchmark

Using k6 by grafana and xk6-nostr.

  1. Install xk6

See https://github.com/grafana/xk6/#local-installation

go install go.k6.io/xk6/cmd/xk6@latest
  1. Build k6 with extension
xk6 build --with github.com/akiomik/xk6-nostr@latest
  1. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published