You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using:
memcached-2.0.2.jar
spy.jar vers. 2.4
In HashAlgorithm.computeMd5() the MessageDigest gets created for every
call. I guess this can reduce performance. Creating the digest in a static
way during initialization of the class and synchronizing on md5 during
reset(), update() and digest() might help to improve performance.
Original issue reported on code.google.com by misch...@gmail.com on 13 May 2008 at 3:57
The text was updated successfully, but these errors were encountered:
This measures slower on my machine:
5 threads, 10 in pool, mode: NEW
Processing time: 71ms
15 threads, 10 in pool, mode: NEW
Processing time: 229ms
50 threads, 10 in pool, mode: NEW
Processing time: 776ms
5 threads, 10 in pool, mode: LOCKED
Processing time: 102ms
15 threads, 10 in pool, mode: LOCKED
Processing time: 331ms
50 threads, 10 in pool, mode: LOCKED
Processing time: 1166ms
Run the attached test to try it against yours.
Original comment by dsalli...@gmail.com on 14 May 2008 at 3:28
Original issue reported on code.google.com by
misch...@gmail.com
on 13 May 2008 at 3:57The text was updated successfully, but these errors were encountered: