30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
# Benchmarks
|
|
|
|
To compare the speed of FuzzyWuzzy and RapidFuzz the Benchmark of FuzzyWuzzy is used.
|
|
Therefore the Benchmark is always executed for FuzzyWuzzy and RapidFuzz.
|
|
Afterwards a ratio between the runtime of both results is calculated. The benchmark can be found [here](https://github.com/rhasspy/rapidfuzz/blob/master/python/bench). The results of the benchmarks are visualised below.
|
|
|
|
## fuzz.ratio
|
|
|
|
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/fuzz.ratio.svg?sanitize=true">
|
|
|
|
|
|
## fuzz.partial_ratio
|
|
|
|
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/fuzz.partial_ratio.svg?sanitize=true">
|
|
|
|
|
|
## fuzz.WRatio
|
|
|
|
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/fuzz.WRatio.svg?sanitize=true">
|
|
|
|
|
|
## process.extract
|
|
|
|
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/process.extract.svg?sanitize=true">
|
|
|
|
|
|
## process.extractOne
|
|
|
|
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/process.extractOne.svg?sanitize=true">
|