Skip to content

Commit 7a03d54

Browse files
authored
PIRBenchmark report evaluation key / query / response counts (#217)
1 parent a902d34 commit 7a03d54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/BenchmarkUtilities/PirBenchmarkUtilities.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,11 @@ public func keywordPirBenchmark<Scheme: HeScheme>(_: Scheme.Type, entryCount: In
380380
using: benchmarkContext.evaluationKey))
381381
}
382382
benchmark.measurement(.evaluationKeySize, benchmarkContext.evaluationKeySize)
383+
benchmark.measurement(.evaluationKeyCount, benchmarkContext.evaluationKeyCount)
383384
benchmark.measurement(.querySize, benchmarkContext.querySize)
385+
benchmark.measurement(.queryCiphertextCount, benchmarkContext.queryCiphertextCount)
384386
benchmark.measurement(.responseSize, benchmarkContext.responseSize)
387+
benchmark.measurement(.responseCiphertextCount, benchmarkContext.responseCiphertextCount)
385388
benchmark.measurement(.noiseBudget, benchmarkContext.noiseBudget)
386389
} setup: {
387390
try await KeywordPirBenchmarkContext<MulPirServer<Scheme>, MulPirClient<Scheme>>(

0 commit comments

Comments
 (0)