Perfidix is a light-weight java library enabling users to benchmark sourcecode. Similar to JUnit, annotations can be placed before methods. Within the invocation of these methods, flexible measurements are performed. An eclipse plugin (Perclipse, available under https://github.com/sebastiangraf/perclipse) offers easy usage of any annotated methods.
<dependency>
<groupId>org.perfidix</groupId>
<artifactId>perfidix</artifactId>
<version>4.0.0</version>
</dependency>
@Bench
. Note that these methods have to have the following layout: public (final) void method()
. Benchmark
object.benchmarkObj.add(MyBenchmarkTest.class)
.BenchmarkResult
with benchmarkObj.run()
.new TabularSummaryOutput().visitBenchmark(benchmarkResultObj)
. OR
For further documentation and as an example, please refer to the org.perfidix.example
package.
This work is released in the public domain under the BSD 3-clause license
The documentation so far is accessible under http://perfidix.org (pointing to http://sebastiangraf.github.com/perfidix/).
The framework was presented at the Jazoon '07 as work in progress. The paper can be found over here.
Any questions, just contact sebastian.graf AT uni-konstanz.de
Perfidix is maintained by:
Concluded subprojects were: