Openssl check time to transfer
Openssl check time to transfer
The openssl s_time command is useful for load testing or benchmarking SSL/TLS connection throughput to a server. It measures how many SSL connections can be established in 30 seconds and the average time per connection — handy when diagnosing whether SSL overhead is a performance bottleneck.
- Description from man page
The s_time command implements a generic SSL/TLS client which connects
to a remote host using SSL/TLS. It can request a page from the server
and includes the time to transfer the payload data in its timing measurements.
It measures the number of connections within a given timeframe,
the amount of data transferred (if any),
and calculates the average time spent for one connection.
1
2
3
4
5
6
7
8
9
$ openssl s_time -connect google.com:443 -new
Collecting connection statistics for 30 seconds
*************************************************
121 connections in 0.22s; 550.00 connections/user sec, bytes read 0
121 connections in 31 real seconds, 0 bytes read per connection
This post is licensed under
CC BY 4.0
by the author.