ContiPerf is a lightweight testing utility to easily leverage JUnit 4 test cases as performance tests, e.g. for continuous performance testing. It is inspired by JUnit 4's easy test configuration with annotations, and by JUnitPerf's idea of wrapping Unit tests for performance testing, but is more powerful and easier to use. It uses Java annotations for defining test execution characteristics and performance requirements. You can mark a test to run a certain number of times, or to be repeatedly executed for a certain amount of time. Performance requirements can be maximum, average, medium, or any percentile execution time. You can run tests in two different modes, using them as simple unit tests or performance tests. Easy integration with Eclipse and Maven. Export of an execution summary to a CSV file. A small library without external dependencies (only JUnit).
| Tags | Performance Testing performance |
|---|---|
| Licenses | Apache 2.0 LGPL v3 Eclipse Public License v2 BSD License |
| Operating Systems | Windows Linux Solaris Mac OS X |
| Implementation | Java junit |
Recent releases


Release Notes: This release brings major new features for more realistic performance testing: ramp-up times can be used to slowly increase the load on the tested features. A warm-up time tells ContiPerf how long to wait after the beginning of a test run before evaluation and measuring execution times. A flexible and extensible timer mechanism can be used to incur wait times between test invocations and a ParallelRunner can be used to execute all tests of a JUnit test class concurrently.


Release Notes: This release provides consistent behavior among JUnit releases 4.7-4.9 and is able to create HTML reports with statistical summaries and latency distribution charts.


Release Notes: This release provides improvements in the framework's performance, resource allocation, and measurement precision.


Release Notes: By annotating a class, you can provide defaults that apply for all its test methods. Tests can be combined to test suites, optionally adding performance test definitions and requirements.


Release Notes: ContiPerf 1.04 fixes a bug in verification of the 'max' requirement which was introduced in 1.03.