The performance wise difference between MD5 and SHA1 is about 33% in favor of MD5. BUT MD5 is more vurnable to brute attack than SHA1, hence the higher bit algorithm.
You can upgrade your SHA1 to SHA512 which use a much higher bit (512) in their algorithm, but this is 55% slower than SHA1.
These performance numbers are with 1 user, the numbers are greater at more concurrent users.
For example 5 concurrent user: MD5 is 43% faster than SHA1, and SHA1 is 73% faster than SHA512. beginning to see the picture?
You can add more security to your application, but at the cost of performance, and it is alot when you are talking about heavy load servers.
PS it is testet with datasize of 4 KB, 135KB and 1MB, then taken the overall performance of the three. DS
--- Imagination was given to man to compensate him for what he is not; a sense of humor to console him for what he is ---