LinkedNestBlog

[Performance Tunning] 메서드 성능 측정 방법

by 이진원Dev
메서드 성능 측정 방법(Way Of Method Performance Measuring)

1. 전문 측정 라이브러리의 사용
- JMH : http://openjdk.java.net/projects/code-tools/jmh/
- Caliper : https://github.com/google/caliper
- JUnitPerf : http://www.clarkware.com/software/JUnitPerf.html
- JUnitBench : https://github.com/tpounds/junitbench
- ContiPerf : http://databene.org/contiperf

2. currentTimeMill() 혹은 nanoTime()의 사용 상세보기

* 원본
도서 '개발자가 반드시 알아야 할  자바 성능 튜닝 이야기'의 내가 만든 프로그램의 속도를 알고 싶다 중(p.34)