forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable perf sampling on iter next (MystenLabs#11007)
## Description Iter `next` is called way more than seek. Sampling on seek is ok but on next even though we are only incrementing an atomic counter, the sample function consumes a lot of cpu. ## Test Plan Existing tests
- Loading branch information
1 parent
6b7db1c
commit b4f1380
Showing
2 changed files
with
5 additions
and
42 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