summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-12 14:42:21 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-12 14:42:21 +0300
commit93ea4e79528ba9f42d57f9004260dcba309492ba (patch)
tree9db04347f5e85195e27550e2ec6a803884112d28 /README.md
parentdfebac1019560e278c605247de3b98cff1d73226 (diff)
benchmarks: add yasl-benchmark meson target and document in README
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5240329..65c5920 100644
--- a/README.md
+++ b/README.md
@@ -248,6 +248,19 @@ The test disables automatic physical input/GPU attachment and cleans up its
server. Set `YASL_XORG_MODULE_PATH` to a comma-separated module search path if
the test drivers are outside Xorg's default directories.
+## Benchmarks
+
+YASL includes a dedicated performance microbenchmark target (`yasl-benchmark`) evaluating CPU efficiency, memory footprint, cache line pressure, and data structure operations across core hot paths (surface lookups, input queue expansions, ring buffer throughput, timer arm/disarm cycles, and multi-output refresh rate scans):
+
+```sh
+# Run via meson test runner
+meson test -C build --benchmark --verbose
+
+# Or invoke the executable directly
+ninja -C build tests/yasl-benchmark
+./build/tests/yasl-benchmark
+```
+
## Quick Example
```c