From dc06e923160e088f29a010a5f2b883619d1b841a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Havl=C3=AD=C4=8Dek?= Date: Tue, 4 Aug 2026 23:41:47 +0200 Subject: [PATCH] fix: register benchmark annotation --- wurst/_wurst/Annotations.wurst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wurst/_wurst/Annotations.wurst b/wurst/_wurst/Annotations.wurst index d0b35aa6..990ea775 100644 --- a/wurst/_wurst/Annotations.wurst +++ b/wurst/_wurst/Annotations.wurst @@ -11,6 +11,9 @@ import NoWurst /** This annotation means that this function will be executed when the map is compiled. */ @annotation public function compiletime() +/** Functions annotated with @benchmark can be measured by the benchmark runner. */ +@annotation public function benchmark() + /** This annotation means that this function should no longer be used. */ @annotation public function deprecated()