This crate contains standalone TFHE benchmark runners.
src/bin/tfhe_gemm_scaling.rs: one-shot TFHE matrix-multiplication scaling runner for1x1,2x2,4x4, and8x8square GEMMsbenches/tfhe_array_ops.rs: Criterion microbenchmarks for TFHE integer array encrypt / operate / decrypt on batch sizes1,2,4, and8src/common.rs: shared deterministic matrix generation and plaintext reference GEMM
One-shot GEMM scaling runner:
cargo run --release --bin tfhe_gemm_scalingCriterion array microbenchmarks:
cargo bench --bench tfhe_array_opsExpected GEMM output shape:
tfhe single gemm baseline | size=1x1 status=starting
tfhe single gemm baseline | size=1x1 runtime_us=... runtime_ms=...
tfhe single gemm baseline | size=2x2 status=starting
...