-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admission: optimizations to admission.WorkQueue
These small optimizations reduce memory allocations and the length of the critical sections. A 10s mutex profile of kv50 with cpu overload had ~1.2s (of a total of 2s) in the admission package. This was correlated with what showed up in the corresponding cpu profile, which directed these changes. Release note: None
- Loading branch information
1 parent
1c13bba
commit 2834239
Showing
2 changed files
with
80 additions
and
15 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