Open Bug 1634824 Opened 5 years ago

The profiler should also output the "used capacity"

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mozbugz, Unassigned)

Details

Currently the profiler only outputs the "Buffer Capacity", i.e., the maximum amount of data that could be recorded.

I think it would be interesting to also record, output, and eventually display:

  • The total amount of data that has been recorded during the session, including old data that was discarded. This could help determine how much data was lost because the buffer capacity was too small or the recording was too long; and how big the capacity should be to repeat the session without losing data.
  • The actual amount of data stored in the buffer when capturing. Due to the new chunked-based structures since bug 1630872, when the limit is reached we discard whole chunks, so the recorded data may be smaller than the capacity, up to a "chunkload" of data (1MiB by default at this time).
You need to log in before you can comment on or make changes to this bug.