WIP: Add a stand-alone "timing" program#15088
WIP: Add a stand-alone "timing" program#15088richsalz wants to merge 1 commit intoopenssl:masterfrom richsalz:temp-add-timing
Conversation
|
For master, with I just switched to OpenSSL_1_1_1-stable and tried |
|
Here's the 1.1.1 version, Configured with Compared to master, 1.1.1 is twice as fast for loading a cert, and more than 40 times faster for loading a private key. |
|
Updated to have same compiler on master: So loading a cert is roughly the same and loading a key is 24 times slower. |
|
You might want to try #15045 |
|
With the non-SM2 parts merged, we get much better. Master is 28 times slower than 1.1.1 and #15045 is 18 times slower. |
|
Re-ran tests. Added malloc counting. Ugh. Ping @DDvO, @t8m. Please look at the test/timing.c file and see if I am doing anything wrong. |
Thanks for providing this! Results look similarly depressing to those I got.
Looks good. Sorry that I did not respond earlier - I had missed the whole thread until you closed it yesterday. |
There have been some discussions about how long decoding objects takes. I don't expect this to be merged and will keep this as a draft forever. :)
Right now it can load X509 certs or PrivateKeys. Happy to take additions.