-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(nns): Add benchmarks for neuron data validator (#3102)
# Why Neuron data validator goes through batches of neurons in order to make sure neurons and its indexes are in a consistent state, and such operations will get more expensive after neurons are migrated to stable structures. Adding benchmarks makes it easier to optimize the performance, and help prevent regressions. # What Add benchmarks for neuron data validator for 2 cases - whether the neuron migration to stable structures is enabled or not.
- Loading branch information
1 parent
cf7d6c2
commit 1f952c5
Showing
2 changed files
with
65 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters