mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
b663a224a3
- The benchmark addon now manages setting up and tearing down the backend and traffic processes itself. - Use wrk instead of hey. I get more consistent results with this tool, and hey shows a strange tail-latency bump that seems artificial. - Make termination behaviour simpler. The bencmark revealed a bug where .done events were not called if the proxy was shut down by an addon.
4 lines
106 B
Bash
Executable File
4 lines
106 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mkdir -p results
|
|
mitmdump -p0 -q --set benchmark_save_path=./results/mitmdump -s ./benchmark.py |