The Servo Book - 0.0.1can run unit tests with ./mach test-unit . Example calls: Running the whole test-suite can be very memory intensive, you can dampen this behaviour somewhat with with restricting the amount of compiled crates Servo's runs: Interval Profiling TSV Profiling Generating Timelines Built-in sampling profiler Memory Profiling Using macOS Instruments Interval Profiling Using the -p option followed by a number (time the -x OR -o option so that performance information can be collected during automated runs. Example usage: The formats of the profiling information in the Interval and TSV Profiling options are the essentially0 码力 | 107 页 | 2.48 MB | 3 天前3
共 1 条
- 1













