test: add render pass benchmark

This file is based on https://ozal.ski/bench.c which was previously use to provide benchmarks
when we moved from the legacy rendering API to the current render pass architecture.
This commit is contained in:
Simon Zeni 2026-03-12 11:41:34 -04:00
parent a5c87484c2
commit 2a3b42d4a4
2 changed files with 100 additions and 0 deletions

View file

@ -8,3 +8,9 @@ benchmark(
executable('bench-scene', 'bench_scene.c', dependencies: wlroots),
timeout: 30,
)
benchmark(
'render-pass',
executable('bench-render-pass', 'bench_render_pass.c', dependencies: wlroots),
timeout: 30,
)