Add threading_performance_report.md

This commit is contained in:
2025-08-25 12:57:00 -04:00
parent 71e8fdf881
commit 36e1bf0e2d
4 changed files with 93 additions and 4 deletions

10
bench_volatile_loop.cpp Normal file
View File

@@ -0,0 +1,10 @@
#include <nanobench.h>
int main() {
ankerl::nanobench::Bench().run("volatile loop to 500", [&] {
for (volatile int i = 0; i < 800; i = i + 1)
;
});
return 0;
}