Automatic performance testing of Scala libraries
-
27-09-2019 - |
Question
Do any Scala testing libraries help with performance tests? Can't find anything relevant in ScalaTest or specs.
Solution
SPerformance is heading towards this goal: http://github.com/jsuereth/sperformance/
OTHER TIPS
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow