Closed Bug 1163895 Opened 9 years ago Closed 9 years ago

[LayerScope] Move protocol buffer package buffer parsing out of the main thread

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: u459114, Assigned: u459114)

References

Details

Attachments

(1 file, 1 obsolete file)

While layerscope viewer connecting with a profile target, UI operations on the viewers, such as skid on slider bar or select a layer in layer tree, become very sluggish. The main reason of this symptom is because the main thread exhausts on parsing protocol buffer package from WebGL. 

The solution is moving out package parsing out of the main thread
Attachment #8604462 - Flags: review?(mtseng)
Attachment #8604462 - Flags: review?(boris.chiou)
Comment on attachment 8604462 [details] [review]
Move data parsing from the main thread to a dedicated worker

>https://github.com/mozilla/layerscope/pull/19
Attachment #8604462 - Attachment is obsolete: true
Attachment #8604462 - Flags: review?(mtseng)
Attachment #8604462 - Flags: review?(boris.chiou)
Attachment #8604467 - Flags: review?(mtseng)
Attachment #8604467 - Flags: review?(boris.chiou)
Assignee: nobody → cku
OS: Unspecified → All
Hardware: Unspecified → All
Comment on attachment 8604467 [details] [review]
Move data parsing from the main thread to a dedicated worker

Merged.
Attachment #8604467 - Flags: review?(boris.chiou) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: