Repository navigation
libservo: Remove Opts::webrender_stats and -Z wr-stats - #39331
Conversation
|
@mrobinson there are merge conflicts in this PR. Also, is the 'Ctrl + F12' option to toggle the webrender stats documented somewhere? |
There is currently no documentation for servoshell keybindings, so I do not think so. |
The key bindings are documented in the book. For the wr-stats option, I guess it should also be mentioned in the debugging section, I can add this, but I don't know the context e.g when this should be used etc. I'll create a separate issue to discuss this.
|
In order to see the output of this you need to enable the profiling feature and then scroll around for a while. After that, if you request a WebRender capture via the keyboard ( Since this is related to the capture functionality which is controlled by the keyboard, I'm not sure a command-line argument is the appropriate way to activate it. Perhaps we should change the shortcut key or even remove the functionality (unless we can figure out how to make it populate the file). |
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. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Sounds good. Another option would be to expose this as a button in the minibrowser's toolbar or in an |
de7a5dd to
f23e034
Compare
This option is supported via the WebView API now and you can enable it
in servoshell by pressing
Ctrl+F12. The command-line argument andOptsfield are older and I believe are no longer necessary.Testing: This just removes a redundant command-line option, so no tests.