Testing out various entity resolution patterns using Rust, Python and who knows what else
I'm still checking my code so please don't look at this.
Running with ngrams=10 takes approx 3 seconds. 72188 matches found.
❯ hyperfine --runs 3 ./target/release/entity-rust
Benchmark 1: ./target/release/entity-rust
Time (mean ± σ): 3.128 s ± 0.021 s [User: 3.078 s, System: 0.043 s]
Range (min … max): 3.104 s … 3.142 s 3 runs
Running with ngrams=10 takes over 43 seconds. 649839 matches found.
hyperfine --runs 3 'python ./entity-py/entity.py'
Time (mean ± σ): 44.442 s ± 0.386 s [User: 45.508 s, System: 0.498 s]
Range (min … max): 43.998 s … 44.700 s 3 runs