commit ee8a005b41aaec456b3a08f188f3b3b7431d1793 Author: Karsten Loesing karsten.loesing@gmx.net Date: Tue May 26 22:22:16 2020 +0200
Fix TTFB graph showing TTLB by mistake. --- onionperf/visualization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/onionperf/visualization.py b/onionperf/visualization.py index 4547da1..99a2f05 100644 --- a/onionperf/visualization.py +++ b/onionperf/visualization.py @@ -75,7 +75,7 @@ class TGenVisualization(Visualization):
def __plot_firstbyte_time(self): for bytes in self.data["filesize_bytes"].unique(): - self.__draw_timeplot(x="start", y="time_to_last_byte", hue="label", hue_name="Data set", + self.__draw_timeplot(x="start", y="time_to_first_byte", hue="label", hue_name="Data set", data=self.data[self.data["filesize_bytes"]==bytes], title="Time to download first of {0} bytes over time".format(bytes), xlabel="Download start time", ylabel="Download time (s)")
tor-commits@lists.torproject.org