Skip to content

dweiss/fsa-speedtests

Repository files navigation

# Benchmarks of FST/FSA performance
# ---------------------------------

# Implementations: 

# - Lucene FST
# - Morfologik FSA


# Installation
# ------------

bash CONFIGURE.datasets         # Downloads data sets and unpacks them.
bash CONFIGURE.workspace        # Configures Maven deps. and Eclipse workspace.


# Benchmark execution
# -------------------

             # Clean compile everything.
mvn clean install

             # Run the benchmark [full]
java -jar target/fsa-speedtests-0.0.1-SNAPSHOT.jar  

             # Run the benchmark [precompilation, batch compiler]
java -jar target/fsa-speedtests-0.0.1-SNAPSHOT.jar  -Jbatch=-Xbatch -Jcomp=-Xcomp

             # Run the benchmark [limit to LUCENE/FSA5 and a single test file only.]
java -jar -DtestFile=data-sets/sample-no-matches.txt -Dimplementation=LUCENE,FSA5             


# Recompiling test data [example]
# -------------------------------

# mvn clean install

# rm -rf data-sets.compiled/allterms-20110115/lucene
# java -cp target/fsa-speedtests-0.0.1-SNAPSHOT.jar \
#   com.dawidweiss.fsaspeed.lucene.LuceneFSACompiler data-sets\allterms-20110115.txt

About

Speed tests of FSA traversals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages