Skip to content

Commit

Permalink
Use AverageTime & Micros benchmark units (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm authored Dec 18, 2024
1 parent 19809c8 commit 020145b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import org.kotlincrypto.sponges.keccak.F1600
import org.kotlincrypto.sponges.keccak.KeccakP

@State(Scope.Benchmark)
@BenchmarkMode(Mode.Throughput)
@OutputTimeUnit(BenchmarkTimeUnit.MILLISECONDS)
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(BenchmarkTimeUnit.MICROSECONDS)
@Warmup(iterations = 5, time = 2)
@Measurement(iterations = 5, time = 4)
open class KeccakPBenchmark {
Expand Down

0 comments on commit 020145b

Please sign in to comment.