Class HashBenchmark

java.lang.Object
app.keve.ktlsh.benchmarks.HashBenchmark

public class HashBenchmark
extends java.lang.Object
Hash benchmarks.
Author:
keve
  • Constructor Details

  • Method Details

    • testTMSmall32KiB

      public void testTMSmall32KiB​(HashBenchmark.MyState state) throws java.security.GeneralSecurityException
      Benchmark hash with TM implementation, 32KiB buffer.
      Parameters:
      state - the state
      Throws:
      java.security.GeneralSecurityException - algorithms are not found
    • testKSmall32KiB

      public void testKSmall32KiB​(HashBenchmark.MyState state) throws java.security.GeneralSecurityException
      Benchmark hash with K implementation, 32KiB buffer.
      Parameters:
      state - the state
      Throws:
      java.security.GeneralSecurityException - algorithms are not found
    • testMD5Small32KiB

      public void testMD5Small32KiB​(HashBenchmark.MyState state) throws java.security.GeneralSecurityException
      Benchmark MD5 hash, 32KiB buffer.
      Parameters:
      state - the state
      Throws:
      java.security.GeneralSecurityException - algorithms are not found
    • testTMLarge16MiB

      public void testTMLarge16MiB​(HashBenchmark.MyState state) throws java.security.GeneralSecurityException
      Benchmark hash with TM implementation, 16MiB buffer.
      Parameters:
      state - the state
      Throws:
      java.security.GeneralSecurityException - algorithms are not found
    • testKLarge16MiB

      public void testKLarge16MiB​(HashBenchmark.MyState state) throws java.security.GeneralSecurityException
      Benchmark hash with K implementation, 16MiB buffer.
      Parameters:
      state - the state
      Throws:
      java.security.GeneralSecurityException - algorithms are not found
    • testMD5Large16MiB

      public void testMD5Large16MiB​(HashBenchmark.MyState state) throws java.security.GeneralSecurityException
      Benchmark MD5 hash, 16MiB buffer.
      Parameters:
      state - the state
      Throws:
      java.security.GeneralSecurityException - algorithms are not found