mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
profile: Remove integration with Instruments.app "Points of Interest" (#39354)
This changes removes the integration with Instruments.app "Points of Interest" track for a variety of reasons: - This functionality is made somewhat redundant by Servo's support for Perfetto traces. - This functionality depends on the `signpost` crate which hasn't seen activity for 9 years and only supports macOS. Testing: This removes some functionality that is only observable via Instruments.app, so testing it is difficult. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
054b35e5b0
commit
020b82e1fe
6 changed files with 1 additions and 25 deletions
|
@ -133,10 +133,6 @@ pub struct DebugOptions {
|
|||
|
||||
/// Log GC passes and their durations.
|
||||
pub gc_profile: bool,
|
||||
|
||||
/// True to use OS native signposting facilities. This makes profiling events (script activity,
|
||||
/// reflow, compositing, etc.) appear in Instruments.app on macOS.
|
||||
pub signpost: bool,
|
||||
}
|
||||
|
||||
impl DebugOptions {
|
||||
|
@ -156,7 +152,6 @@ impl DebugOptions {
|
|||
"gc-profile" => self.gc_profile = true,
|
||||
"profile-script-events" => self.profile_script_events = true,
|
||||
"relayout-event" => self.relayout_event = true,
|
||||
"signpost" => self.signpost = true,
|
||||
"" => {},
|
||||
_ => return Err(String::from(option)),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue