diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 14:42:21 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 14:42:21 +0300 |
| commit | 93ea4e79528ba9f42d57f9004260dcba309492ba (patch) | |
| tree | 9db04347f5e85195e27550e2ec6a803884112d28 /README.md | |
| parent | dfebac1019560e278c605247de3b98cff1d73226 (diff) | |
benchmarks: add yasl-benchmark meson target and document in README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |
