How to test underlying GO TLS implementation?

Not familiar with Golang and Caddy’s TLS implementation but is there an equivalent for testing like with OpenSSL/LibreSSL

i.e.

openssl speed rsa4096 rsa2048 ecdsap256 sha256 sha1 md5 rc4 aes-256-cbc aes-128-cbc

??

Just curious how it stacks up https://community.centminmod.com/threads/openssl-1-1-0-pre6-vs-openssl-1-0-2h-vs-openssl-1-0-1e-vs-libressl-2-4-2-vs-libressl-2-3-6.8272/ :slight_smile:

You want to test the performance of Go’s crypto? You can try running some benchmarks using the testing package. Caddy doesn’t (and won’t) have these commands built-in to test speed.

Thanks for your benchmarking work! Hopefully some optimizations will make their way in in the future.

1 Like

Yup just curious where possible optimisation can be found and how it compares :slight_smile:

guess something along the lines of https://blog.cloudflare.com/go-crypto-bridging-the-performance-gap/

Indeed; Cloudflare has contributed quite a few optimizations to Go’s crypto libraries.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.