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

feat: add compute shuffled index #5

Merged
merged 39 commits into from
Feb 20, 2025
Merged

Conversation

wemeetagain
Copy link
Member

@wemeetagain wemeetagain commented Feb 12, 2025

Motivation

Description

current benchmark

  computeIndices
    ✔ JS   - computeSyncCommitteeIndices - 16384 indices                  2.647731 ops/s    377.6818 ms/op        -         10 runs   4.52 s
    ✔ RS   - computeSyncCommitteeIndices - 16384 indices                  211.2437 ops/s    4.733870 ms/op        -         45 runs  0.716 s
    ✔ JS   - computeSyncCommitteeIndices - 250000 indices                 2.745048 ops/s    364.2924 ms/op        -         10 runs   4.45 s
    ✔ RS   - computeSyncCommitteeIndices - 250000 indices                 124.8175 ops/s    8.011699 ms/op        -         27 runs  0.725 s
    ✔ JS   - computeSyncCommitteeIndices - 1000000 indices                2.689285 ops/s    371.8460 ms/op        -         10 runs   4.48 s
    ✔ RS   - computeSyncCommitteeIndices - 1000000 indices                94.51259 ops/s    10.58060 ms/op        -         21 runs  0.731 s

@wemeetagain wemeetagain marked this pull request as ready for review February 17, 2025 22:25
@wemeetagain wemeetagain merged commit d172a59 into main Feb 20, 2025
23 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.

1 participant