"Fossies" - the Fresh Open Source Software Archive

Member "groovy-4.0.12/subprojects/performance/README.adoc" (31 Jan 1980, 1825 Bytes) of package /linux/misc/apache-groovy-src-4.0.12.zip:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming AsciiDoc format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

This subproject contains two sets of performance related tests, compiler tests and benchmarks.

Compiler Performance Tests

The compiler tests can be run using the following Gradle task:

./gradlew :perf:performanceTests

This will compile various source files using several past versions of Apache Groovy in addition to the current source version.


JMH Benchmarks can be run using:

./gradlew :perf:jmh

In order to run the benchmarks against InvokeDynamic generated classes use the indy property:

./gradlew -Pindy=true :perf:jmh

Groovy and Java sources placed in src/test will also be available to the benchmarks.

To run a single benchmark or a matched set of benchmarks, use the benchInclude property:

./gradlew -PbenchInclude=CallsiteBench :perf:jmh

The benchInclude property will perform a partial match against package names or class names. It is equivalent to .${benchInclude}..