Skip to content

NerdsWithAttitudes/tfhe-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFHE Benchmarks

This crate contains standalone TFHE benchmark runners.

Current contents

  • src/bin/tfhe_gemm_scaling.rs: one-shot TFHE matrix-multiplication scaling runner for 1x1, 2x2, 4x4, and 8x8 square GEMMs
  • benches/tfhe_array_ops.rs: Criterion microbenchmarks for TFHE integer array encrypt / operate / decrypt on batch sizes 1, 2, 4, and 8
  • src/common.rs: shared deterministic matrix generation and plaintext reference GEMM

Run

One-shot GEMM scaling runner:

cargo run --release --bin tfhe_gemm_scaling

Criterion array microbenchmarks:

cargo bench --bench tfhe_array_ops

Expected 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
...

About

A benchmark suite for Torus Fully Homomorphic Encryption (TFHE)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages