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

#130: Support benchmarks having @State annotations in parent classes

Open 07jasjeet opened this issue 1 year ago • 1 comments
trafficstars

Targets #130

Changelog

  1. Whenever a parent of a child class is directly or indirectly annotated with @State annotation, our child class will also be considered when generating benchmarks.
  2. Supplimentary annotations like @Measurement @Warmup @OutputTime @BenchmarkMode are considered in this order: child -> top most annotated parent

Note: This is a phase-1 implementation, with just the basic idea laid out.

07jasjeet avatar Mar 13 '24 12:03 07jasjeet

Note: This is a phase-1 implementation, with just the basic idea laid out.

I would appreciate it if you could clarify what exactly you think should be included in phase 1.

qurbonzoda avatar Mar 19 '24 02:03 qurbonzoda