Automatic performance testing of Scala libraries
Do any Scala testing libraries help with performance tests? Can't find anything relevant i开发者_如何学编程n ScalaTest or specs.
ScalaMeter (hat tip to Alexandar Procopec): a microbenchmarking and performance regression testing framework for the JVM platform that allows expressing performance tests in a way which is both simple and concise.
- It can be used both from Scala and Java.
- write performance tests in a DSL similar to ScalaTest and ScalaCheck
- specify test input data
- specify how test results are collected
- organize performance tests hierarchically
SPerformance is heading towards this goal: http://github.com/jsuereth/sperformance/
精彩评论