book icon indicating copy to clipboard operation
book copied to clipboard

Unsure how to test performance on MacOS

Open blairwilcox opened this issue 7 years ago • 2 comments

Where in the docs did you come across this? In the section on Time-Profiling, the author mentions using the Linux tool perf to test the results of cargo bench.

Describe what about it does not make sense Since I'm using a Mac, I don't have access to the perf tool, and I don't know of any equivalent tools I could use to get similar data.

How could we improve it? It would be nice to mention additional tools that could be used in MacOS or Windows. It would be even more helpful if you could also link to additional tutorials for how use them to test Rust

blairwilcox avatar Aug 19 '18 00:08 blairwilcox

FYI, the system-supported profiler for OSX is Instruments, which comes with XCode. Would love getting a PR that added and Instruments section!

fitzgen avatar Aug 20 '18 18:08 fitzgen

I may do that if I get the time. If not there's a very useful guide here for anyone else who wants to submit this PR!

wizofe avatar Sep 02 '18 23:09 wizofe