mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
This PR fixes #10886. The -p option can be followed by either an interval number or a CSV filename. * In the interval profiling, the profiler output would be spitted out to the terminal periodically. Example usage: **./mach run -p 1 http://www.google.com** will print the time-profiling output to the terminal every second. * In the CSV file profiling, a CSV file will be generate upon termination of servo. Example usage: **./mach run -x -o out.png -p out.csv http://www.google.com** will generate out.csv upon termination of Servo. Source-Repo: https://github.com/servo/servo Source-Revision: d4315855aaddb9d9ed26cd730e9b75e15500c3bd
11 lines
307 B
Rust
11 lines
307 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
extern crate ipc_channel;
|
|
extern crate profile;
|
|
extern crate profile_traits;
|
|
|
|
#[cfg(test)]
|
|
mod time;
|