@@ -11,11 +11,11 @@ The 4 tested implementations are:
11
11
- ** js_crc32c** Javascript implemented CRC-32C
12
12
- ** js_crc32** Javascript implemented CRC-32 from [ buffer-crc32] ( https://github.com/brianloveswords/buffer-crc32 )
13
13
14
- # Performance
14
+ ## Performance
15
15
16
16
``` bash
17
- sse4_crc32c_node_rs for inputs 1024B x 5,108,123 ops/sec ±1.86% (89 runs sampled)
18
- sse4_crc32c_node_rs for inputs 16931844B, avg 2066B x 271 ops/sec ±1.15% (85 runs sampled)
17
+ @node-rs/crc32 for inputs 1024B x 5,108,123 ops/sec ±1.86% (89 runs sampled)
18
+ @node-rs/crc32 for inputs 16931844B, avg 2066B x 271 ops/sec ±1.15% (85 runs sampled)
19
19
sse4_crc32c_hw for inputs 1024B x 3,543,443 ops/sec ±1.39% (93 runs sampled)
20
20
sse4_crc32c_hw for inputs 16931844B, avg 2066B x 209 ops/sec ±0.78% (76 runs sampled)
21
21
sse4_crc32c_sw for inputs 1024B x 1,460,284 ops/sec ±2.35% (90 runs sampled)
@@ -27,7 +27,7 @@ js_crc32 for inputs 16931844B, avg 2066B x 22.12 ops/sec ±5.20% (40 runs sample
27
27
+---------------------+-------------------+----------------------+
28
28
| │ 1024B │ 16931844B, avg 2066B |
29
29
+---------------------+-------------------+----------------------+
30
- | sse4_crc32c_node_rs │ 5,108,123 ops/sec │ 271 ops/sec |
30
+ | @node-rs/crc32 │ 5,108,123 ops/sec │ 271 ops/sec |
31
31
+---------------------+-------------------+----------------------+
32
32
| sse4_crc32c_hw │ 3,543,443 ops/sec │ 209 ops/sec |
33
33
+---------------------+-------------------+----------------------+
@@ -39,13 +39,13 @@ js_crc32 for inputs 16931844B, avg 2066B x 22.12 ops/sec ±5.20% (40 runs sample
39
39
+---------------------+-------------------+----------------------+
40
40
```
41
41
42
- # Support matrix
42
+ ## Support matrix
43
43
44
44
| | node 10 | node12 | node13 | node14 |
45
45
| ----------------- | ------- | ------ | ------ | ------ |
46
- | Windows 64 latest | ✅ | ✅ | ✅ | ✅ |
47
- | macOS latest | ✅ | ✅ | ✅ | ✅ |
48
- | Linux | ✅ | ✅ | ✅ | ✅ |
46
+ | Windows 64 latest | ✓ | ✓ | ✓ | ✓ |
47
+ | macOS latest | ✓ | ✓ | ✓ | ✓ |
48
+ | Linux | ✓ | ✓ | ✓ | ✓ |
49
49
50
50
## API
51
51
0 commit comments