RapidFuzz/Benchmarks.md

30 lines
1.0 KiB
Markdown
Raw Normal View History

2020-03-30 19:40:20 +00:00
# Benchmarks
To compare the speed of FuzzyWuzzy and RapidFuzz the Benchmark of FuzzyWuzzy is used.
2020-05-19 16:39:16 +00:00
Therefore the Benchmark is always executed for FuzzyWuzzy and RapidFuzz.
2020-03-30 19:40:20 +00:00
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
2020-05-27 12:15:45 +00:00
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/fuzz.ratio.svg?sanitize=true">
2020-03-30 19:40:20 +00:00
## fuzz.partial_ratio
2020-05-27 12:15:45 +00:00
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/fuzz.partial_ratio.svg?sanitize=true">
2020-03-31 06:48:53 +00:00
2020-03-30 19:40:20 +00:00
## fuzz.WRatio
2020-05-27 12:15:45 +00:00
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/fuzz.WRatio.svg?sanitize=true">
2020-04-04 04:15:37 +00:00
## process.extract
2020-05-27 12:15:45 +00:00
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/process.extract.svg?sanitize=true">
2020-04-04 04:15:37 +00:00
## process.extractOne
2020-05-27 12:15:45 +00:00
<img src="https://raw.githubusercontent.com/rhasspy/rapidfuzz/master/docs/img/process.extractOne.svg?sanitize=true">