You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-30Lines changed: 8 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,30 +19,16 @@ develop native C modules for CPU-intensive tasks. Enjoy the result!
19
19
__Benchmarks:__
20
20
21
21
22
-
node v12.16.3 (zlib 1.2.9), 1mb input sample:
22
+
node v24, 1mb input sample:
23
23
24
24
```
25
-
deflate-imaya x 4.75 ops/sec ±4.93% (15 runs sampled)
26
-
deflate-pako x 10.38 ops/sec ±0.37% (29 runs sampled)
27
-
deflate-zlib x 17.74 ops/sec ±0.77% (46 runs sampled)
28
-
gzip-pako x 8.86 ops/sec ±1.41% (29 runs sampled)
29
-
inflate-imaya x 107 ops/sec ±0.69% (77 runs sampled)
30
-
inflate-pako x 131 ops/sec ±1.74% (82 runs sampled)
31
-
inflate-zlib x 258 ops/sec ±0.66% (88 runs sampled)
32
-
ungzip-pako x 115 ops/sec ±1.92% (80 runs sampled)
33
-
```
34
-
35
-
node v14.15.0 (google's zlib), 1mb output sample:
36
-
37
-
```
38
-
deflate-imaya x 4.93 ops/sec ±3.09% (16 runs sampled)
39
-
deflate-pako x 10.22 ops/sec ±0.33% (29 runs sampled)
40
-
deflate-zlib x 18.48 ops/sec ±0.24% (48 runs sampled)
41
-
gzip-pako x 10.16 ops/sec ±0.25% (28 runs sampled)
42
-
inflate-imaya x 110 ops/sec ±0.41% (77 runs sampled)
43
-
inflate-pako x 134 ops/sec ±0.66% (83 runs sampled)
44
-
inflate-zlib x 402 ops/sec ±0.74% (87 runs sampled)
45
-
ungzip-pako x 113 ops/sec ±0.62% (80 runs sampled)
25
+
deflate-pako x 14.27 ops/sec ±3.41% (37 runs sampled)
26
+
deflate-pako-zlib-hash x 10.60 ops/sec ±0.50% (29 runs sampled)
27
+
deflate-zlib x 30.30 ops/sec ±0.61% (51 runs sampled)
28
+
gzip-pako x 13.48 ops/sec ±0.50% (36 runs sampled)
29
+
inflate-pako x 138 ops/sec ±1.26% (75 runs sampled)
30
+
inflate-zlib x 397 ops/sec ±1.37% (81 runs sampled)
31
+
ungzip-pako x 125 ops/sec ±1.46% (73 runs sampled)
46
32
```
47
33
48
34
zlib's test is partially affected by marshalling (that make sense for inflate only).
@@ -143,14 +129,6 @@ Pako does not contain some specific zlib functions:
143
129
modes.
144
130
145
131
146
-
pako for enterprise
147
-
-------------------
148
-
149
-
Available as part of the Tidelift Subscription
150
-
151
-
The maintainers of pako and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-pako?utm_source=npm-pako&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
0 commit comments