#33974: Update OnionPerf to TGen 1.0.0
-------------------------------------------------+-------------------------
 Reporter:  karsten                              |          Owner:  acute
     Type:  enhancement                          |         Status:
                                                 |  accepted
 Priority:  Medium                               |      Milestone:
Component:  Metrics/Onionperf                    |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  metrics-team-roadmap-2020, metrics-  |  Actual Points:  0.3
  team-roadmap-2020-june                         |
Parent ID:  #33321                               |         Points:  2.0
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor59-must
-------------------------------------------------+-------------------------

Comment (by robgjansen):

 If you want to make use of TGen internal log parser to parse the log files
 that `tgen` 1.0 produces, that should be doable. The parser is written in
 python and is very similar to the one written for OnionPerf.

 The parsing code is inside the `tgentools` python package, which can be
 installed [https://github.com/shadow/tgen/blob/master/doc/Tools-Setup.md
 as explained here]. Then, once you have a `tgen` 1.0 log file that you
 want to parse, you just need to import one of the analysis modules: the
 
[https://github.com/shadow/tgen/blob/c3199b82017e559c3b9bb0a691d76349631238e1/tools/tgentools/tgentools#L273-L279
 `tgentools` file shows how this is done].

 Hopefully you can make use of the output straight away. If for some reason
 you need some change to the output format, let me know!

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33974#comment:24>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to