Skip to content

Commit

Permalink
usage.md: specify bash for code block semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
panchoh committed Dec 11, 2018
1 parent 05e1c9e commit d9c3ece
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
* Wrk

## Latency test
```
```bash
./stress-latency-60s
```
This will run an latency benchmark with Vegeta for 60s by default and output plot.html.

## Throughput test
```
```bash
./stress-throughput-60s
```
This script run an throughtput benchmark using Wrk for 60 by default and outputs the results in your terminal.

## Endurance test
```
```bash
PROFILING=true ./stress -add -n 1000000
```
It will bring up the server and execute and insert 1M events with default concurrency of 10 connections. Also will start a go profiling tool to collect all internal data of QED server an save it in 'results' directory.
Expand All @@ -30,6 +30,6 @@ The graph is saved in 'results/graph-Add-$number_events.png (results/graph-Add-1
This script use 'riot.go'. It's a tool we've develop to stress QED. It's also capable of generating charts, start with specific offset or even run Membership|Incremental Proofs for the events into QED.

If you install Dialog and Gnuplot you can generate usage graphs for each function collected by Golang pprof tool. ei:
```
```bash
./make_graph results
```

0 comments on commit d9c3ece

Please sign in to comment.