This project is a performance benchmark for different versions of the Google Think library, specifically focusing on the AesGcmJce class.
It uses the Java Microbenchmark Harness (JMH) to measure the performance of the encrypt method.
- Java Development Kit (JDK) 8 or later
- sbt (Scala Build Tool)
- Clone the repository:
git clone https://github.com/bjornjorgensen/GoogleThinkBenchmark.git
cd GoogleThinkBenchmarkUpdate the Tink version (optional): If you want to benchmark a specific version of Google Tink, update the version number in the build.sbt file:
"com.google.crypto.tink" % "tink" % "YOUR_DESIRED_VERSION"
Reload the sbt project:
sbt reloadRun the benchmark
sbt jmh:runThis command will compile and run the benchmark, and the results will be displayed in the terminal.