Skip to content
Micro-benchmarking library for Java
Branch: master
Clone or download
aeubanks and ronshapiro Replace jdk-32 and point to plain `jdk` for jdk-64
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=240368659
Latest commit 984c890 Mar 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
caliper-api Remove all @author tags from Caliper and google-java-format everything. May 2, 2018
caliper-core Allow custom ResultProcessors to take their ResultProcessorConfig as … Oct 16, 2018
caliper-examples Remove all @author tags from Caliper and google-java-format everything. May 2, 2018
caliper-runner
caliper-util Remove all @author tags from Caliper and google-java-format everything. May 2, 2018
caliper-worker-android
caliper-worker-jvm Remove all @author tags from Caliper and google-java-format everything. May 2, 2018
caliper-worker Tolerate null reference for android.os.Build#FINGERPRINT. Jan 8, 2019
caliper Replace jdk-32 and point to plain `jdk` for jdk-64 Mar 29, 2019
.gitignore
.travis.yml Change the "script:" command in Travis config to run "mvn clean verif… Mar 12, 2018
COPYING Adding a unit test and an ant build file Dec 7, 2009
README.md Add barebones README.md for Caliper to replace the old README that ha… Nov 22, 2017
pom.xml

README.md

Caliper

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

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).

You can’t perform that action at this time.