- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/google/caliper
- 软件文档: https://github.com/google/caliper/wiki
软件介绍
Caliper是Google用来编写、测试和查看 JavaMicrobenchmarks 结果的开源框架。
最简单的 Caliper benchmark 代码如下:
public class MyBenchmark extends SimpleBenchmark {
public void timeMyOperation(int reps) {
for (int i = 0; i < reps; i++) {
MyClass.myOperation();
}
}
}
