Open codecnotsupported opened 5 months ago
It's weird, I ran into it too. It works when invoked as cargo bench --bench my_benchmark --profile profile -- --profile-time 10
, but when using 0.5.1, it doesn't work on the resulting binary, i.e. if you try to pass it to the file in deps
folder.
Edit: I did some debugging of cargo bench
with strace
.
Seems you need to invoke it as --profile-time 10 --bench
[Title]