Registry / testing / nanobench

nanobench

JSON →
library4.3.11vcpkgunverified

Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

vcpkg install nanobench
INSTALL
IMPORT
SIG · NANOBENCH
N
nanobench
testingcppv4.3.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

nanobench.h
#include <nanobench.h>

Benchmark vector push_back

#include <nanobench.h> #include <vector> int main() { ankerl::nanobench::Bench().run("vector push_back", [&] { std::vector<int> v; for (int i = 0; i < 1000; ++i) v.push_back(i); }); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.3.11latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

nanobench — pip install nanobench · libregistry