Open quarckster opened 1 month ago
It's been pointed out on chat. Each thread executes a loop to gather desired performance data
for (i = 0; i < num_calls / threadcount; i++) {
the numcalls in evp_setpeer test tool is set to 10000. if we run 500 (or 100) threads, then the loop performs just 20 (or 100) iterations. May be we should change this strategy. One option is to let all threads run for fixed amount of time (30 seconds for example) and count number of iterations of each test.
30 seconds would be definitely too much given we then call the whole test many times to obtain the statistics (average + std)
evp_setpeer
returns0.000000
on Windows 10 both x86 and x86_64 ifperftools
. Below is the table with results for variousevp_setpeer
runs built with OpenSSL 1.1.1. Each result is an average of 25 runs.On the other hand
evp_setpeer
never returns0.000000
on other platforms on the same CPU.