title: How do I calculate how many hashes I generate per second?
body: <p>I have a function which generates hashes from a string:<br>
  <code>string GenerateHash(string plainText);</code><br>
  I generate as many hashes as possible with 4 threads.</p>
  
  <p>How do I calculate how many hashes (or megahashes) I generate per second?</p>