Hi muyouyuwan,
A rule of thumb is that the overhead of adding SSL/TLS to a connection will be about 30%, but this will vary depending on what cipher suite and key sizes you are using for the connection.
SSL/TLS also has a maximum record size of 16kB. Depending on the size of your file being transferred, the more chunks being done will increase the overhead.
We typically run the wolfCrypt benchmarks as a gauge of performance, since the performance of the SSL/TLS layer is directly dependent on the underlying cryptography performance.
The benchmark application source is located in wolfcrypt/benchmark/benchmark.c. For *nix platforms, the benchmark can be ran using ./wolfcrypt/benchmark/benchmark. The benchmark is compiled by default. If benchmarking on an embedded platform, define BENCH_EMBEDDED to reduce resource use. For more details regarding benchmarking wolfSSL and reference numbers we have gathered in the past, please reference the wolfSSL and wolfCrypt Benchmarks webpage:
https://www.wolfssl.com/wolfSSL/benchmarks-wolfssl.html
Best Regards,
Chris