Skip to content

Conversation

@JobDoesburg
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 19, 2026 16:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive benchmarking infrastructure to measure performance and energy consumption of cryptographic operations. It introduces both Criterion-based performance benchmarks and energy-aware benchmarks for base primitives and distributed system operations.

Changes:

  • Added benchmark implementations for base ElGamal operations (encrypt, decrypt, rerandomize, reshuffle, rekey, etc.)
  • Added distributed transcryption benchmarks with individual and batch processing modes
  • Configured GitHub Actions workflow to run benchmarks on CI with artifact upload
  • Added development dependencies (criterion, energy-bench) and benchmark target configurations

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
benches/base.rs Criterion benchmarks for base cryptographic primitives using proper batched setup
benches/energy_base.rs Energy consumption benchmarks for base operations with 10,000 iterations per test
benches/distributed.rs Criterion benchmarks for distributed transcryption with utility functions and configuration constants
benches/energy_distributed.rs Energy benchmarks for distributed operations using shared utilities from distributed.rs
Cargo.toml Added benchmark dependencies and configurations for four benchmark targets
.github/workflows/benchmark.yml CI workflow for running benchmarks with separate jobs for regular and energy benchmarks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JobDoesburg JobDoesburg merged commit 91e7235 into main Jan 23, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants