14 lines
544 B
Markdown
14 lines
544 B
Markdown
# Benchmarks
|
|
|
|
Load tests use `easybench` against a running server you own:
|
|
|
|
```bash
|
|
cargo build --release
|
|
target/release/easydns run -c config/config.yaml &
|
|
target/release/easybench 127.0.0.1:5353 -n www.example.com --qps 0 --duration 30s -c 50 --i-own-this-server
|
|
target/release/easybench 127.0.0.1:5353 -d queries.txt --qps 10000 --duration 60s -c 100 --i-own-this-server --json
|
|
```
|
|
|
|
Report hardware, CPU, RSS (`curl -s localhost:9090/metrics | grep process_resident`),
|
|
p50/p95/p99, loss and cache hit ratio. Results so far: docs/testing.md.
|