Benchmarking: Update benchmarks/performance
vickumar1981 opened this issue · 3 comments
vickumar1981 commented
This is very open-ended, but at a start, deciding upon a way to run benchmark tests would be a great improvement, and would allow code changes to be tested from the perspective of performance.
** To do **
Evaluate bench marking tools availableDecide upon bench marking approachImplement benchmarks in test suite.
vickumar1981 commented
Per PR: #61,
we'll be using the sbt-jmh
plugin (https://github.com/ktoso/sbt-jmh) to run behcnmarks.
Currently, benchmarks can be run from the project root:
./sbt bench/jmh:run -i 1 -wi 1 -f1 -t1
TO DO:
Bump, Doesn't work. Stick withsbt-jmh
plugin version to0.4.0
0.3.7
- Document usage of benchmarks
Decide whether to benchmark against another library likeapache-commons-text
(https://commons.apache.org/proper/commons-text/)Decide whether to add more benchmarks for other classes besidesArrayDistance
(maybeStringDistance
, for example)
vickumar1981 commented
Tested version 0.4.0
of the sbt-jmh plugin, and it doesn't look like it's working. Will stick with 0.3.7
for now.
vickumar1981 commented
Closing this issue and creating some more granular ones.