proxy.py icon indicating copy to clipboard operation
proxy.py copied to clipboard

why use benchmark can not work

Open qq516249940 opened this issue 2 years ago • 1 comments

os VERSION="20.04.4 LTS (Focal Fossa)" proxy 2.4.3 python3.8

Describe the bug why use benchmark can not work.

Describe the bug only this Info

root@ub-jack:~/proxy.py# ./benchmark/compare.sh > /tmp/compare.log 2>&1
root@ub-jack:~/proxy.py# tail  -f /tmp/compare.log 
CONCURRENCY: 100 workers, DURATION: 1m, TIMEOUT: 1sec

qq516249940 avatar Sep 09 '22 03:09 qq516249940

I only tried it on Ubuntu 22.04.

git clone https://github.com/abhinavsingh/proxy.py.git
cd proxy.py
pip install -r benchmark/requirements.txt
echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list
wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add -
sudo apt update
sudo apt install oha
  • for additional benchmarks: uncomment https://github.com/abhinavsingh/proxy.py/blob/develop/benchmark/compare.sh#L96 until https://github.com/abhinavsingh/proxy.py/blob/develop/benchmark/compare.sh#L119
  • run benchmark
./benchmark/compare.sh

arne-heil avatar Jan 25 '23 15:01 arne-heil