Skip to content

legalforce-research/stringmatch-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stringmatch-bench

Tools

Here provides benchmark tools to compare the performance of data structures for string matching.

Rust

Directory rust provides benchmarks for the following libraries:

After moving your current directory to rust, you can measure time performance and memory usage with your datasets in the following command.

$ cargo run --release --bin measure -- -k ../data/unidic/unidic -t ../data/wagahaiwa_nekodearu.txt

Or, you can measure search time more accurately with criterion.rs in the following command.

$ cargo bench

Python

Directory python provides benchmarks for the following libraries:

After moving your current directory to python, you can measure search time with pytest in the following command.

$ nox

Disclaimer

This software is developed by LegalForce, Inc., but not an officially supported LegalForce product.

License

Licensed under either of

at your option.

The datasets contained here are copied from third party repositories. Follow the license terms of each software

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published