We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @martinus
First of all, thanks for nanobench. When trying the example in the doc on both Linux/macOS with nanobench v4.3.11, i got this:
nanobench
Linux/macOS
nanobench v4.3.11
$ ./full_example | ns/op | op/s | err% | total | benchmark |--------------------:|--------------------:|--------:|----------:|:---------- | 7.65 | 130,673,512.18 | 0.8% | 0.01 | `compare_exchange_strong`
But the doc shows a different output format with additional columns:
| ns/op | op/s | err% | ins/op | cyc/op | IPC | bra/op | miss% | total | benchmark |--------------------:|--------------------:|--------:|----------------:|----------------:|-------:|---------------:|--------:|----------:|:---------- | 5.63 | 177,595,338.98 | 0.0% | 3.00 | 17.98 | 0.167 | 1.00 | 0.1% | 0.00 | `compare_exchange_strong`
What should I do to get these extra columns (ex. ins/op, cyc/op ...)? Help appreciated.
ins/op
cyc/op
The text was updated successfully, but these errors were encountered:
See the docs, specifically this piece:
Though it doesn't appear to work in WSL (haven't investigated, just noticed it's missing).
Sorry, something went wrong.
Exactly, unfortunately additional hardware information is only available on Linux.
Thanks guys. Running the same example with sudo on Linux gave me the extra perf's columns
sudo
Linux
perf's
No branches or pull requests
Hi @martinus
First of all, thanks for
nanobench
.When trying the example in the doc on both
Linux/macOS
withnanobench v4.3.11
, i got this:But the doc shows a different output format with additional columns:
What should I do to get these extra columns (ex.
ins/op
,cyc/op
...)?Help appreciated.
The text was updated successfully, but these errors were encountered: