JPerf is a simple framework for writing and running automated performance and scalability tests. It's like JUnit but for performance.
Features:
- Measure throughput and latency as number of threads grow
- Can be used to measure performance of any Java code
- Perfect for measuring the impact of performance optimizations
- Shows average duration and throughput (invocations per second)