mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
libservo: Remove Opts::webrender_stats
and -Z wr-stats
(#39331)
This option is supported via the WebView API now and you can enable it in servoshell by pressing `Ctrl` + `F12`. The command-line argument and `Opts` field are older and I believe are no longer necessary. Testing: This just removes a redundant command-line option, so no tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
eaca68472b
commit
5505d00334
3 changed files with 1 additions and 12 deletions
|
@ -134,9 +134,6 @@ pub struct DebugOptions {
|
|||
/// Log GC passes and their durations.
|
||||
pub gc_profile: bool,
|
||||
|
||||
/// Show webrender profiling stats on screen.
|
||||
pub webrender_stats: 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,
|
||||
|
@ -160,7 +157,6 @@ impl DebugOptions {
|
|||
"relayout-event" => self.relayout_event = true,
|
||||
"signpost" => self.signpost = true,
|
||||
"dump-style-stats" => self.dump_style_statistics = true,
|
||||
"wr-stats" => self.webrender_stats = true,
|
||||
"" => {},
|
||||
_ => return Err(String::from(option)),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue