Skip to content

google/caliper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cpovirkCaliper Team
and
Caliper Team
Dec 17, 2024
232df22 · Dec 17, 2024
Mar 27, 2023
Nov 15, 2022
Aug 5, 2024
Mar 22, 2023
Aug 7, 2024
Mar 25, 2022
Jun 14, 2021
Sep 22, 2021
Jul 9, 2024
Feb 21, 2024
May 18, 2015
Dec 7, 2009
Jan 19, 2023
Dec 17, 2024

Caliper

NOTICE: The Caliper web application that was at microbenchmarks.appspot.com was shut down on August 15, 2022.

Caliper is a tool for measuring Java code performance, primarily focused on microbenchmarks.

For new benchmarks, we recommend using a tool other than Caliper:

Building

To build the JVM version of Caliper (the only supported version at the moment), run:

mvn clean install -am -pl caliper

Android

Caliper currently has a number of artifacts related to Android. These are in a transitional state and no easy way to run Caliper benchmarks on Android is currently available.

If you are interested in building the Android artifacts for any reason, you can run:

mvn clean install -am -pl caliper-android

Note that for these artifacts to build, you must have an ANDROID_HOME environment variable set to the location of an Android SDK containing the file platforms/android-25/android.jar. Alternatively, you can pass -Dandroid.home=<path> to your mvn command to set the Android SDK directory that way, and/or -Dandroid.sdk.version=<version> to specify a version other than 25 (but note that the build may not work with a version lower than 25).