janestreet / janestreet/magic-trace
Support bigger traces at lower resolution
- Dominant language
- OCaml
- Stars
- 6.3k
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
My understanding is that one of the main blockers preventing taking traces for longer time periods is that perfetto can't handle the size of traces that it produces. I would happily settle for longer traces which only showed function calls that took more than a certain amount of time -- to give a high-level view of where the time was spent. Combined with some option to filter a trace down to a given time range this should allow for exploring large traces reasonably ergonomically.
Contributor guide
Research direction
Start by reviewing the issue's proposed approaches: reducing trace detail to function calls above a duration threshold and filtering traces to a time range. Investigate how magic-trace currently produces and displays traces, and how Perfetto handles trace size. Done would mean supporting longer traces at lower resolution with an ergonomic time-range filter, but no file or test is identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100