Releases: Nastel/gocypher-cybench-junit
Releases · Nastel/gocypher-cybench-junit
9th preview snapshot release
Preview snapshot release: 1.0.8-SNAPSHOT
- Made logging over
slf4j-log4j2
. - Removed some deprecated properties use.
- Added task to build libs dir.
- Updated dependencies.
- Made dedicated logger utilities class. Moved utils classes to
utils
package. - Keeping up with CyBench Launcher release v1.3.0.
8th preview snapshot release
Preview snapshot release: 1.0.7-SNAPSHOT
- Made aspects intercepted test execution
T2BClassTransformer
split into dedicated Test and Benchmark class transformers- Updated dependencies
- Updated weaver configuration to ignore missing classes for optional dependencies while scanning. Actual missing class error will be available at runtime
- Updated run scripts
- Updated readme to depict new T2B approach and run configurations
7th preview snapshot release
Preview snapshot release: 1.0.6-SNAPSHOT
- Made skipping annotation add for empty metadata list
- Added removal of JMH generated empty files
- Added agent instrumentation instance access
- Made generated benchmark class name suffix configurable
- Added
AnnotationBuilder
method to get annotation type
6th preview snapshot release
Preview snapshot release: 1.0.5-SNAPSHOT
- Added some JVM calculated variables to be available for metadata entries:
time.millis
- current time in milliseconds (timestamp)time.nanos
- current time in nanosecondsuuid
- random UUIDrandom
- random integer number ranging0-10000
- Restoring JMH original code before compilation to prevent recursive test class transformations.
5th preview snapshot release
Preview snapshot release: 1.0.4-SNAPSHOT
- Benchmark metadata setting based on configured template defined in
metadata.properties
file BenchmarkMetaData
setting overCyBenchMetadataList
, sincejavassist
does not support@Repeatable
annotations- Moved transformations to dedicated package
- Changed T2B generated sources to be compiled using API instead of
javac
command - Changed property names
t2b.jdk.home
->t2b.java.home
andt2b.exec.java
->t2b.java.exec
- Updated dependencies
4th preview snapshot release
Preview snapshot release: 1.0.3-SNAPSHOT
- Changed system properties naming. Now it is
t2b.build.dir
,t2b.test.dir
,t2b.bench.dir
,t2b.jdk.home
. - Fixed maven config to work with JDK path having spaces.
3rd preview snapshot release
Preview snapshot release: 1.0.2-SNAPSHOT
- Made default constructor public for any benchmark class
- Added
@State
annotation for benchmark classes having@Setup
and@TearDown
annotated methods
2nd preview snapshot release
Preview snapshot release: 1.0.1-SNAPSHOT
- Added
@BenchmarkTag
annotation for test method.- Added
@Benchmark
annotation next to@Test
annotation -@BenchmarkTag
requires it.
- Added
- Changing class and method visibility to comply JMH.
- Replaced
RUN_CLASS_PATH
property withT2B_CLASS_PATH
having only specific class path entries. - Added
@Setup
and@TearDown
(Level.Trial
) annotations mapping.
Initial preview snapshot release
Preview snapshot release: 1.0-SNAPSHOT
- Allows to build and run
JMH
benchmarks from your project unit tests. Supported unit test frameworks:- JUnit4
- JUnit5
- TestNG
- Can be run from provided OS shell scripts
- Can be integrated into your project builders and CI/CD through:
- OS shell scripts
- Maven
- Gradle
- Ant
- Available from Maven Central Snapshots repo:
<repositories> <repository> <id>oss.sonatype.org</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> ... <dependency> <groupId>com.gocypher.cybench</groupId> <artifactId>cybench-t2b-agent</artifactId> <version>1.0-SNAPSHOT</version> <scope>test</scope> </dependency>