[tor-dev] Twisted-based Tor client performance measurement tool

Karsten Loesing karsten at torproject.org
Tue Jan 22 20:39:24 UTC 2013


On 1/21/13 10:28 PM, Rob van der Hoeven wrote:
> Hi Karsten,
> 
> Over a year ago I wrote a small measuring proxy called Monitor In The
> Middle. This proxy sits between the browser and Tor and examines all
> HTTP traffic. Results of the measurements like response times, timeouts
> etc can be viewed using an internal webserver (at http://mitm.proxy).
> 
> My code uses Twisted, but does not use the Tor control interface. Wrote
> an article about it at:
> 
> http://freedomboxblog.nl/mitm-for-tor/
> 
> You can download the source-code at:
> 
> http://freedomboxblog.nl/wp-content/uploads/2011/09/mitm-0.9.tar.gz
> 
> Maybe this can be adapted to your needs?

Hi Rob,

that's pretty cool!  I was wondering if we'd need such a measuring
proxy.  So far, we only have some timestamps from Firefox's Navigation
Timing implementation:

https://github.com/willscott/pagespeed/blob/master/measurement/harness.selenium.py#L33

I'll have a look at your code once I have a clearer picture of the
overall design of this Twisted-based Torperf re-implementation.

Thanks,
Karsten



More information about the tor-dev mailing list