cargo-instruments
cargo-instruments copied to clipboard
A cargo plugin to generate Xcode Instruments trace files
The `openssl-sys` crate expects to find the OpenSSL headers and libraries already installed. If they're not, then installing `cargo-instruments` fails. Installing with the `vendored-openssl` feature works in this case by...
Neither `cargo install cargo-instruments` nor the Nix instructions worked for me for the same reason: `openssl-sys` expects openssl to have been installed via Homebrew. It would be good to mention...
I'm trying to profile some code, but whenever I run `cargo-instruments` I encounter this error: ``` The document “Launch_simple_agent-0f8bddef344bdebb_2021-07-27_18.16.23_D2914DDE.trace” could not be opened. *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil...
I'm not sure whether this is a mistake on my side or a missing feature. I have Big Sur (11.5.1) and when trying to run some cargo-instruments it fails saying...
I watched the first video you linked to in the Readme to learn about instruments, that was great! Unfortunately, the middle 2 links don't seem to go to specific videos...
 Mac OS: 12.3.1 M1 Max Xcode: 13.3.1 cargo-instruments: v0.4.5
Given: ``` cargo-features = ['named-profiles'] [workspace] members = [ "foo", ] ``` I get the error: ``` ndmitchell@ndmitchell-mbp buck2 % cargo instruments failed to parse manifest at `/Users/ndmitchell/fbsource/fbcode/buck2/Cargo.toml` ``` It...
I'm trying in vain to run `cargo instruments --bench ` inside a workspace containing multiple members, each with multiple test and bench targets. Unfortunately, the only error I ever get...
Right now, I have to `cd` into a particular package within my workspace to use `cargo-instruments`. Other builtin cargo commands (like `cargo run` and `cargo build`) support a `-p`/`--package` argument...
``` hungkhoaitay@Hungs-MacBook-Air in-summer-we-render % cargo instruments -t time --release --bin ply_to_png -- -i $plySource/binary_longdress/longdress_vox10_1223.ply -x 600 -w 400 -h 800 -o ouput.png Compiling in-summer-we-render v0.1.0 (/Users/hungkhoaitay/Documents/Uni/Summer Y1/CP3108B/in-summer-we-render) Finished release [optimized...