vickumar1981 / stringdistance

A fuzzy matching string distance library for Scala and Java that includes Levenshtein distance, Jaro distance, Jaro-Winkler distance, Dice coefficient, N-Gram similarity, Cosine similarity, Jaccard similarity, Longest common subsequence, Hamming distance, and more..
https://vickumar1981.github.io/stringdistance/api/com/github/vickumar1981/stringdistance/index.html
Other
78 stars 15 forks source link

Benchmarking: Update benchmarks/performance #59

Closed vickumar1981 closed 3 years ago

vickumar1981 commented 4 years ago

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

vickumar1981 commented 4 years ago

Per PR: https://github.com/vickumar1981/stringdistance/pull/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:

vickumar1981 commented 4 years ago

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 3 years ago

Closing this issue and creating some more granular ones.