note 105859 deleted from function.hash by danbrown
| From: | danbrown@php.net | Date: | Tue, 20 Sep 2011 14:20:50 +0000 |
| Subject: | note 105859 deleted from function.hash by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-183306@lists.php.net to get a copy of this message | ||
Note Submitter: cgray at atoona dot com
----
@luka8088 awesome code. I wanted to see which was faster. Dual -Quadcore, Xeon E5335 @ 2.0 GHz with
24gb of ddr2 ram. (Server 2008), - VS - Core i7 870 @ 2.93 GHz - 8gb ddr3 ram. (Server 2008)
----- Top 10 - Xeon -----
1. md5 (raw) 3485.918 microseconds
2. md5 (hex) 3496.885 microseconds
3. md4 (raw) 3521.919 microseconds
4. md4 (hex) 3535.032 microseconds
5. sha1 (raw) 5737.066 microseconds
6. sha1 (hex) 5738.019 microseconds
7. crc32b (raw) 5939.006 microseconds
8. crc32b (hex) 5953.073 microseconds
9. crc32 (raw) 6546.974 microseconds
10. crc32 (hex) 6547.212 microseconds
----- Top 10 - Core i7 -----
1. md4 (hex) 2383.232 microseconds
2. md5 (raw) 2397.06 microseconds
3. md4 (raw) 2560.138 microseconds
4. md5 (hex) 3041.028 microseconds
5. sha1 (raw) 3448.009 microseconds
6. sha1 (hex) 3571.987 microseconds
7. crc32b (raw) 3771.781 microseconds
8. crc32b (hex) 3801.107 microseconds
9. crc32 (raw) 4044.055 microseconds
10. salsa20 (raw) 4078.865 microseconds
Both have 8 Cores. but i7 is faster, and half the price.