summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-17 19:23:56 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-17 19:23:56 +0000
commite3113502ad60d25f936d13693ac1934b1b3dff8b (patch)
tree8f453aaf734d17f0413ff8016cd46101affff019 /ChangeLog
parente8bd32b347dd6f97c97f52aea48e7311c606f101 (diff)
downloadtor-e3113502ad60d25f936d13693ac1934b1b3dff8b.tar.gz
tor-e3113502ad60d25f936d13693ac1934b1b3dff8b.zip
r15882@catbus: nickm | 2007-10-17 15:23:05 -0400
oprofile was telling me that a fair bit of our time in openssl was spent in base64_decode, so replace base64_decode with an all-at-once fairly optimized implementation. For decoding keys and digests, it seems 3-3.5x faster than calling out to openssl. (Yes, I wrote it from scratch.) svn:r12002
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c61f022124..954b6f0ba3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -49,6 +49,12 @@ Changes in version 0.2.0.9-alpha - 2007-10-??
- Make base32_decode() accept upper-case letters. Bugfix on
0.2.0.7-alpha.
+ o Minor bugfixes (performance):
+ - Base64 decoding was actually showing up on our profile when parsing
+ the initial descriptor file; switch to an in-process all-at-once
+ implementation that's about 3.5x times faster than calling out to
+ OpenSSL.
+
o Code simplifications and refactoring:
- Remove support for the old bw_accounting file: we've been storing
bandwidth accounting information in the state file since 0.1.2.5-alpha.