Skip to content

Commit

Permalink
bump deps and update benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 16, 2015
1 parent 3a4044b commit 41452ef
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ suite('leven', function () {
run(levenshteinComponent);
});

bench('ld', function () {
run(ld);
});

bench('levdist', function () {
run(levdist);
});

bench('levenshtein', function () {
run(levenshtein);
bench('ld', function () {
run(ld);
});

bench('natural', function () {
run(natural);
});

bench('levenshtein', function () {
run(levenshtein);
});
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"levenshtein": "^1.0.4",
"levenshtein-component": "0.0.1",
"levenshtein-edit-distance": "^0.1.0",
"matcha": "^0.5.0",
"natural": "^0.1.28"
"matcha": "^0.6.0",
"natural": "^0.2.1"
}
}
16 changes: 8 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ leven('cat', 'cow');
$ npm run bench
```
```
230,113 op/s » leven
201,026 op/s » levenshtein-edit-distance
40,454 op/s » fast-levenshtein
28,664 op/s » levenshtein-component
22,952 op/s » ld
16,882 op/s » levdist
11,180 op/s » levenshtein
9,624 op/s » natural
343,757 op/s » leven
264,625 op/s » levenshtein-edit-distance
49,981 op/s » fast-levenshtein
25,496 op/s » levenshtein-component
18,240 op/s » levdist
17,554 op/s » ld
12,633 op/s » natural
9,960 op/s » levenshtein
```


Expand Down

0 comments on commit 41452ef

Please sign in to comment.