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).
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.