141Fermer143
GodzilLe 12/10/2007 à 14:19
Bof c'est pas dur a faire grin

(par contre je garantit pas les resultat de HPS quand on tombe en dessous de la seconde...)

mtrapier@prod500 ~/Desktop/test $ ./GPHFATest -s
General Purpose Hash Function Algorithms Test
By Arash Partow - 2002
Moded by Manoel Trapier - 2007
---------------------------------------------------------------------------------------------------
                                   HASH SPEED TEST
---------------------------------------------------------------------------------------------------
***************************************************************************************************
***************************************************************************************************
   Definitions:

   STM:     Start time in microsecond
   ETM:     End time in microsecond
   EXT:     Execution Time in second (lower is better)
   HPS:     Hash per second (higher is better)
***************************************************************************************************
***************************************************************************************************
---------------------------------------------------------------------------------------------------
Speed test with 10000000 loop
Key is: 'abcdefghijklmnopqrstuvwxyz1234567890'
Index   Hash Name       STM             ETM             EXT     HPS
 0      RSHash          2864781883      2868061688      3.28    3048961.75
 1      PJWHash         2868061779      2872932404      4.87    2053124.60
 2      ELFHash         2872932481      2878197041      5.26    1899493.97
 3      BKDRHash        2878197113      2881342864      3.15    3178891.15
 4      SDBMHash        2881342936      2884170013      2.83    3537222.37
 5      DJBHash         2884170083      2886573096      2.40    4161442.32
 6      DEKHash         2886573175      2888925066      2.35    4251897.73
 7      BPHash          2888925137      2891278456      2.35    4249317.67
 8      FNVHash         2891278556      2894851404      3.57    2798887.61
 9      APHash          2894851485      2898304226      3.45    2896249.68
10      StpdHash        2898304305      2900669172      2.36    4228567.61
11      ThibHash        2900669250      2902698838      2.03    4927108.36
12      Pol7Hash        2902698916      2905432446      2.73    3658273.37
13      PolDHash        2905432517      2907601385      2.17    4610700.14
14      SqlyHash        2907601459      2910089059      2.49    4019938.90
mtrapier@prod500 ~/Desktop/test $ ./GPHFATest.Os -s
General Purpose Hash Function Algorithms Test
By Arash Partow - 2002
Moded by Manoel Trapier - 2007
---------------------------------------------------------------------------------------------------
                                   HASH SPEED TEST
---------------------------------------------------------------------------------------------------
***************************************************************************************************
***************************************************************************************************
   Definitions:

   STM:     Start time in microsecond
   ETM:     End time in microsecond
   EXT:     Execution Time in second (lower is better)
   HPS:     Hash per second (higher is better)
***************************************************************************************************
***************************************************************************************************
---------------------------------------------------------------------------------------------------
Speed test with 10000000 loop
Key is: 'abcdefghijklmnopqrstuvwxyz1234567890'
Index   Hash Name       STM             ETM             EXT     HPS
 0      RSHash          2916352773      2918880563      2.53    3956024.83
 1      PJWHash         2918880678      2921237045      2.36    4243821.10
 2      ELFHash         2921237128      2923538197      2.30    4345806.23
 3      BKDRHash        2923538291      2926092739      2.55    3914740.09
 4      SDBMHash        2926092826      2928666684      2.57    3885218.22
 5      DJBHash         2928666777      2931220723      2.55    3915509.57
 6      DEKHash         2931220819      2932775084      1.55    6433909.28
 7      BPHash          2932775165      2934322338      1.55    6463401.31
 8      FNVHash         2934322420      2936868050      2.55    3928300.66
 9      APHash          2936868121      2938949082      2.08    4805472.09
10      StpdHash        2938949164      2940447570      1.50    6673758.65
11      ThibHash        2940447640      2941778674      1.33    7512956.09
12      Pol7Hash        2941778751      2943541657      1.76    5672452.19
13      PolDHash        2943541730      2944901669      1.36    7353270.99
14      SqlyHash        2944901749      2947433310      2.53    3950131.95
mtrapier@prod500 ~/Desktop/test $ ./GPHFATest.O2 -s
General Purpose Hash Function Algorithms Test
By Arash Partow - 2002
Moded by Manoel Trapier - 2007
---------------------------------------------------------------------------------------------------
                                   HASH SPEED TEST
---------------------------------------------------------------------------------------------------
***************************************************************************************************
***************************************************************************************************
   Definitions:

   STM:     Start time in microsecond
   ETM:     End time in microsecond
   EXT:     Execution Time in second (lower is better)
   HPS:     Hash per second (higher is better)
***************************************************************************************************
***************************************************************************************************
---------------------------------------------------------------------------------------------------
Speed test with 10000000 loop
Key is: 'abcdefghijklmnopqrstuvwxyz1234567890'
Index   Hash Name       STM             ETM             EXT     HPS
 0      RSHash          2949701082      2951482728      1.78    5612787.28
 1      PJWHash         2951482841      2953119408      1.64    6110351.73
 2      ELFHash         2953119504      2954855712      1.74    5759678.56
 3      BKDRHash        2954855798      2956590380      1.73    5765077.70
 4      SDBMHash        2956590457      2958275611      1.69    5934175.75
 5      DJBHash         2958275696      2959219183      0.94    10598980.17
 6      DEKHash         2959219271      2960052627      0.83    11999673.61
 7      BPHash          2960052706      2960891786      0.84    11917814.75
 8      FNVHash         2960891873      2962639155      1.75    5723174.62
 9      APHash          2962639234      2963893788      1.25    7970960.20
10      StpdHash        2963893871      2964663832      0.77    12987670.80
11      ThibHash        2964663908      2965200197      0.54    18646662.53
12      Pol7Hash        2965200281      2966006577      0.81    12402393.17
13      PolDHash        2966006659      2966645915      0.64    15643185.20
14      SqlyHash        2966645991      2967584260      0.94    10657924.33
mtrapier@prod500 ~/Desktop/test $ ./GPHFATest.O3 -s
General Purpose Hash Function Algorithms Test
By Arash Partow - 2002
Moded by Manoel Trapier - 2007
---------------------------------------------------------------------------------------------------
                                   HASH SPEED TEST
---------------------------------------------------------------------------------------------------
***************************************************************************************************
***************************************************************************************************
   Definitions:

   STM:     Start time in microsecond
   ETM:     End time in microsecond
   EXT:     Execution Time in second (lower is better)
   HPS:     Hash per second (higher is better)
***************************************************************************************************
***************************************************************************************************
---------------------------------------------------------------------------------------------------
Speed test with 10000000 loop
Key is: 'abcdefghijklmnopqrstuvwxyz1234567890'
Index   Hash Name       STM             ETM             EXT     HPS
 0      RSHash          2980666088      2982426700      1.76    5679843.15
 1      PJWHash         2982426758      2984027764      1.60    6246072.78
 2      ELFHash         2984027796      2985769844      1.74    5740369.96
 3      BKDRHash        2985769880      2987505011      1.74    5763253.61
 4      SDBMHash        2987505048      2989196792      1.69    5911059.83
 5      DJBHash         2989196827      2990143239      0.95    10566222.74
 6      DEKHash         2990143276      2990977590      0.83    11985895.00
 7      BPHash          2990977618      2991820839      0.84    11859287.19
 8      FNVHash         2991820867      2993587071      1.77    5661860.12
 9      APHash          2993587100      2994882810      1.30    7717776.35
10      StpdHash        2994882847      2995648952      0.77    13053041.03
11      ThibHash        2995648982      2996185932      0.54    18623707.98
12      Pol7Hash        2996185958      2996986636      0.80    12489415.22
13      PolDHash        2996986662      2997628761      0.64    15573922.40
14      SqlyHash        2997628787      2998566077      0.94    10669056.54