Skip to content

Commit 36131c2

Browse files
author
Ed Page
committed
perf: Measure latest performance
1 parent 3e66a99 commit 36131c2

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
2+
# Spell Check Shootout
3+
4+
These are the results as of 2021-05-21
5+
6+
Command:
7+
```bash
8+
$ ./benchsuite/benchsuite.sh . epage-11562
9+
```
10+
11+
12+
Spell checkers:
13+
- typos-cli 0.4.0 w/ cargo 1.52.0 (69767412a 2021-04-21)
14+
- misspell 0.2.0 w/ cargo 1.52.0 (69767412a 2021-04-21)
15+
- misspell_go 0.3.4
16+
- codespell 2.0.0 w/ Python 3.8.5
17+
- scspell 2.2 w/ Python 3.8.5
18+
19+
## linux_clean fixture
20+
21+
linux_clean: linux b5fc7a89e58bcc059a3d5e4db79c481fb437de59
22+
23+
| Command | Mean [s] | Min [s] | Max [s] | Relative |
24+
|:---|---:|---:|---:|---:|
25+
| `./typos/bin/typos ./linux_clean` | 12.914 ± 0.032 | 12.868 | 12.989 | 3.23 ± 1.19 |
26+
| `./typos/bin/typos --no-unicode ./linux_clean` | 12.024 ± 0.022 | 11.991 | 12.065 | 3.00 ± 1.11 |
27+
| `./typos/bin/typos --threads 1 ./linux_clean` | 23.329 ± 0.477 | 22.036 | 23.812 | 5.83 ± 2.15 |
28+
| `./misspell_rs/bin/misspell ./linux_clean` | 18.631 ± 0.291 | 18.060 | 19.201 | 4.66 ± 1.72 |
29+
| `./misspell_go/bin/misspell ./linux_clean` | 23.293 ± 0.860 | 22.297 | 25.173 | 5.82 ± 2.15 |
30+
| `./codespell/bin/codespell ./linux_clean` | 64.360 ± 1.851 | 62.312 | 68.605 | 16.08 ± 5.94 |
31+
32+
## linux_built fixture
33+
34+
linux_built: linux b5fc7a89e58bcc059a3d5e4db79c481fb437de59
35+
36+
| Command | Mean [s] | Min [s] | Max [s] | Relative |
37+
|:---|---:|---:|---:|---:|
38+
| `./typos/bin/typos ./linux_built` | 12.370 ± 0.092 | 12.285 | 12.604 | 1.55 ± 0.37 |
39+
| `./typos/bin/typos --no-unicode ./linux_built` | 11.439 ± 0.024 | 11.395 | 11.473 | 1.44 ± 0.34 |
40+
| `./typos/bin/typos --threads 1 ./linux_built` | 21.880 ± 0.146 | 21.767 | 22.255 | 2.75 ± 0.66 |
41+
| `./misspell_rs/bin/misspell ./linux_built` | 18.918 ± 0.247 | 18.591 | 19.504 | 2.38 ± 0.57 |
42+
| `./misspell_go/bin/misspell ./linux_built` | 38.575 ± 0.132 | 38.332 | 38.719 | 4.84 ± 1.16 |
43+
| `./codespell/bin/codespell ./linux_built` | 61.855 ± 1.758 | 59.225 | 65.833 | 7.77 ± 1.87 |
44+
45+
## ripgrep_clean fixture
46+
47+
ripgrep_clean: rg 973de50c9ef451da2cfcdfa86f2b2711d8d6ff48
48+
49+
| Command | Mean [s] | Min [s] | Max [s] | Relative |
50+
|:---|---:|---:|---:|---:|
51+
| `./typos/bin/typos ./ripgrep_clean` | 0.047 ± 0.003 | 0.043 | 0.057 | 1.10 ± 0.07 |
52+
| `./typos/bin/typos --no-unicode ./ripgrep_clean` | 0.043 ± 0.001 | 0.041 | 0.051 | 1.00 |
53+
| `./typos/bin/typos --threads 1 ./ripgrep_clean` | 0.071 ± 0.002 | 0.068 | 0.078 | 1.65 ± 0.08 |
54+
| `./misspell_rs/bin/misspell ./ripgrep_clean` | 0.053 ± 0.002 | 0.049 | 0.059 | 1.25 ± 0.06 |
55+
| `./misspell_go/bin/misspell ./ripgrep_clean` | 0.090 ± 0.003 | 0.085 | 0.099 | 2.10 ± 0.10 |
56+
| `./codespell/bin/codespell ./ripgrep_clean` | 0.251 ± 0.010 | 0.239 | 0.270 | 5.88 ± 0.30 |
57+
58+
## ripgrep_built fixture
59+
60+
ripgrep_built: rg 973de50c9ef451da2cfcdfa86f2b2711d8d6ff48
61+
62+
| Command | Mean [s] | Min [s] | Max [s] | Relative |
63+
|:---|---:|---:|---:|---:|
64+
| `./typos/bin/typos ./ripgrep_built` | 0.049 ± 0.003 | 0.046 | 0.062 | 1.10 ± 0.07 |
65+
| `./typos/bin/typos --no-unicode ./ripgrep_built` | 0.045 ± 0.001 | 0.043 | 0.049 | 1.00 |
66+
| `./typos/bin/typos --threads 1 ./ripgrep_built` | 0.073 ± 0.004 | 0.070 | 0.088 | 1.63 ± 0.09 |
67+
| `./misspell_rs/bin/misspell ./ripgrep_built` | 0.054 ± 0.002 | 0.051 | 0.061 | 1.22 ± 0.06 |
68+
| `./misspell_go/bin/misspell ./ripgrep_built` | 0.109 ± 0.004 | 0.102 | 0.119 | 2.45 ± 0.11 |
69+
| `./codespell/bin/codespell ./ripgrep_built` | 0.306 ± 0.007 | 0.296 | 0.317 | 6.86 ± 0.24 |

0 commit comments

Comments
 (0)