janestreet / janestreet/magic-trace

Show progress during decode

Open
#225 1 comment 0 reactions 0 assignees View on GitHub
enhancement ui
Dominant language
OCaml
Stars
6.3k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

Given that decoding can take quite a while on large traces, it might be a nice UX improvement to show a progress bar over how many events have been processed. This should be possible as long as we can get the number of events in the perf.data file before processing them.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by tracing how perf.data events are decoded and how the UI represents long-running work; then determine how to obtain the total event count before processing. Done means large-trace decoding shows progress based on processed versus total events.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
devtools, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.