Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark the CCTV RSA vector #66

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Benchmark the CCTV RSA vector #66

wants to merge 4 commits into from

Conversation

dvdplm
Copy link
Contributor

@dvdplm dvdplm commented Jan 6, 2025

In a recent blogpost, the golang stdlib maintainers described a neat benchmarking trick where they construct a statistically average sequence of primality candidates, hitting the various stages of their primality testing code in a mathematically sane way.

They published a test vector over at the CCTV repo and this PR adds benchmarks for that TV, allowing fair (?) comparisons between different implementations.

Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.44%. Comparing base (e256297) to head (15db0ca).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   99.44%   99.44%           
=======================================
  Files          10       10           
  Lines        1449     1449           
=======================================
  Hits         1441     1441           
  Misses          8        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

benches/cctv.rs Outdated Show resolved Hide resolved
benches/cctv.rs Outdated Show resolved Hide resolved
benches/cctv.rs Show resolved Hide resolved
benches/cctv.rs Outdated Show resolved Hide resolved
benches/cctv.rs Outdated Show resolved Hide resolved
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