note 105859 added to function.hash
| From: | cgray at atoona dot com | Date: | Tue, 20 Sep 2011 14:16:22 +0000 |
| Subject: | note 105859 added to function.hash | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183305@lists.php.net to get a copy of this message | ||
@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.
----
Server IP: 69.147.83.197
Probable Submitter: 96.57.157.114
----
Manual Page -- http://www.php.net/manual/en/function.hash.php
Edit -- https://master.php.net/note/edit/105859
Del: integrated -- https://master.php.net/note/delete/105859/integrated
Del: useless -- https://master.php.net/note/delete/105859/useless
Del: bad code -- https://master.php.net/note/delete/105859/bad+code
Del: spam -- https://master.php.net/note/delete/105859/spam
Del: non-english -- https://master.php.net/note/delete/105859/non-english
Del: in docs -- https://master.php.net/note/delete/105859/in+docs
Del: other reasons-- https://master.php.net/note/delete/105859
Reject -- https://master.php.net/note/reject/105859
Search -- https://master.php.net/manage/user-notes.php