> Wireshark and a spreadsheet are enough. So you have packet captures from your local machine, and from the VPS running the onion service. Using Wireshark, you export bitrate in millisecond bins. Then in the spreadsheet, you have two columns, one with each bitrate series. Just create a third column for the product. Each sheet will hold 1E6 lines, or 1000 seconds. Excel works best, because it uses multiple cores. R would be better, because you could crunch segments in parallel.
Wireshark alone is enough http://blog.davidvassallo.me/2010/03/22/measuring-bandwidth-...
If you would want to really see if there are differences in bandwidth for 2 pcap files you would have to graph it cumulatively.
I may have something to do that in Python.