kotlinx-benchmark icon indicating copy to clipboard operation
kotlinx-benchmark copied to clipboard

Annotation-less usage

Open CLOVIS-AI opened this issue 1 year ago • 2 comments
trafficstars

Hello! I would like to use this library as part of a DSL that I own, to be able to declare benchmarks dynamically.

However, the project currently requires declaring benchmarks with annotations.

Would it be possible to declare the function/functions in the runtime that are the equivalent of each annotation, such that it would be possible to use the algorithms etc of this library in real code, without needing compiled annotations?

CLOVIS-AI avatar May 29 '24 17:05 CLOVIS-AI