Skip to content

Benchmarks #17

@cedoor

Description

@cedoor

Summary

Add a cargo bench suite so developers can measure op latency on their hardware before committing to squid in a project.

Background

FHE performance is highly hardware-dependent. Without benchmarks, developers have no way to assess whether squid meets their latency requirements without writing their own measurements.

Work

  • Add a benches/ crate using criterion
  • Benchmark each op (add, sub, and, or, xor, sll, srl, sra, slt, sltu) for u32
  • Benchmark keygen and encrypt / decrypt
  • Run with both FFT64Ref and FFT64Avx backends

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions