summaryrefslogtreecommitdiff
path: root/tests/meson.build
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 /tests/meson.build
parentdfebac1019560e278c605247de3b98cff1d73226 (diff)
benchmarks: add yasl-benchmark meson target and document in README
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 75ff00d..910f17c 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -133,6 +133,14 @@ if has_wayland
test('cursor-wayland', cursor_wayland_test)
endif
+benchmark_exe = executable(
+ 'yasl-benchmark',
+ 'benchmark.c',
+ include_directories: inc,
+ dependencies: yasl_dep,
+)
+benchmark('performance', benchmark_exe)
+
if get_option('integration_tests')
if has_cocoa
native_test = executable('yasl-native-test', 'cocoa/test_native.c',