Add multi-thread support to the Profiler front-end

RESOLVED WORKSFORME

Status

()

Core
Gecko Profiler
RESOLVED WORKSFORME
6 years ago
5 months ago

People

(Reporter: BenWa, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 640011 [details]
UI Design Mockup

Currently the profiler front-end reads profiler results only from the first thread. We need to refactor it to read samples from all threads.

The source code for this project lives here:
https://github.com/bgirard/cleopatra

What needs to be done here:
1) js/parseWorker.js needs to be modified to be aware that there is multiple threads. Namely 'samples' needs to be modified to something like threads : [ samplesThread1, samplesThread2, ...] here:
https://github.com/bgirard/cleopatra/blob/master/js/parserWorker.js#L182
as well as it's references.
2) The front end histograms must be copied for each thread (See the mockup).
3) The tree view must be updated to only show results from selected threads.
Blocks: 1329178
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.