|
Project Information
Featured
Links
|
Caliper is Google's open-source framework for writing, running and viewing the results of JavaMicrobenchmarks. The 0.5 release is a little rough around the edges, but we have already found it quite useful, and the API will stay mostly stable. The simplest complete Caliper benchmark looks like this: public class MyBenchmark extends SimpleBenchmark {
public void timeMyOperation(int reps) {
for (int i = 0; i < reps; i++) {
MyClass.myOperation();
}
}
}
|
