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 10000 votes #95

Closed
wants to merge 2 commits into from
Closed

Benchmark 10000 votes #95

wants to merge 2 commits into from

Commits on Feb 16, 2024

  1. Putting ballots in separate memory

    This PR separates the ballots from the forms.
    This allows to run adding a new ballot much faster.
    When there are more than 100 ballots, this gets very important:
    adding a 1000th ballot can take 1s, a 10'000th ballot 10s.
    
    Using this PR, up to the 10'000th ballot it only takes 100ms.
    ineiti committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    9eaeeea View commit details
    Browse the repository at this point in the history
  2. Creating two types of benchmarks

    - running single vote ballots
    - running multiple vote ballots to test many (10000) votes
    ineiti committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    6bf6995 View commit details
    Browse the repository at this point in the history