mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
profile: Integrate the time profiler with the macOS signpost
infrastructure. With this change, if you supply the `-Z signpost` flag, Instruments.app can display Servo events overlaid with callstack data. Even better, you can get call stack profiling for individual Servo events (one layout, one network request, one style recalculation, etc.) This adds a dependency on the `signpost` crate. On unsupported OS's, this crate is an no-op.
This commit is contained in:
parent
8b26c3ead5
commit
cb11d85150
7 changed files with 197 additions and 45 deletions
|
@ -14,6 +14,8 @@
|
|||
|
||||
extern crate ipc_channel;
|
||||
extern crate serde;
|
||||
extern crate signpost;
|
||||
extern crate util;
|
||||
|
||||
pub mod energy;
|
||||
pub mod mem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue