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()