mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add a sampling profiler and a script to generate profiles for use with Gecko tooling.
This commit is contained in:
parent
db7bb2a510
commit
90f67c11e5
13 changed files with 379 additions and 28 deletions
|
@ -406,6 +406,10 @@ where
|
|||
}
|
||||
},
|
||||
|
||||
WindowEvent::ToggleSamplingProfiler(rate) => {
|
||||
HangMonitorRegister::toggle(rate);
|
||||
},
|
||||
|
||||
WindowEvent::ToggleWebRenderDebug(option) => {
|
||||
self.compositor.toggle_webrender_debug(option);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue