Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #34070

Closed (moved)
Open
Opened Apr 30, 2020 by Karsten Loesing@karsten

Add parsing support for OnionPerf analysis files

Back in the days, Torperf wrote its results to .tpf files using one line per measurement with space-separated key=value pairs. OnionPerf continued using this format in addition to writing a more sophisticated JSON format. It's time to teach metrics-lib how to read that JSON format, so that we can abandon the .tpf format. That is going to simplify upcoming changes to OnionPerf where we then only have to write a single output format.

The first step is to add parsing support for OnionPerf analysis files to metrics-lib. I worked on a patch over the past weeks that parses JSON files and internally converts them to Torperf results. The idea here is to keep changes to applications like metrics-web as small as possible. They can simply read different descriptor files and obtain the same output as before. We can later extract more parts from OnionPerf analysis files and provide them in a new interface, but we don't have to do that right now.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#34070