mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Profile time spent saving the screenshot image
This commit is contained in:
parent
47c2858647
commit
9b23cf537e
5 changed files with 18 additions and 12 deletions
|
@ -37,6 +37,7 @@ pub fn init() {
|
|||
maybe_create_heartbeat(&mut hbs, ProfilerCategory::PaintingPrepBuff);
|
||||
maybe_create_heartbeat(&mut hbs, ProfilerCategory::Painting);
|
||||
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ImageDecoding);
|
||||
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ImageSaving);
|
||||
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptAttachLayout);
|
||||
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptConstellationMsg);
|
||||
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptDevtoolsMsg);
|
||||
|
|
|
@ -97,6 +97,7 @@ impl Formattable for ProfilerCategory {
|
|||
ProfilerCategory::PaintingPrepBuff => "Buffer Prep",
|
||||
ProfilerCategory::Painting => "Painting",
|
||||
ProfilerCategory::ImageDecoding => "Image Decoding",
|
||||
ProfilerCategory::ImageSaving => "Image Saving",
|
||||
ProfilerCategory::ScriptAttachLayout => "Script Attach Layout",
|
||||
ProfilerCategory::ScriptConstellationMsg => "Script Constellation Msg",
|
||||
ProfilerCategory::ScriptDevtoolsMsg => "Script Devtools Msg",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue