stitcher-benchmark/README.md

17 lines
581 B
Markdown
Raw Normal View History

2025-11-17 20:11:26 +07:00
## Benchmark Latency and Throughput of Stitcher
### Benchmark Latency
0. Have Python installed and the deps : pandas and matplotlib
1. Go to `cd latency`
2. Run this in the terminal
```
./request.sh -o <output_location> -u "<backend_url>" -i <iteration> --no-output
```
### Benchmark Throughput
0. Have JMetter installed, [download here](https://jmeter.apache.org/download_jmeter.cgi)
1. Go to `cd throughput`
2. Run this in the terminal
```
./request.sh -o <output_folder> -H "<backend_ip>" -t <num_of_threads> -l <num_of_loops>
```
3. outputs will be in the directory specified