Class AuditHashingBenchmark

java.lang.Object
com.helix.experiments.benchmarks.AuditHashingBenchmark
Direct Known Subclasses:
AuditHashingBenchmark_jmhType_B1

public class AuditHashingBenchmark extends Object
JMH Microbenchmark suite measuring single-core cryptographic SHA-256 event JSON hashing throughput and Merkle leaf computation/chaining speed for audit trails.
  • Constructor Details

    • AuditHashingBenchmark

      public AuditHashingBenchmark()
  • Method Details

    • setup

      public void setup() throws NoSuchAlgorithmException
      Throws:
      NoSuchAlgorithmException
    • benchmarkSha256EventHashing

      public byte[] benchmarkSha256EventHashing()
      Measures SHA-256 hashing throughput of canonical audit event JSON. Acceptance criterion: > 1,000,000 events/sec.
    • benchmarkMerkleLeafChaining

      public byte[] benchmarkMerkleLeafChaining()
      Measures Merkle leaf computation and chaining speed: SHA-256(prev_hash || event_hash).