1. 17 Jul, 2020 1 commit
    • Karsten Loesing's avatar
      Refine error codes into TOR or TGEN errors. · 4533b395
      Karsten Loesing authored
      With this change we include more detailed error codes in visualization
      output. In order to do so we map TGen transfers/streams to TorCtl
      STREAM event details based on source ports and unix_ts_end timestamps.
      This code reuses some concepts used in metrics-lib.
      
      Implements tpo/metrics/onionperf#34218.
      4533b395
  2. 16 Jul, 2020 2 commits
  3. 12 Jul, 2020 9 commits
  4. 08 Jun, 2020 1 commit
  5. 26 May, 2020 1 commit
  6. 21 May, 2020 1 commit
    • Karsten Loesing's avatar
      Rewrite tgen plots to use pandas and seaborn. · be48ab4d
      Karsten Loesing authored
      Previous OnionPerf visualizations were written using PyLab, which is a
      relatively low-level visualization library based on matplotlib. PyLab
      is the same thing as PyPlot but with some extra shortcuts. However,
      using PyLab is discouraged now.
      
      This commit switches all tgen plots to use seaborn, which is a
      high-level data visualization library also based on matplotlib. This
      commit also uses pandas for underlying data structures in order to
      separate data tidying and data visualization.
      
      As a side effect of using pandas, graphed data is now exported to a
      .csv file using the same naming scheme as the produced tgen .pdf file.
      
      Implements #33258.
      be48ab4d
  7. 14 May, 2020 4 commits
  8. 09 May, 2020 1 commit
    • Karsten Loesing's avatar
      Open Tor control log files with \r\n as newline. · f863ee46
      Karsten Loesing authored
      Turns out that Tor control log files use \r\n for newlines. When we
      open these files without providing a newline parameter, line endings
      are translated by Python 3 into '\n' before being returned to the us.
      If we do specify a newline parameter, line endings are returned to us
      untranslated. We need \r\n as newlines for Stem to recognize and parse
      control events.
      
      On the other hand TGen log files use \n as newline, which is why we
      need to make newlines configurable.
      f863ee46
  9. 08 May, 2020 1 commit
  10. 05 May, 2020 1 commit
  11. 02 Jul, 2019 1 commit
  12. 04 Jun, 2019 1 commit
  13. 25 Apr, 2019 2 commits
  14. 19 May, 2017 1 commit
  15. 12 Apr, 2017 1 commit
  16. 05 Apr, 2017 1 commit
  17. 04 Apr, 2017 1 commit
  18. 20 Mar, 2017 1 commit
  19. 15 Apr, 2016 1 commit
  20. 24 Mar, 2016 1 commit
  21. 06 Dec, 2015 1 commit
  22. 19 Nov, 2015 1 commit
  23. 18 Nov, 2015 2 commits
  24. 17 Nov, 2015 2 commits
  25. 15 Nov, 2015 1 commit