Add time profiling to ServoXMLParser::parse_sync

This commit is contained in:
Anthony Ramine 2016-10-09 00:19:09 +02:00
parent 1f23810a34
commit 609299e1e4
3 changed files with 17 additions and 0 deletions

View file

@ -138,6 +138,7 @@ impl Formattable for ProfilerCategory {
ProfilerCategory::ScriptInputEvent => "Script Input Event",
ProfilerCategory::ScriptNetworkEvent => "Script Network Event",
ProfilerCategory::ScriptParseHTML => "Script Parse HTML",
ProfilerCategory::ScriptParseXML => "Script Parse XML",
ProfilerCategory::ScriptPlannedNavigation => "Script Planned Navigation",
ProfilerCategory::ScriptResize => "Script Resize",
ProfilerCategory::ScriptEvent => "Script Event",