Replace torperf.csv with onionperf.csv
We recently switched from Torperf to OnionPerf for measuring Tor performance. But we're only using half of OnionPerf's measurements, namely those that exit the Tor network to the public internet and fetch files from ourselves. We should also include measurements made to the onion server that OnionPerf sets up and runs locally.
The torperf.csv data format does not support this second data set in a forward-compatible way, and it's about time to rewrite the code that is part of the legacy data-processing module that produces this file anyway.
I wrote an onionperf module that produces an onionperf.csv file quite similar to torperf.csv but with an additional column for public vs. onion server. I went ahead and pushed that code to master, but I marked the data format as beta, mentioning that it may change or disappear without prior notice.
Next steps are:
- Get this code reviewed and possibly improved. Remove the beta warning, and add a deprecation notice to torperf.csv. Don't remove the code for producing torperf.csv just yet.
- One month or so later, remove the code for updating torperf.csv and mention on stats.html that the file does not get updated anymore. Don't remove it just yet.
- Another month or so later, remove the torperf.csv file and data format specification.