mike820324 / microProxy

A http/https interceptor written in pure python.
MIT License
17 stars 3 forks source link

[Performance]: Interesting performance overhead. #200

Open mike820324 opened 8 years ago

mike820324 commented 8 years ago

I have wrote a simple script to test the latency when a request is using a proxy or not. The following are the result to query http://127.0.0.1

SocksLayer -> ForwardLayer

Baseline Latency: 0.00109156179428 secs
Proxy Latency: 0.00239816999435 secs
Overhead: 119.700799984%

SocksLayer -> Http1Layer

Baseline Latency: 0.00108794307709
Proxy Latency: 0.0403112287521
Overhead: 3605.27002755%