Skip to content

objectionary/benchmark

Repository files navigation

logo

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

mvn License

It's a benchmark that puts together:

The goal is to test the performance of Java code before optimization and after, then comparing the results. Intermediate artifacts are in this summary.html.

This is the summary of the tests performed with the TOTAL set to 1000000, at 2024-04-26 03:27, on Linux, with 4 CPUs:

Before After Diff
Time, msec (with JIT, ×40 cycles) 2137 1437 -32%
Time, msec (no JIT) 2244 938 -58%
Total .class files 2 3
Bytes in all .class files 5593 5495
JAR file size, bytes 5067 5229

This table is updated on every successful run of the make job of GitHub Actions. The following JDK is used:

java 21.0.3 2024-04-16 LTS
Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.3+7-LTS-152, mixed mode, sharing)

How to Contribute

Fork repository, make changes, then send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full build:

$ make

You will need Maven 3.3+ and Java 11+ installed.