Closed kloesing closed 8 years ago
Good catch. I noticed this in the data produced at my onionperf instance too.
BTW, all .tpf files exported by OnionPerf are created from the json stats files. Both the tpf and the json files are located in your onionperf-data/twistd/docroot
.
When created the tpf file from the json file, all tpf fields are first initialized to 0, and then only updated if the correct values are in the json file. Looking through my json files, it looks like the correct data is there, but somehow it didn't end up making it to the torperf file for some of the keys. So I think this is a bug.
Err, I confirm this was a stupid bug on my part.
I found that quite a few fields in the Torperf output file have value
0.0
. Example:See
CONNECT
,DATAREQUEST
,DATARESPONSE
, etc.I noticed that previous runs produced lines with non-zero values there. The last such line is from 2016-03-24. Could it be that one of the last commits (shadow or onionperf) broke the code to fill in non-zero values there?