Skip to content

Conversation

@Mr-Leshiy
Copy link
Contributor

Description

  • Added rayon lib
  • Updated encrypt_vote function with the parallel iterator usage.

Performance measurements on Apple M1
Old version:

vote protocol benchmark/vote encryption
                        time:   [243.70 µs 243.88 µs 244.14 µs]

New version:

vote protocol benchmark/vote encryption
                        time:   [139.87 µs 141.72 µs 144.27 µs]
                        change: [-42.351% -41.334% -40.375%] (p = 0.00 < 0.05)
                        Performance has improved.

@Mr-Leshiy Mr-Leshiy marked this pull request as ready for review October 29, 2024 13:43
@Mr-Leshiy Mr-Leshiy self-assigned this Oct 29, 2024
@Mr-Leshiy Mr-Leshiy added the review me PR is ready for review label Oct 29, 2024
@github-actions
Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 211/211}$ | ${\color{red}Fail: 0/211}$ |

Copy link
Collaborator

@minikin minikin left a comment

Choose a reason for hiding this comment

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

lgtm

@minikin minikin merged commit 874b506 into main Oct 29, 2024
22 checks passed
@minikin minikin deleted the feat/vote-encryption-perf-impr branch October 29, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review me PR is ready for review

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants