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

perf(nns): Improve neuron validation batching #3105

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

jasonz-dfinity
Copy link
Contributor

Why

Currently, the neuron data validation is reading all neuron sections for a batch of neurons, and the batching is by a fixed batch size. Those can be improved by: reading specific neuron sections for each task, and batch by instruction limit.

What

Implement the above-mentioned optimizations and update benchmarks.

@jasonz-dfinity jasonz-dfinity requested a review from a team as a code owner December 11, 2024 01:16
@github-actions github-actions bot added the perf label Dec 11, 2024
Base automatically changed from jason/NNS1-3475-3 to master December 12, 2024 17:03
@jasonz-dfinity jasonz-dfinity added this pull request to the merge queue Dec 12, 2024
Merged via the queue into master with commit 0e85368 Dec 12, 2024
25 checks passed
@jasonz-dfinity jasonz-dfinity deleted the jason/NNS1-3475-4 branch December 12, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants