Closed Bug 771854 Opened 12 years ago Closed 6 years ago

Add multi-thread support to the Profiler front-end

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: BenWa, Unassigned)

References

Details

Attachments

(1 file)

Attached image 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
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: