mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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.
25 lines
590 B
TOML
25 lines
590 B
TOML
[package]
|
|
name = "profile_traits"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "profile_traits"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
energy-profiling = ["energymon", "energy-monitor"]
|
|
|
|
[dependencies]
|
|
ipc-channel = "0.5"
|
|
energymon = {git = "https://github.com/energymon/energymon-rust.git", optional = true}
|
|
energy-monitor = {version = "0.2.0", optional = true}
|
|
plugins = {path = "../plugins"}
|
|
serde = "0.8"
|
|
serde_macros = "0.8"
|
|
signpost = {git = "https://github.com/pcwalton/signpost.git"}
|
|
time = "0.1.12"
|
|
util = {path = "../util"}
|
|
|