mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Make ScriptEvaluate count script execution in DOM events and timers (#34286)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
4a06dc53f6
commit
26748621cd
3 changed files with 77 additions and 85 deletions
|
@ -78,7 +78,11 @@ pub enum ProfilerCategory {
|
|||
ScriptDevtoolsMsg = 0x62,
|
||||
ScriptDocumentEvent = 0x63,
|
||||
ScriptDomEvent = 0x64,
|
||||
|
||||
/// Rust tracing only: the script thread is executing a script.
|
||||
/// This may include time doing layout or parse work initiated by the script.
|
||||
ScriptEvaluate = 0x65,
|
||||
|
||||
ScriptEvent = 0x66,
|
||||
ScriptFileRead = 0x67,
|
||||
ScriptImageCacheMsg = 0x68,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue