abhinavsingh / proxy.py

💫 Ngrok FRP Alternative • ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • 😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • 👮🏿 "Proxy Server" framework • 🌐 "Web Server" framework • ➵ ➶ ➷ ➠ "PubSub" framework • 👷 "Work" acceptor & executor framework

Home Page:https://abhinavsingh.com/proxy-py-a-lightweight-single-file-http-proxy-server-in-python/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why use benchmark can not work

qq516249940 opened this issue · 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

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
./benchmark/compare.sh