Skip to content

Latest commit

 

History

History
61 lines (55 loc) · 34.5 KB

File metadata and controls

61 lines (55 loc) · 34.5 KB

ctr

0.tiny.json 1.small.json 2.medium.json 3.large.json 4.verylarge.json
1. openssl
ctr256_encrypt x 248290.74 ops/sec ± 8337.30 (13.317 MB/s)
ctr256_decrypt x 334757.47 ops/sec ± 17255.40 (17.955 MB/s)
Sampled 640994 chunks (34.380 MB) in 10.014 seconds
Average memory usage: 110.73 MB
ctr256_encrypt x 213851.00 ops/sec ± 5900.85 (91.658 MB/s)
ctr256_decrypt x 324850.98 ops/sec ± 6402.89 (139.233 MB/s)
Sampled 310030 chunks (132.880 MB) in 10.005 seconds
Average memory usage: 101.45 MB
ctr256_encrypt x 84097.61 ops/sec ± 787.34 (1044.797 MB/s)
ctr256_decrypt x 187232.63 ops/sec ± 2248.30 (2326.108 MB/s)
Sampled 23689 chunks (294.301 MB) in 10.003 seconds
Average memory usage: 86.60 MB
ctr256_encrypt x 25809.74 ops/sec ± 1438.20 (1791.093 MB/s)
ctr256_decrypt x 65158.58 ops/sec ± 2767.43 (4521.746 MB/s)
Sampled 2561 chunks (177.723 MB) in 10.021 seconds
Average memory usage: 88.02 MB
ctr256_encrypt x 8676.31 ops/sec ± 129.86 (4510.043 MB/s)
ctr256_decrypt x 12420.16 ops/sec ± 184.69 (6456.133 MB/s)
Sampled 830 chunks (431.443 MB) in 10.055 seconds
Average memory usage: 98.38 MB
2. @cryptography aes
ctr256_encrypt x 156526.72 ops/sec ± 1550.75 (8.390 MB/s)
ctr256_decrypt x 170931.36 ops/sec ± 1847.01 (9.162 MB/s)
Sampled 588763 chunks (31.558 MB) in 10.010 seconds
Average memory usage: 108.86 MB
ctr256_encrypt x 63501.69 ops/sec ± 966.24 (27.202 MB/s)
ctr256_decrypt x 76665.28 ops/sec ± 1076.65 (32.841 MB/s)
Sampled 199151 chunks (85.309 MB) in 10.004 seconds
Average memory usage: 95.14 MB
ctr256_encrypt x 6744.68 ops/sec ± 42.68 (83.819 MB/s)
ctr256_decrypt x 6041.16 ops/sec ± 1399.92 (75.076 MB/s)
Sampled 13413 chunks (166.695 MB) in 10.005 seconds
Average memory usage: 85.02 MB
ctr256_encrypt x 1260.30 ops/sec ± 2.70 (87.453 MB/s)
ctr256_decrypt x 1350.79 ops/sec ± 3.48 (93.733 MB/s)
Sampled 1799 chunks (124.835 MB) in 10.024 seconds
Average memory usage: 89.38 MB
ctr256_encrypt x 152.85 ops/sec ± 0.97 (79.460 MB/s)
ctr256_decrypt x 159.65 ops/sec ± 1.17 (82.994 MB/s)
Sampled 400 chunks (207.943 MB) in 10.132 seconds
Average memory usage: 156.80 MB
3. tgcrypto-wasm
ctr256_encrypt x 986588.86 ops/sec ± 42495.99 (52.883 MB/s)
ctr256_decrypt x 1129739.67 ops/sec ± 60467.64 (60.556 MB/s)
Sampled 1759817 chunks (94.328 MB) in 10.025 seconds
Average memory usage: 120.05 MB
ctr256_encrypt x 225115.56 ops/sec ± 4929.77 (96.525 MB/s)
ctr256_decrypt x 253619.92 ops/sec ± 4878.40 (108.747 MB/s)
Sampled 370467 chunks (158.850 MB) in 10.007 seconds
Average memory usage: 92.47 MB
ctr256_encrypt x 11014.16 ops/sec ± 38.64 (136.880 MB/s)
ctr256_decrypt x 11096.52 ops/sec ± 32.82 (137.904 MB/s)
Sampled 17055 chunks (211.951 MB) in 10.003 seconds
Average memory usage: 90.11 MB
ctr256_encrypt x 1976.65 ops/sec ± 4.13 (137.149 MB/s)
ctr256_decrypt x 2020.23 ops/sec ± 4.35 (140.173 MB/s)
Sampled 2056 chunks (142.655 MB) in 10.026 seconds
Average memory usage: 90.68 MB
ctr256_encrypt x 262.34 ops/sec ± 0.98 (136.379 MB/s)
ctr256_decrypt x 266.14 ops/sec ± 1.02 (138.355 MB/s)
Sampled 510 chunks (265.128 MB) in 10.049 seconds
Average memory usage: 105.31 MB
4. tgcrypto-wasm no-unroll
ctr256_encrypt x 992862.59 ops/sec ± 41740.47 (53.217 MB/s)
ctr256_decrypt x 1095448.34 ops/sec ± 57106.05 (58.715 MB/s)
Sampled 1750063 chunks (93.802 MB) in 10.022 seconds
Average memory usage: 104.54 MB
ctr256_encrypt x 230825.63 ops/sec ± 4992.82 (98.960 MB/s)
ctr256_decrypt x 252464.64 ops/sec ± 5106.97 (108.237 MB/s)
Sampled 372550 chunks (159.720 MB) in 10.006 seconds
Average memory usage: 92.35 MB
ctr256_encrypt x 11188.75 ops/sec ± 28.70 (139.004 MB/s)
ctr256_decrypt x 11267.10 ops/sec ± 31.36 (139.977 MB/s)
Sampled 17095 chunks (212.379 MB) in 10.004 seconds
Average memory usage: 89.02 MB
ctr256_encrypt x 1995.50 ops/sec ± 4.82 (138.469 MB/s)
ctr256_decrypt x 2036.18 ops/sec ± 8.03 (141.292 MB/s)
Sampled 2061 chunks (143.015 MB) in 10.023 seconds
Average memory usage: 91.13 MB
ctr256_encrypt x 263.46 ops/sec ± 2.45 (136.948 MB/s)
ctr256_decrypt x 267.26 ops/sec ± 2.63 (138.922 MB/s)
Sampled 511 chunks (265.618 MB) in 10.082 seconds
Average memory usage: 107.00 MB

deflate

0.tiny.json 1.small.json 2.medium.json 3.large.json 4.verylarge.json
1. zlib
DeflateSync x 67343.44 ops/sec ± 3278.79 (3.068 MB/s)
Sampled 337716 chunks (15.384 MB) in 10.005 seconds
Average compression ratio: 116.38%
Average memory usage: 103.79 MB
DeflateSync x 37540.61 ops/sec ± 344.99 (15.787 MB/s)
Sampled 165714 chunks (69.686 MB) in 10.004 seconds
Average compression ratio: 76.01%
Average memory usage: 113.71 MB
DeflateSync x 3701.67 ops/sec ± 13.04 (45.970 MB/s)
Sampled 13800 chunks (171.376 MB) in 10.004 seconds
Average compression ratio: 65.63%
Average memory usage: 85.66 MB
DeflateSync x 244.21 ops/sec ± 0.45 (16.942 MB/s)
Sampled 1208 chunks (83.807 MB) in 10.035 seconds
Average compression ratio: 64.94%
Average memory usage: 95.79 MB
DeflateSync x 31.53 ops/sec ± 0.04 (16.390 MB/s)
Sampled 227 chunks (118.013 MB) in 10.292 seconds
Average compression ratio: 53.09%
Average memory usage: 125.14 MB
2. fast-zlib
Deflate x 175270.31 ops/sec ± 1232.28 (7.987 MB/s)
Sampled 963838 chunks (43.920 MB) in 10.014 seconds
Average compression ratio: 68.77%
Average memory usage: 97.87 MB
Deflate x 41423.82 ops/sec ± 191.34 (17.417 MB/s)
Sampled 211430 chunks (88.897 MB) in 10.005 seconds
Average compression ratio: 57.85%
Average memory usage: 94.24 MB
Deflate x 2273.82 ops/sec ± 5.23 (28.205 MB/s)
Sampled 11222 chunks (139.197 MB) in 10.005 seconds
Average compression ratio: 63.93%
Average memory usage: 84.20 MB
Deflate x 217.40 ops/sec ± 0.25 (15.083 MB/s)
Sampled 1149 chunks (79.714 MB) in 10.054 seconds
Average compression ratio: 64.98%
Average memory usage: 102.86 MB
Deflate x 31.27 ops/sec ± 0.02 (16.259 MB/s)
Sampled 220 chunks (114.380 MB) in 10.057 seconds
Average compression ratio: 53.05%
Average memory usage: 122.79 MB
3. pako
Deflate x 15985.50 ops/sec ± 165.30 (0.728 MB/s)
Sampled 124465 chunks (5.670 MB) in 10.003 seconds
Average compression ratio: 116.38%
Average memory usage: 102.11 MB
Deflate x 12235.27 ops/sec ± 52.21 (5.146 MB/s)
Sampled 80576 chunks (33.892 MB) in 10.003 seconds
Average compression ratio: 76.02%
Average memory usage: 97.80 MB
Deflate x 2124.00 ops/sec ± 12.01 (26.345 MB/s)
Sampled 10053 chunks (124.690 MB) in 10.007 seconds
Average compression ratio: 65.61%
Average memory usage: 101.10 MB
Deflate x 156.86 ops/sec ± 1.47 (10.882 MB/s)
Sampled 916 chunks (63.544 MB) in 10.059 seconds
Average compression ratio: 64.94%
Average memory usage: 105.92 MB
Deflate x 20.95 ops/sec ± 0.15 (10.895 MB/s)
Sampled 160 chunks (83.210 MB) in 10.199 seconds
Average compression ratio: 53.11%
Average memory usage: 110.16 MB
4. libdeflate
DeflateSync x 86186.81 ops/sec ± 309.27 (3.927 MB/s)
Sampled 346798 chunks (15.801 MB) in 10.007 seconds
Average compression ratio: 116.38%
Average memory usage: 101.39 MB
DeflateSync x 54321.02 ops/sec ± 279.95 (22.850 MB/s)
Sampled 191515 chunks (80.561 MB) in 10.003 seconds
Average compression ratio: 76.32%
Average memory usage: 107.39 MB
DeflateSync x 5225.44 ops/sec ± 7.30 (64.932 MB/s)
Sampled 15280 chunks (189.872 MB) in 10.006 seconds
Average compression ratio: 65.59%
Average memory usage: 87.14 MB
DeflateSync x 498.48 ops/sec ± 1.25 (34.593 MB/s)
Sampled 1603 chunks (111.242 MB) in 10.043 seconds
Average compression ratio: 64.65%
Average memory usage: 98.32 MB
DeflateSync x 69.01 ops/sec ± 0.02 (35.872 MB/s)
Sampled 360 chunks (187.127 MB) in 10.177 seconds
Average compression ratio: 49.39%
Average memory usage: 125.99 MB
5. libdeflate no-unroll
DeflateSync x 29523.44 ops/sec ± 125.33 (1.345 MB/s)
Sampled 202401 chunks (9.219 MB) in 10.003 seconds
Average compression ratio: 116.38%
Average memory usage: 96.21 MB
DeflateSync x 23186.05 ops/sec ± 150.07 (9.752 MB/s)
Sampled 126493 chunks (53.202 MB) in 10.003 seconds
Average compression ratio: 76.32%
Average memory usage: 102.39 MB
DeflateSync x 3521.28 ops/sec ± 8.20 (43.732 MB/s)
Sampled 13363 chunks (165.961 MB) in 10.005 seconds
Average compression ratio: 65.58%
Average memory usage: 86.92 MB
DeflateSync x 393.33 ops/sec ± 0.25 (27.292 MB/s)
Sampled 1470 chunks (101.998 MB) in 10.017 seconds
Average compression ratio: 64.65%
Average memory usage: 96.44 MB
DeflateSync x 56.16 ops/sec ± 0.03 (29.193 MB/s)
Sampled 320 chunks (166.354 MB) in 10.106 seconds
Average compression ratio: 49.40%
Average memory usage: 121.65 MB
6. wasm-miniz_oxide
DeflateSync x 37137.12 ops/sec ± 656.68 (1.690 MB/s)
InflateSync x 304242.69 ops/sec ± 10886.37 (17.034 MB/s)
Sampled 285739 chunks (13.007 MB) in 10.006 seconds
Average compression ratio: 123.00%
Average memory usage: 110.14 MB
DeflateSync x 29684.51 ops/sec ± 593.21 (12.476 MB/s)
InflateSync x 101883.12 ops/sec ± 725.92 (33.211 MB/s)
Sampled 154287 chunks (64.846 MB) in 10.005 seconds
Average compression ratio: 77.56%
Average memory usage: 105.72 MB
DeflateSync x 7157.94 ops/sec ± 36.75 (88.892 MB/s)
InflateSync x 14813.40 ops/sec ± 37.39 (128.548 MB/s)
Sampled 16423 chunks (203.951 MB) in 10.004 seconds
Average compression ratio: 69.88%
Average memory usage: 92.44 MB
DeflateSync x 1396.64 ops/sec ± 2.97 (96.900 MB/s)
InflateSync x 2608.61 ops/sec ± 4.94 (122.019 MB/s)
Sampled 1994 chunks (138.346 MB) in 10.032 seconds
Average compression ratio: 67.42%
Average memory usage: 102.50 MB
DeflateSync x 197.42 ops/sec ± 0.32 (102.628 MB/s)
InflateSync x 354.10 ops/sec ± 0.65 (101.160 MB/s)
Sampled 510 chunks (265.115 MB) in 10.065 seconds
Average compression ratio: 54.96%
Average memory usage: 101.36 MB

gunzip

0.tiny.json 1.small.json 2.medium.json 3.large.json 4.verylarge.json
1. zlib
DeflateSync x 162193.22 ops/sec ± 17227.11 (7.388 MB/s)
Sampled 355165 chunks (16.177 MB) in 10.006 seconds
Average compression ratio: 141.50%
Average memory usage: 103.74 MB
DeflateSync x 125218.15 ops/sec ± 2172.13 (52.678 MB/s)
Sampled 163696 chunks (68.865 MB) in 10.004 seconds
Average compression ratio: 78.74%
Average memory usage: 114.36 MB
DeflateSync x 20366.99 ops/sec ± 111.75 (252.700 MB/s)
Sampled 13957 chunks (173.169 MB) in 10.004 seconds
Average compression ratio: 65.71%
Average memory usage: 85.71 MB
DeflateSync x 3300.91 ops/sec ± 35.53 (228.938 MB/s)
Sampled 1212 chunks (84.059 MB) in 10.030 seconds
Average compression ratio: 64.95%
Average memory usage: 95.79 MB
DeflateSync x 493.13 ops/sec ± 2.93 (256.319 MB/s)
Sampled 229 chunks (119.030 MB) in 10.350 seconds
Average compression ratio: 53.08%
Average memory usage: 120.44 MB
2. fast-zlib
gunzip x 434756.02 ops/sec ± 17427.07 (28.029 MB/s)
Sampled 412376 chunks (26.586 MB) in 10.006 seconds
Average memory usage: 104.73 MB
gunzip x 157834.75 ops/sec ± 1331.94 (52.258 MB/s)
Sampled 173912 chunks (57.581 MB) in 10.003 seconds
Average memory usage: 106.02 MB
gunzip x 20003.30 ops/sec ± 70.90 (163.208 MB/s)
Sampled 14254 chunks (116.299 MB) in 10.004 seconds
Average memory usage: 84.96 MB
gunzip x 3271.21 ops/sec ± 30.43 (147.415 MB/s)
Sampled 1240 chunks (55.880 MB) in 10.065 seconds
Average memory usage: 88.41 MB
gunzip x 486.32 ops/sec ± 2.14 (134.259 MB/s)
Sampled 230 chunks (63.496 MB) in 10.296 seconds
Average memory usage: 100.17 MB
3. pako
gunzip x 117916.93 ops/sec ± 2173.66 (7.603 MB/s)
Sampled 254966 chunks (16.440 MB) in 10.003 seconds
Average memory usage: 99.50 MB
gunzip x 57615.36 ops/sec ± 1144.50 (19.084 MB/s)
Sampled 135312 chunks (44.819 MB) in 10.003 seconds
Average memory usage: 107.23 MB
gunzip x 7577.49 ops/sec ± 14.96 (61.852 MB/s)
Sampled 12652 chunks (103.273 MB) in 10.005 seconds
Average memory usage: 88.41 MB
gunzip x 1409.01 ops/sec ± 25.49 (63.483 MB/s)
Sampled 1179 chunks (53.120 MB) in 10.074 seconds
Average memory usage: 93.84 MB
gunzip x 224.81 ops/sec ± 0.88 (62.027 MB/s)
Sampled 220 chunks (60.701 MB) in 10.372 seconds
Average memory usage: 103.71 MB
4. libdeflate
DeflateSync x 1095136.31 ops/sec ± 107495.37 (49.896 MB/s)
Sampled 448660 chunks (20.442 MB) in 10.014 seconds
Average compression ratio: 141.49%
Average memory usage: 108.46 MB
DeflateSync x 198205.72 ops/sec ± 6262.56 (83.367 MB/s)
Sampled 181511 chunks (76.345 MB) in 10.003 seconds
Average compression ratio: 78.74%
Average memory usage: 109.45 MB
DeflateSync x 28090.52 ops/sec ± 49.13 (348.930 MB/s)
Sampled 14580 chunks (181.108 MB) in 10.004 seconds
Average compression ratio: 65.72%
Average memory usage: 88.65 MB
DeflateSync x 4981.08 ops/sec ± 35.11 (345.609 MB/s)
Sampled 1241 chunks (86.106 MB) in 10.030 seconds
Average compression ratio: 64.95%
Average memory usage: 96.87 MB
DeflateSync x 898.54 ops/sec ± 4.34 (467.081 MB/s)
Sampled 230 chunks (119.559 MB) in 10.075 seconds
Average compression ratio: 53.08%
Average memory usage: 111.93 MB
5. libdeflate no-unroll
DeflateSync x 949255.21 ops/sec ± 70205.94 (43.240 MB/s)
Sampled 439266 chunks (20.009 MB) in 10.007 seconds
Average compression ratio: 141.50%
Average memory usage: 108.24 MB
DeflateSync x 204956.68 ops/sec ± 6896.83 (86.250 MB/s)
Sampled 181907 chunks (76.550 MB) in 10.003 seconds
Average compression ratio: 78.74%
Average memory usage: 109.46 MB
DeflateSync x 27984.63 ops/sec ± 80.48 (347.585 MB/s)
Sampled 14628 chunks (181.685 MB) in 10.004 seconds
Average compression ratio: 65.72%
Average memory usage: 87.16 MB
DeflateSync x 4854.29 ops/sec ± 42.61 (336.815 MB/s)
Sampled 1236 chunks (85.760 MB) in 10.048 seconds
Average compression ratio: 64.95%
Average memory usage: 94.39 MB
DeflateSync x 829.61 ops/sec ± 1.66 (431.310 MB/s)
Sampled 230 chunks (119.575 MB) in 10.069 seconds
Average compression ratio: 53.09%
Average memory usage: 113.12 MB

ige

0.tiny.json 1.small.json 2.medium.json 3.large.json 4.verylarge.json
1. tgcrypto-napi
ige256_encrypt x 675333.23 ops/sec ± 13722.47 (41.219 MB/s)
ige256_decrypt x 664482.85 ops/sec ± 6916.77 (40.557 MB/s)
Sampled 1302417 chunks (79.493 MB) in 10.019 seconds
Average memory usage: 91.79 MB
ige256_encrypt x 295352.34 ops/sec ± 7510.42 (126.657 MB/s)
ige256_decrypt x 297441.80 ops/sec ± 2193.74 (127.554 MB/s)
Sampled 380184 chunks (163.035 MB) in 10.006 seconds
Average memory usage: 91.92 MB
ige256_encrypt x 18195.50 ops/sec ± 76.69 (226.096 MB/s)
ige256_decrypt x 18554.18 ops/sec ± 50.64 (230.553 MB/s)
Sampled 19724 chunks (245.089 MB) in 10.015 seconds
Average memory usage: 86.39 MB
ige256_encrypt x 3405.28 ops/sec ± 12.65 (236.263 MB/s)
ige256_decrypt x 3429.27 ops/sec ± 7.94 (237.928 MB/s)
Sampled 2229 chunks (154.651 MB) in 10.026 seconds
Average memory usage: 87.08 MB
ige256_encrypt x 464.21 ops/sec ± 0.38 (241.306 MB/s)
ige256_decrypt x 462.83 ops/sec ± 0.40 (240.586 MB/s)
Sampled 621 chunks (322.807 MB) in 10.071 seconds
Average memory usage: 97.89 MB
2. @cryptography aes
ige256_encrypt x 322173.84 ops/sec ± 8108.72 (19.664 MB/s)
ige256_decrypt x 388089.46 ops/sec ± 6844.20 (23.687 MB/s)
Sampled 555679 chunks (33.916 MB) in 10.011 seconds
Average memory usage: 105.81 MB
ige256_encrypt x 62461.57 ops/sec ± 742.87 (26.785 MB/s)
ige256_decrypt x 71250.40 ops/sec ± 897.30 (30.553 MB/s)
Sampled 134465 chunks (57.661 MB) in 10.003 seconds
Average memory usage: 90.23 MB
ige256_encrypt x 2552.97 ops/sec ± 17.67 (31.660 MB/s)
ige256_decrypt x 2668.16 ops/sec ± 15.74 (33.088 MB/s)
Sampled 5867 chunks (72.757 MB) in 10.011 seconds
Average memory usage: 84.34 MB
ige256_encrypt x 833.09 ops/sec ± 8.60 (57.814 MB/s)
ige256_decrypt x 828.62 ops/sec ± 2.80 (57.504 MB/s)
Sampled 830 chunks (57.599 MB) in 10.041 seconds
Average memory usage: 96.92 MB
ige256_encrypt x 125.21 ops/sec ± 0.16 (65.086 MB/s)
ige256_decrypt x 101.40 ops/sec ± 1.93 (52.709 MB/s)
Sampled 140 chunks (72.771 MB) in 10.134 seconds
Average memory usage: 136.60 MB
3. tgcrypto-wasm
ige256_encrypt x 1219546.14 ops/sec ± 66243.93 (74.435 MB/s)
ige256_decrypt x 1120553.46 ops/sec ± 10251.98 (68.393 MB/s)
Sampled 1308599 chunks (79.871 MB) in 10.017 seconds
Average memory usage: 92.67 MB
ige256_encrypt x 231339.24 ops/sec ± 6372.31 (99.128 MB/s)
ige256_decrypt x 271292.89 ops/sec ± 3543.34 (116.248 MB/s)
Sampled 222608 chunks (95.387 MB) in 10.004 seconds
Average memory usage: 101.05 MB
ige256_encrypt x 11223.88 ops/sec ± 51.94 (139.417 MB/s)
ige256_decrypt x 12158.37 ops/sec ± 56.57 (151.024 MB/s)
Sampled 9115 chunks (113.220 MB) in 10.008 seconds
Average memory usage: 86.41 MB
ige256_encrypt x 1943.86 ops/sec ± 11.45 (134.856 MB/s)
ige256_decrypt x 2216.66 ops/sec ± 7.36 (153.782 MB/s)
Sampled 933 chunks (64.727 MB) in 10.055 seconds
Average memory usage: 101.01 MB
ige256_encrypt x 267.58 ops/sec ± 0.74 (139.110 MB/s)
ige256_decrypt x 296.99 ops/sec ± 0.58 (154.400 MB/s)
Sampled 160 chunks (83.180 MB) in 10.224 seconds
Average memory usage: 109.89 MB
4. tgcrypto-wasm no-unroll
ige256_encrypt x 1112940.84 ops/sec ± 70770.01 (67.929 MB/s)
ige256_decrypt x 968412.18 ops/sec ± 20674.06 (59.107 MB/s)
Sampled 1251355 chunks (76.377 MB) in 10.017 seconds
Average memory usage: 92.25 MB
ige256_encrypt x 234236.87 ops/sec ± 5771.74 (100.390 MB/s)
ige256_decrypt x 261997.07 ops/sec ± 4153.41 (112.287 MB/s)
Sampled 223703 chunks (95.876 MB) in 10.004 seconds
Average memory usage: 101.46 MB
ige256_encrypt x 11912.46 ops/sec ± 23.32 (147.882 MB/s)
ige256_decrypt x 11879.90 ops/sec ± 52.05 (147.477 MB/s)
Sampled 9205 chunks (114.271 MB) in 10.007 seconds
Average memory usage: 85.69 MB
ige256_encrypt x 2037.29 ops/sec ± 24.79 (141.334 MB/s)
ige256_decrypt x 2165.69 ops/sec ± 11.04 (150.242 MB/s)
Sampled 938 chunks (65.073 MB) in 10.075 seconds
Average memory usage: 118.58 MB
ige256_encrypt x 281.58 ops/sec ± 1.01 (146.386 MB/s)
ige256_decrypt x 286.14 ops/sec ± 0.75 (148.756 MB/s)
Sampled 160 chunks (83.179 MB) in 10.347 seconds
Average memory usage: 109.31 MB
5. openssl-based ige
ige256_encrypt x 371029.12 ops/sec ± 4653.80 (22.646 MB/s)
ige256_decrypt x 511227.26 ops/sec ± 10505.11 (31.203 MB/s)
Sampled 983210 chunks (60.010 MB) in 10.019 seconds
Average memory usage: 844.88 MB
ige256_encrypt x 281685.83 ops/sec ± 9220.60 (120.768 MB/s)
ige256_decrypt x 369466.85 ops/sec ± 2744.93 (158.402 MB/s)
Sampled 372255 chunks (159.597 MB) in 10.007 seconds
Average memory usage: 385.14 MB
ige256_encrypt x 35405.32 ops/sec ± 436.41 (439.934 MB/s)
ige256_decrypt x 39516.30 ops/sec ± 159.79 (491.015 MB/s)
Sampled 21885 chunks (271.935 MB) in 10.005 seconds
Average memory usage: 104.38 MB
ige256_encrypt x 7309.13 ops/sec ± 28.15 (507.088 MB/s)
ige256_decrypt x 7678.87 ops/sec ± 20.82 (532.740 MB/s)
Sampled 2392 chunks (165.951 MB) in 10.023 seconds
Average memory usage: 93.01 MB
ige256_encrypt x 1057.19 ops/sec ± 1.52 (549.563 MB/s)
ige256_decrypt x 1055.10 ops/sec ± 1.90 (548.475 MB/s)
Sampled 729 chunks (378.958 MB) in 10.093 seconds
Average memory usage: 99.93 MB

sha1

0.tiny.json 1.small.json 2.medium.json 3.large.json 4.verylarge.json
1. openssl
sha1 x 366940.75 ops/sec ± 5046.84 (16.717 MB/s)
Sampled 1491910 chunks (67.969 MB) in 10.018 seconds
Average memory usage: 127.74 MB
sha1 x 280654.31 ops/sec ± 5944.63 (118.092 MB/s)
Sampled 464470 chunks (195.437 MB) in 10.007 seconds
Average memory usage: 100.39 MB
sha1 x 65272.21 ops/sec ± 353.51 (810.184 MB/s)
Sampled 24826 chunks (308.151 MB) in 10.004 seconds
Average memory usage: 83.88 MB
sha1 x 15941.53 ops/sec ± 170.50 (1105.989 MB/s)
Sampled 2594 chunks (179.966 MB) in 10.021 seconds
Average memory usage: 84.96 MB
sha1 x 3513.03 ops/sec ± 8.62 (1826.190 MB/s)
Sampled 890 chunks (462.651 MB) in 10.030 seconds
Average memory usage: 92.26 MB
2. webcrypto
sha1 x 39231.42 ops/sec ± 248.69 (1.787 MB/s)
Sampled 277133 chunks (12.626 MB) in 10.009 seconds
Average memory usage: 82.44 MB
sha1 x 33787.55 ops/sec ± 386.14 (14.204 MB/s)
Sampled 179528 chunks (75.472 MB) in 10.007 seconds
Average memory usage: 80.40 MB
sha1 x 7949.96 ops/sec ± 222.64 (98.795 MB/s)
Sampled 19002 chunks (236.140 MB) in 10.004 seconds
Average memory usage: 66.47 MB
sha1 x 3468.37 ops/sec ± 68.26 (240.639 MB/s)
Sampled 2510 chunks (174.146 MB) in 10.026 seconds
Average memory usage: 84.63 MB
sha1 x 1111.56 ops/sec ± 12.73 (577.842 MB/s)
Sampled 878 chunks (456.425 MB) in 10.086 seconds
Average memory usage: 77.38 MB
3. rusha
sha1 x 20587.98 ops/sec ± 181.55 (0.938 MB/s)
Sampled 163142 chunks (7.433 MB) in 10.003 seconds
Average memory usage: 118.16 MB
sha1 x 19335.19 ops/sec ± 94.45 (8.132 MB/s)
Sampled 125432 chunks (52.754 MB) in 10.011 seconds
Average memory usage: 124.57 MB
sha1 x 7964.59 ops/sec ± 66.88 (98.918 MB/s)
Sampled 18812 chunks (233.640 MB) in 10.004 seconds
Average memory usage: 145.13 MB
sha1 x 1985.03 ops/sec ± 92.87 (137.707 MB/s)
Sampled 2282 chunks (158.309 MB) in 10.029 seconds
Average memory usage: 147.42 MB
sha1 x 328.15 ops/sec ± 2.86 (170.587 MB/s)
Sampled 710 chunks (369.085 MB) in 10.101 seconds
Average memory usage: 150.31 MB
4. rust-sha1
sha1 x 204981.15 ops/sec ± 9596.53 (9.335 MB/s)
Sampled 428728 chunks (19.526 MB) in 10.007 seconds
Average memory usage: 161.86 MB
sha1 x 109093.81 ops/sec ± 13569.93 (45.866 MB/s)
Sampled 139204 chunks (58.523 MB) in 10.011 seconds
Average memory usage: 218.08 MB
sha1 x 7164.10 ops/sec ± 568.07 (88.878 MB/s)
Sampled 8148 chunks (101.102 MB) in 10.009 seconds
Average memory usage: 318.14 MB
sha1 x 1633.93 ops/sec ± 149.46 (113.374 MB/s)
Sampled 1437 chunks (99.707 MB) in 10.042 seconds
Average memory usage: 290.53 MB
sha1 x 277.27 ops/sec ± 0.63 (144.134 MB/s)
Sampled 513 chunks (266.679 MB) in 10.086 seconds
Average memory usage: 679.54 MB
5. clibs-sha1
sha1 x 1076906.90 ops/sec ± 89230.60 (49.057 MB/s)
Sampled 1100345 chunks (50.125 MB) in 10.021 seconds
Average memory usage: 104.14 MB
sha1 x 240807.28 ops/sec ± 5161.35 (101.307 MB/s)
Sampled 300988 chunks (126.623 MB) in 10.004 seconds
Average memory usage: 95.15 MB
sha1 x 10479.12 ops/sec ± 18.23 (130.187 MB/s)
Sampled 16900 chunks (209.956 MB) in 10.003 seconds
Average memory usage: 85.09 MB
sha1 x 1886.39 ops/sec ± 4.29 (130.866 MB/s)
Sampled 2019 chunks (140.066 MB) in 10.034 seconds
Average memory usage: 87.04 MB
sha1 x 275.29 ops/sec ± 0.26 (143.106 MB/s)
Sampled 540 chunks (280.717 MB) in 10.024 seconds
Average memory usage: 96.43 MB
6. clibs-sha1 no-unroll
sha1 x 927415.55 ops/sec ± 57258.10 (42.246 MB/s)
Sampled 987565 chunks (44.986 MB) in 10.017 seconds
Average memory usage: 103.80 MB
sha1 x 212330.31 ops/sec ± 3913.71 (89.333 MB/s)
Sampled 299762 chunks (126.118 MB) in 10.004 seconds
Average memory usage: 94.73 MB
sha1 x 8905.19 ops/sec ± 152.87 (110.708 MB/s)
Sampled 15755 chunks (195.863 MB) in 10.005 seconds
Average memory usage: 84.86 MB
sha1 x 1615.27 ops/sec ± 6.19 (112.017 MB/s)
Sampled 1954 chunks (135.507 MB) in 10.027 seconds
Average memory usage: 86.79 MB
sha1 x 238.72 ops/sec ± 1.03 (124.090 MB/s)
Sampled 511 chunks (265.623 MB) in 10.057 seconds
Average memory usage: 95.71 MB
7. teeny-sha1
sha1 x 1357420.58 ops/sec ± 158674.78 (61.837 MB/s)
Sampled 1095736 chunks (49.916 MB) in 10.013 seconds
Average memory usage: 103.87 MB
sha1 x 408449.33 ops/sec ± 12874.79 (171.817 MB/s)
Sampled 350118 chunks (147.279 MB) in 10.004 seconds
Average memory usage: 100.34 MB
sha1 x 21750.50 ops/sec ± 120.60 (270.205 MB/s)
Sampled 20119 chunks (249.935 MB) in 10.015 seconds
Average memory usage: 87.17 MB
sha1 x 4043.99 ops/sec ± 21.91 (280.567 MB/s)
Sampled 2277 chunks (157.976 MB) in 10.024 seconds
Average memory usage: 87.51 MB
sha1 x 561.60 ops/sec ± 2.60 (291.936 MB/s)
Sampled 677 chunks (351.926 MB) in 10.100 seconds
Average memory usage: 95.09 MB
8. teeny-sha1 no-unroll
sha1 x 1261554.08 ops/sec ± 113702.50 (57.481 MB/s)
Sampled 1058710 chunks (48.239 MB) in 10.012 seconds
Average memory usage: 103.55 MB
sha1 x 407225.69 ops/sec ± 16518.24 (171.245 MB/s)
Sampled 349810 chunks (147.097 MB) in 10.004 seconds
Average memory usage: 100.23 MB
sha1 x 20464.21 ops/sec ± 66.62 (254.345 MB/s)
Sampled 20002 chunks (248.600 MB) in 10.015 seconds
Average memory usage: 86.76 MB
sha1 x 3880.83 ops/sec ± 14.43 (269.313 MB/s)
Sampled 2273 chunks (157.737 MB) in 10.023 seconds
Average memory usage: 86.91 MB
sha1 x 521.29 ops/sec ± 9.46 (271.006 MB/s)
Sampled 664 chunks (345.197 MB) in 10.097 seconds
Average memory usage: 94.92 MB

sha256

0.tiny.json 1.small.json 2.medium.json 3.large.json 4.verylarge.json
1. openssl
sha256 x 362135.47 ops/sec ± 6974.08 (16.500 MB/s)
Sampled 1485438 chunks (67.681 MB) in 10.019 seconds
Average memory usage: 102.56 MB
sha256 x 261573.65 ops/sec ± 5719.84 (110.008 MB/s)
Sampled 439475 chunks (184.826 MB) in 10.006 seconds
Average memory usage: 100.10 MB
sha256 x 65884.79 ops/sec ± 588.96 (818.073 MB/s)
Sampled 25102 chunks (311.684 MB) in 10.012 seconds
Average memory usage: 84.41 MB
sha256 x 15346.14 ops/sec ± 124.60 (1064.643 MB/s)
Sampled 2580 chunks (178.988 MB) in 10.021 seconds
Average memory usage: 85.02 MB
sha256 x 3348.10 ops/sec ± 5.78 (1740.353 MB/s)
Sampled 893 chunks (464.184 MB) in 10.050 seconds
Average memory usage: 92.16 MB
2. webcrypto
sha256 x 37005.14 ops/sec ± 318.07 (1.685 MB/s)
Sampled 261009 chunks (11.886 MB) in 10.009 seconds
Average memory usage: 81.90 MB
sha256 x 33565.11 ops/sec ± 428.33 (14.123 MB/s)
Sampled 181545 chunks (76.390 MB) in 10.007 seconds
Average memory usage: 80.56 MB
sha256 x 7905.12 ops/sec ± 106.56 (98.235 MB/s)
Sampled 18985 chunks (235.919 MB) in 10.004 seconds
Average memory usage: 67.16 MB
sha256 x 3447.18 ops/sec ± 46.30 (239.153 MB/s)
Sampled 2516 chunks (174.551 MB) in 10.021 seconds
Average memory usage: 84.43 MB
sha256 x 1056.38 ops/sec ± 14.45 (549.167 MB/s)
Sampled 871 chunks (452.796 MB) in 10.025 seconds
Average memory usage: 76.44 MB
3. sha256-uint8array
sha256 x 1171525.17 ops/sec ± 26631.76 (53.374 MB/s)
Sampled 2861813 chunks (130.383 MB) in 10.022 seconds
Average memory usage: 91.12 MB
sha256 x 357489.12 ops/sec ± 3668.78 (150.317 MB/s)
Sampled 550470 chunks (231.461 MB) in 10.007 seconds
Average memory usage: 90.07 MB
sha256 x 15928.98 ops/sec ± 52.83 (197.859 MB/s)
Sampled 22200 chunks (275.752 MB) in 10.004 seconds
Average memory usage: 85.88 MB
sha256 x 2966.46 ops/sec ± 14.85 (205.824 MB/s)
Sampled 2394 chunks (166.105 MB) in 10.021 seconds
Average memory usage: 86.51 MB
sha256 x 406.20 ops/sec ± 0.11 (211.146 MB/s)
Sampled 743 chunks (386.213 MB) in 10.055 seconds
Average memory usage: 95.43 MB
4. lekkit-sha256
sha256 x 1107332.83 ops/sec ± 73547.35 (50.441 MB/s)
Sampled 948042 chunks (43.185 MB) in 10.017 seconds
Average memory usage: 107.10 MB
sha256 x 384157.89 ops/sec ± 8122.06 (161.565 MB/s)
Sampled 350925 chunks (147.587 MB) in 10.004 seconds
Average memory usage: 100.39 MB
sha256 x 17345.07 ops/sec ± 50.40 (215.365 MB/s)
Sampled 19449 chunks (241.487 MB) in 10.005 seconds
Average memory usage: 85.50 MB
sha256 x 3218.82 ops/sec ± 13.53 (223.358 MB/s)
Sampled 2213 chunks (153.563 MB) in 10.016 seconds
Average memory usage: 87.09 MB
sha256 x 438.83 ops/sec ± 0.88 (228.135 MB/s)
Sampled 639 chunks (332.198 MB) in 10.119 seconds
Average memory usage: 95.79 MB
5. lekkit-sha256 no-unroll
sha256 x 1176673.43 ops/sec ± 90293.70 (53.601 MB/s)
Sampled 1075952 chunks (49.013 MB) in 10.015 seconds
Average memory usage: 104.27 MB
sha256 x 362590.77 ops/sec ± 10809.42 (152.559 MB/s)
Sampled 343340 chunks (144.457 MB) in 10.004 seconds
Average memory usage: 100.19 MB
sha256 x 16779.93 ops/sec ± 58.23 (208.277 MB/s)
Sampled 19189 chunks (238.178 MB) in 10.004 seconds
Average memory usage: 84.63 MB
sha256 x 3083.17 ops/sec ± 14.65 (213.939 MB/s)
Sampled 2200 chunks (152.657 MB) in 10.019 seconds
Average memory usage: 86.50 MB
sha256 x 421.25 ops/sec ± 0.48 (218.970 MB/s)
Sampled 630 chunks (327.479 MB) in 10.107 seconds
Average memory usage: 96.13 MB
6. clamav-sha256
sha256 x 1340866.22 ops/sec ± 183253.19 (61.063 MB/s)
Sampled 1087718 chunks (49.535 MB) in 10.019 seconds
Average memory usage: 107.08 MB
sha256 x 374325.09 ops/sec ± 2517.70 (157.406 MB/s)
Sampled 338009 chunks (142.135 MB) in 10.004 seconds
Average memory usage: 98.91 MB
sha256 x 17353.96 ops/sec ± 39.44 (215.655 MB/s)
Sampled 19413 chunks (241.241 MB) in 10.003 seconds
Average memory usage: 85.36 MB
sha256 x 3210.53 ops/sec ± 19.39 (222.747 MB/s)
Sampled 2204 chunks (152.914 MB) in 10.019 seconds
Average memory usage: 87.36 MB
sha256 x 439.88 ops/sec ± 0.50 (228.679 MB/s)
Sampled 640 chunks (332.713 MB) in 10.089 seconds
Average memory usage: 96.36 MB
7. clamav-sha256 no-unroll
sha256 x 1289159.06 ops/sec ± 147951.54 (58.728 MB/s)
Sampled 1037381 chunks (47.258 MB) in 10.022 seconds
Average memory usage: 103.81 MB
sha256 x 372872.21 ops/sec ± 10283.25 (156.733 MB/s)
Sampled 340951 chunks (143.316 MB) in 10.004 seconds
Average memory usage: 100.20 MB
sha256 x 17200.73 ops/sec ± 46.29 (213.510 MB/s)
Sampled 19312 chunks (239.716 MB) in 10.004 seconds
Average memory usage: 84.89 MB
sha256 x 3145.97 ops/sec ± 10.81 (218.265 MB/s)
Sampled 2209 chunks (153.259 MB) in 10.027 seconds
Average memory usage: 86.93 MB
sha256 x 430.56 ops/sec ± 0.57 (223.793 MB/s)
Sampled 639 chunks (332.130 MB) in 10.129 seconds
Average memory usage: 95.30 MB
8. rhash-sha256
sha256 x 1262071.30 ops/sec ± 156362.55 (57.484 MB/s)
Sampled 1009823 chunks (45.995 MB) in 10.014 seconds
Average memory usage: 107.37 MB
sha256 x 403588.48 ops/sec ± 6478.94 (169.695 MB/s)
Sampled 348156 chunks (146.388 MB) in 10.004 seconds
Average memory usage: 101.64 MB
sha256 x 19302.46 ops/sec ± 46.58 (239.791 MB/s)
Sampled 19818 chunks (246.195 MB) in 10.003 seconds
Average memory usage: 85.59 MB
sha256 x 3581.24 ops/sec ± 11.43 (248.463 MB/s)
Sampled 2242 chunks (155.548 MB) in 10.019 seconds
Average memory usage: 87.04 MB
sha256 x 491.62 ops/sec ± 0.62 (255.573 MB/s)
Sampled 660 chunks (343.106 MB) in 10.115 seconds
Average memory usage: 97.07 MB
9. rhash-sha256 no-unroll
sha256 x 1269358.26 ops/sec ± 113295.33 (57.825 MB/s)
Sampled 1047667 chunks (47.726 MB) in 10.014 seconds
Average memory usage: 106.15 MB
sha256 x 214819.13 ops/sec ± 4004.04 (90.411 MB/s)
Sampled 300244 chunks (126.363 MB) in 10.004 seconds
Average memory usage: 94.80 MB
sha256 x 19550.32 ops/sec ± 42.17 (242.766 MB/s)
Sampled 19949 chunks (247.716 MB) in 10.015 seconds
Average memory usage: 86.60 MB
sha256 x 3555.60 ops/sec ± 11.49 (246.670 MB/s)
Sampled 2237 chunks (155.191 MB) in 10.023 seconds
Average memory usage: 86.46 MB
sha256 x 491.52 ops/sec ± 0.63 (255.531 MB/s)
Sampled 660 chunks (343.123 MB) in 10.105 seconds
Average memory usage: 95.88 MB