Skip to content

Commit 0b674c8

Browse files
committed
Bump version to 3.0.1
1 parent 3039747 commit 0b674c8

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@2toad/profanity",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "A multi-language profanity filter with full TypeScript support",
55
"homepage": "https://github.com/2Toad/Profanity",
66
"author": "2Toad",

src/benchmark/results.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,23 @@
88

99
### Benchmarks
1010

11+
#### v3.0.1
12+
```
13+
benchmark-1 | Using test data: v1
14+
benchmark-1 | exists() - small clean text x 2,357,978 ops/sec ±3.50% (86 runs sampled)
15+
benchmark-1 | exists() - small profane text x 1,705,114 ops/sec ±6.80% (77 runs sampled)
16+
benchmark-1 | exists() - large clean text x 47,741 ops/sec ±1.74% (94 runs sampled)
17+
benchmark-1 | exists() - large profane text x 817,113 ops/sec ±0.64% (94 runs sampled)
18+
benchmark-1 | exists() - partial match, small profane text x 2,144,550 ops/sec ±5.92% (94 runs sampled)
19+
benchmark-1 | censor() - Word, small profane text x 1,506,507 ops/sec ±6.02% (91 runs sampled)
20+
benchmark-1 | censor() - FirstChar, small profane text x 1,507,623 ops/sec ±5.90% (92 runs sampled)
21+
benchmark-1 | censor() - FirstVowel, small profane text x 1,105,023 ops/sec ±0.79% (88 runs sampled)
22+
benchmark-1 | censor() - AllVowels, small profane text x 1,054,991 ops/sec ±5.46% (89 runs sampled)
23+
benchmark-1 | censor() - Word, large profane text x 1,659 ops/sec ±5.81% (89 runs sampled)
24+
benchmark-1 | censor() - partial match, Word, small profane text x 1,503,000 ops/sec ±0.55% (94 runs sampled)
25+
benchmark-1 | Fastest: exists() - small clean text
26+
```
27+
1128
#### v3.0.0
1229
```
1330
Using test data: v1

0 commit comments

Comments
 (0)