-
Notifications
You must be signed in to change notification settings - Fork 253
CPU Benchmarks
Originally written by @lxp in Issue #23
Older benchmarks have
- Benchmark4kEncStupidGCM = AES-GCM-256-OpenSSL,
- Benchmark4kEncGoGCM = AES-GCM-256-Go.
In recent gocryptfs versions you can run gocryptfs -speed
to run the benchmarks and get nicer output.
The tests were run on go version go1.6 linux/amd64
unless noted otherwise.
# gocryptfs --speed
gocryptfs v2.4.0; go-fuse [vendored]; 2023-06-15 go1.20.5 linux/amd64
cpu: Intel(R) Core(TM) i3-N305; with AES acceleration
AES-GCM-256-OpenSSL 2420.47 MB/s
AES-GCM-256-Go 4933.34 MB/s (selected in auto mode)
AES-SIV-512-Go 376.42 MB/s
XChaCha20-Poly1305-OpenSSL 791.90 MB/s
XChaCha20-Poly1305-Go 1399.53 MB/s (selected in auto mode)
Same CPU but inside Proxmox VM (https://github.com/rfjakob/gocryptfs/issues/822):
# gocryptfs --speed
gocryptfs v2.4.0; go-fuse [vendored]; 2023-06-15 go1.20.5 linux/amd64
cpu: QEMU Virtual CPU version 2.5+; with AES acceleration
AES-GCM-256-OpenSSL 474.69 MB/s
AES-GCM-256-Go 197.24 MB/s (selected in auto mode)
AES-SIV-512-Go 361.91 MB/s
XChaCha20-Poly1305-OpenSSL 798.38 MB/s
XChaCha20-Poly1305-Go 1294.73 MB/s (selected in auto mode)
➜ cat /proc/cpuinfo | grep -E "model name|flags" | head -2
model name : AMD Ryzen 7 PRO 5850U with Radeon Graphics
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
➜ gocryptfs -version
gocryptfs v2.2.1 without_openssl; go-fuse v2.1.1-0.20210825171523-3ab5d95a30ae; 2021-10-20 go1.17.2 linux/amd64
➜ gocryptfs -speed
gocryptfs v2.2.1 without_openssl; go-fuse v2.1.1-0.20210825171523-3ab5d95a30ae; 2021-10-20 go1.17.2 linux/amd64
cpu: AMD Ryzen 7 PRO 5850U with Radeon Graphics; with AES acceleration
AES-GCM-256-OpenSSL N/A
AES-GCM-256-Go 5021.42 MB/s (selected in auto mode)
AES-SIV-512-Go 308.00 MB/s
XChaCha20-Poly1305-OpenSSL N/A
XChaCha20-Poly1305-Go 3002.93 MB/s (selected in auto mode)
$ cat /proc/cpuinfo | grep -E "model name|flags" | head -2
model name : Intel(R) Core(TM) i3-7130U CPU @ 2.70GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d
$ ./gocryptfs -version
gocryptfs v1.7-23-gcc0a603; go-fuse v1.0.0-186-g467f4e0; 2019-04-14 go1.12.4
$ ./gocryptfs -speed
AES-GCM-256-OpenSSL 877.83 MB/s
AES-GCM-256-Go 1905.48 MB/s (selected in auto mode)
AES-SIV-512-Go 212.29 MB/s
$ cat /proc/cpuinfo
model name : Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm hwp hwp_notify hwp_act_window hwp_epp intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1
$ ./stupidgcm.test -test.bench .
PASS
Benchmark4kEncStupidGCM-4 200000 10688 ns/op 383.22 MB/s
Benchmark4kEncGoGCM-4 300000 4073 ns/op 1005.57 MB/s
$ cat /proc/cpuinfo
model name : Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm xsaveopt dtherm ida arat pln pts
$ ./stupidgcm.test -test.bench .
PASS
Benchmark4kEncStupidGCM-4 200000 6710 ns/op 610.43 MB/s
Benchmark4kEncGoGCM-4 500000 2422 ns/op 1690.86 MB/s
$ grep 'model name\|flags' /proc/cpuinfo | head -n2
model name : Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts
$ gocryptfs -version
gocryptfs v1.7-37-gb1468a7; go-fuse v1.0.0-174-g22a9cb9; 2019-06-11 go1.12 linux/amd64
$ gocryptfs -speed
AES-GCM-256-OpenSSL 546.39 MB/s
AES-GCM-256-Go 828.67 MB/s (selected in auto mode)
AES-SIV-512-Go 158.73 MB/s
$ cat /proc/cpuinfo
model name : Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
$ ./stupidgcm.test -test.bench .
PASS
Benchmark4kEncStupidGCM-4 200000 14684 ns/op 278.94 MB/s
Benchmark4kEncGoGCM-4 300000 7792 ns/op 525.62 MB/s
$ cat /proc/cpuinfo
model name : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
$ ./stupidgcm.test -test.bench .
PASS
Benchmark4kEncStupidGCM-4 100000 19070 ns/op 214.78 MB/s
Benchmark4kEncGoGCM-4 200000 10981 ns/op 373.01 MB/s
$ cat /proc/cpuinfo
model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm epb tpr_shadow vnmi flexpriority ept vpid dtherm ida arat
$ ./stupidgcm.test -test.bench .
PASS
Benchmark4kEncStupidGCM-16 100000 18297 ns/op 223.85 MB/s
Benchmark4kEncGoGCM-16 200000 9579 ns/op 427.58 MB/s
from https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-637022031
model name : Intel(R) Xeon(R) CPU L5420 @ 2.50GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority dtherm
$gocryptfs -speed
gocryptfs v1.8.0-35-g274e0d2; go-fuse v2.0.3; 2020-06-01 go1.14.3 linux/amd64
AES-GCM-256-OpenSSL 94.85 MB/s (selected in auto mode)
AES-GCM-256-Go 40.20 MB/s
AES-SIV-512-Go 32.05 MB/s
XChaCha20-Poly1305-Go 328.54 MB/s
From https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-657653577
~$ lscpu | grep -E 'Arch|Model |Flags'
Architecture: x86_64
Model name: Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear flush_l1d
~$ gocryptfs -speed
gocryptfs v1.8.0.HEAD; go-fuse v1.0.1-0.20190319092520-161a16484456; 2020-07-13 go1.14.4 linux/amd64
AES-GCM-256-OpenSSL 132.23 MB/s (selected in auto mode)
AES-GCM-256-Go 40.79 MB/s
AES-SIV-512-Go 31.38 MB/s
XChaCha20-Poly1305-Go 412.11 MB/s
From https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-665924527 :
~$ lscpu | grep -E 'Arch|Model |Flags'
Architecture: x86_64
Model name: Intel(R) Atom(TM) CPU N2800 @ 1.86GHz
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm arat
~$ ./gocryptfs -speed
gocryptfs v1.8.0-39-g3b61244; go-fuse v2.0.3; 2020-07-29 go1.14 linux/amd64
AES-GCM-256-OpenSSL 15.53 MB/s (selected in auto mode)
AES-GCM-256-Go 10.58 MB/s
AES-SIV-512-Go 7.39 MB/s
XChaCha20-Poly1305-Go 78.46 MB/s
$ cat /proc/cpuinfo
model name : Intel(R) Pentium(R) CPU G2130 @ 3.20GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
$ ./stupidgcm.test -test.bench .
PASS
Benchmark4kEncStupidGCM-2 100000 22691 ns/op 180.51 MB/s
Benchmark4kEncGoGCM-2 20000 92810 ns/op 44.13 MB/s
$ grep 'model name\|flags' /proc/cpuinfo | head -n2
model name : Intel(R) Pentium(R) CPU G630 @ 2.70GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
$ ./gocryptfs -speed
AES-GCM-256-OpenSSL 175.80 MB/s (selected in auto mode)
AES-GCM-256-Go 49.53 MB/s
AES-SIV-512-Go 38.37 MB/s
From https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-907992060
gocryptfs v2.1-38-ge69a857; go-fuse v2.1.1-0.20210825171523-3ab5d95a30ae; 2021-08-29 go1.16.6 linux/amd64
AES-GCM-256-OpenSSL 43.77 MB/s (selected in auto mode)
AES-GCM-256-Go 22.20 MB/s
AES-SIV-512-Go 18.06 MB/s
XChaCha20-Poly1305-Go 196.78 MB/s (use via -xchacha flag)
$ cat /proc/cpuinfo
model name : Intel(R) Xeon(R) CPU X3460 @ 2.80GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
$ ./stupidgcm.test -test.bench .
PASS
Benchmark4kEncStupidGCM-8 50000 35247 ns/op 116.21 MB/s
Benchmark4kEncGoGCM-8 20000 92230 ns/op 44.41 MB/s
$ cat /proc/cpuinfo
model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm
$ ./stupidgcm.test -test.bench .
PASS
Benchmark4kEncStupidGCM-2 30000 46697 ns/op 87.71 MB/s
Benchmark4kEncGoGCM-2 10000 194095 ns/op 21.10 MB/s
From https://github.com/rfjakob/gocryptfs/issues/556#issuecomment-848079309
% gocryptfs -speed
gocryptfs v2.0-beta4-5-g09870bf; go-fuse v2.1.1-0.20210423170155-a90e1f463c3f => github.com/rfjakob/go-fuse/v2 v2.1.1-0.20210508151621-62c5aa1919a7; 2021-05-25 go1.16.3 darwin/arm64
AES-GCM-256-OpenSSL 1627.09 MB/s (selected in auto mode)
AES-GCM-256-Go 3746.85 MB/s
AES-SIV-512-Go 452.57 MB/s
XChaCha20-Poly1305-Go 747.43 MB/s (benchmark only, not selectable yet)
Raspberry Pi 4b running ubuntu 20.04 64bit
$ ./gocryptfs -speed
gocryptfs v2.1-81-gad21647; go-fuse v2.1.1-0.20210825171523-3ab5d95a30ae; 2021-09-09 go1.17 linux/arm64
AES-GCM-256-OpenSSL 22.54 MB/s (selected in auto mode)
AES-GCM-256-Go 23.63 MB/s
AES-SIV-512-Go 19.32 MB/s
XChaCha20-Poly1305-OpenSSL 208.31 MB/s (selected in auto mode)
XChaCha20-Poly1305-Go 145.83 MB/s
model name : ARMv7 Processor rev 3 (v7l)
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
$ gocryptfs -speed
AES-GCM-256-OpenSSL 34.26 MB/s (selected in auto mode)
AES-GCM-256-Go 17.24 MB/s
AES-SIV-512-Go 17.58 MB/s
From https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-593334109 :
$ ./gocryptfs.xchacha20.armv7 --speed
AES-GCM-256-OpenSSL N/A
AES-GCM-256-Go 17.04 MB/s (selected in auto mode)
AES-SIV-512-Go 14.79 MB/s
XChaCha20-Poly1305-Go 23.37 MB/s
$ openssl speed -evp chacha20-poly1305 && openssl speed -evp aes-256-gcm
...
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
chacha20-poly1305 64066.72k 130153.44k 275532.80k 306572.84k 320018.56k 307903.74k
aes-256-gcm 40323.87k 49980.74k 64734.47k 70323.03k 71862.66k 71786.19k
(64-bit CPU running in 32-bit mode)
model name : ARMv7 Processor rev 4 (v7l)
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
$ gocryptfs -speed
AES-GCM-256-OpenSSL 17.13 MB/s (selected in auto mode)
AES-GCM-256-Go 5.27 MB/s
AES-SIV-512-Go 4.31 MB/s
$ openssl speed -evp chacha20-poly1305 && openssl speed -evp aes-256-gcm
...
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
chacha20-poly1305 30020.39k 63560.13k 77169.32k 82019.33k 83536.55k 83645.78k
aes-256-gcm 16137.38k 19500.97k 20668.33k 20986.20k 21127.17k 21135.36k
From https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-908377316
$ ./gocryptfs -speed
gocryptfs v2.1-44-g4e3b770; go-fuse v2.1.1-0.20210825171523-3ab5d95a30ae; 2021-08-30 go1.15.9 linux/arm
AES-GCM-256-OpenSSL 14.42 MB/s (selected in auto mode)
AES-GCM-256-Go 3.72 MB/s
AES-SIV-512-Go 3.46 MB/s
XChaCha20-Poly1305-Go 11.39 MB/s (use via -xchacha flag)
model name : ARMv6-compatible processor rev 7 (v6l)
Features : half thumb fastmult vfp edsp java tls
$ gocryptfs -speed
AES-GCM-256-OpenSSL 4.80 MB/s (selected in auto mode)
AES-GCM-256-Go 1.85 MB/s
AES-SIV-512-Go 1.50 MB/s
$ openssl speed -evp chacha20-poly1305 && openssl speed -evp aes-256-gcm
...
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
chacha20-poly1305 8090.97k 18202.65k 23222.03k 24960.34k 25666.44k 24958.29k
aes-256-gcm 4525.91k 6268.65k 6972.36k 7141.38k 7230.33k 7150.88k