Skip to content

Commit f12f7fd

Browse files
author
LongYinan
committed
doc: add bcrypt to README
1 parent 666f122 commit f12f7fd

File tree

2 files changed

+26
-25
lines changed

2 files changed

+26
-25
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Make rust crates binding to NodeJS use [napi-rs](https://github.com/Brooooooklyn
1616

1717
# Packages
1818

19-
| Package | Status | Description |
20-
| ---------------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------- |
21-
| [`@node-rs/crc32`](./packages/crc32/README.md) | ![](https://github.com/Brooooooklyn/node-rs/workflows/CI/badge.svg) | Fastest `CRC32` implementation using `SIMD` |
22-
| [`@node-rs/jieba`](./packages/jieba/README.md) | ![](https://github.com/Brooooooklyn/node-rs/workflows/CI/badge.svg) | [`jieba-rs`](https://github.com/messense/jieba-rs) binding |
19+
| Package | Status | Description |
20+
| -------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------- |
21+
| [`@node-rs/crc32`](./packages/crc32) | ![](https://github.com/Brooooooklyn/node-rs/workflows/CI/badge.svg) | Fastest `CRC32` implementation using `SIMD` |
22+
| [`@node-rs/jieba`](./packages/jieba) | ![](https://github.com/Brooooooklyn/node-rs/workflows/CI/badge.svg) | [`jieba-rs`](https://github.com/messense/jieba-rs) binding |
23+
| [`@node-rs/bcrypt`](./packages/bcrypt) | ![](https://github.com/Brooooooklyn/node-rs/workflows/CI/badge.svg) | Fastest bcrypt implementation |

packages/bcrypt/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,25 @@ Memory: 16 GB
3939
```
4040
4141
<pre>
42-
@node-rs/bcrypt x <span style="color: hotpink;">72.11</span> ops/sec ±1.43% (33 runs sampled)
43-
node bcrypt x <span style="color: hotpink;">62.75</span> ops/sec ±2.95% (30 runs sampled)
44-
Async hash round 10 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
45-
@node-rs/bcrypt x <span style="color: hotpink;">18.49</span> ops/sec ±1.04% (12 runs sampled)
46-
node bcrypt x <span style="color: hotpink;">16.67</span> ops/sec ±2.05% (11 runs sampled)
47-
Async hash round 12 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
48-
@node-rs/bcrypt x <span style="color: hotpink;">3.99</span> ops/sec ±3.17% (6 runs sampled)
49-
node bcrypt x <span style="color: hotpink;">3.13</span> ops/sec ±1.92% (6 runs sampled)
50-
Async hash round 14 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
51-
@node-rs/bcrypt x <span style="color: hotpink;">14.32</span> ops/sec ±0.55% (10 runs sampled)
52-
node bcrypt x <span style="color: hotpink;">13.55</span> ops/sec ±2.83% (10 runs sampled)
53-
Async verify bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
54-
@node-rs/bcrypt x <span style="color: hotpink;">15.98</span> ops/sec ±1.12% (44 runs sampled)
55-
node bcrypt x <span style="color: hotpink;">14.55</span> ops/sec ±1.30% (40 runs sampled)
56-
Hash round 10 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
57-
@node-rs/bcrypt x <span style="color: hotpink;">4.65</span> ops/sec ±3.60% (16 runs sampled)
58-
node bcrypt x <span style="color: hotpink;">4.26</span> ops/sec ±1.90% (15 runs sampled)
59-
Hash round 12 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
60-
@node-rs/bcrypt x <span style="color: hotpink;">1.16</span> ops/sec ±2.65% (7 runs sampled)
61-
node bcrypt x <span style="color: hotpink;">1.04</span> ops/sec ±2.95% (7 runs sampled)
62-
Hash round 14 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
42+
@node-rs/bcrypt x <span style="color: hotpink;">72.11</span> ops/sec ±1.43% (33 runs sampled)
43+
node bcrypt x <span style="color: hotpink;">62.75</span> ops/sec ±2.95% (30 runs sampled)
44+
Async hash round 10 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
45+
@node-rs/bcrypt x <span style="color: hotpink;">18.49</span> ops/sec ±1.04% (12 runs sampled)
46+
node bcrypt x <span style="color: hotpink;">16.67</span> ops/sec ±2.05% (11 runs sampled)
47+
Async hash round 12 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
48+
@node-rs/bcrypt x <span style="color: hotpink;">3.99</span> ops/sec ±3.17% (6 runs sampled)
49+
node bcrypt x <span style="color: hotpink;">3.13</span> ops/sec ±1.92% (6 runs sampled)
50+
Async hash round 14 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
51+
@node-rs/bcrypt x <span style="color: hotpink;">14.32</span> ops/sec ±0.55% (10 runs sampled)
52+
node bcrypt x <span style="color: hotpink;">13.55</span> ops/sec ±2.83% (10 runs sampled)
53+
Async verify bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
54+
@node-rs/bcrypt x <span style="color: hotpink;">15.98</span> ops/sec ±1.12% (44 runs sampled)
55+
node bcrypt x <span style="color: hotpink;">14.55</span> ops/sec ±1.30% (40 runs sampled)
56+
Hash round 10 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
57+
@node-rs/bcrypt x <span style="color: hotpink;">4.65</span> ops/sec ±3.60% (16 runs sampled)
58+
node bcrypt x <span style="color: hotpink;">4.26</span> ops/sec ±1.90% (15 runs sampled)
59+
Hash round 12 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
60+
@node-rs/bcrypt x <span style="color: hotpink;">1.16</span> ops/sec ±2.65% (7 runs sampled)
61+
node bcrypt x <span style="color: hotpink;">1.04</span> ops/sec ±2.95% (7 runs sampled)
62+
Hash round 14 bench suite: Fastest is <span style="color: rgb(80, 250, 123);">@node-rs/bcrypt</span>
6363
</pre>

0 commit comments

Comments
 (0)