Skip to content
Micro-benchmarking library for Java
Java
Branch: master
Clone or download
clshepherd and kluever Fix 1 ErrorProneStyle finding:
* This catch block catches an exception and re-throws another, but swallows the caught exception rather than setting it as a cause. This can make debugging harder.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=274203368
Latest commit 67dc8ad Oct 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
caliper-api
caliper-core
caliper-examples
caliper-runner
caliper-util
caliper-worker-android
caliper-worker-jvm
caliper-worker
caliper
.gitignore
.travis.yml
COPYING
README.md
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.