5f97e81a6915d6a1c2e4cefc92d9cf1367943762
Thread locking callbacks into the interpreter impose considerable overhead. The standard library's ssl module registers its own thread locking and id callback functions. Registration of the latter can be detected by a call to the OpenSSL library. In this case, do not set the Python callback function and therefore keep using the more efficient ssl module functions.
Languages
Python
99%
Shell
0.6%
Batchfile
0.4%