diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-02-27 00:19:10 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-02-27 00:19:10 +0100 |
commit | 89e2f5525caf35164b4577d426bc6c51cefdf0e2 (patch) | |
tree | 264c5bbd2d6c4ddb775be78469a49075ef3eb355 /NEWS | |
parent | b9bb8d03e09660477c74889059950532863dac55 (diff) | |
download | gnutls-89e2f5525caf35164b4577d426bc6c51cefdf0e2.tar.gz |
Optimize adding many trusted certificates.
See <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -5,6 +5,16 @@ See the end for copying conditions. * Version 2.3.3 (unreleased) +** Importing many CA certificates are now considerably faster. +This affect gnutls_certificate_set_x509_trust_mem, +gnutls_certificate_set_x509_trust, and +gnutls_certificate_set_x509_trust_file. The complexity was reduced +from O(2*n^2) to O(n). When adding 206 files containing 408 +certificates, using gnutls_certificate_set_x509_trust_file, the time +dropped from 40 seconds to 0.3 seconds. Thanks to Edgar Fuß for code +to trigger the problem. See also +<http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>. + ** API and ABI modifications: No changes since last version. |