-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize allocation behavior of the autoscaler (#10375)
* Optimize allocation behavior of the autoscaler This optimizes the autoscaler's allocation behavior by 1. Collapsing metric record calls, since that path is kind of expensive 2. Avoiding to build a new logger and instead only adding the metric key where relevant 3. Avoiding to build new loggers for the stable and panic debug logs 4. Avoiding to call formatting logs by checking the log levels first * Add a simple autoscaler benchmark * Use variable
- Loading branch information
1 parent
e1e77b8
commit d2a5fde
Showing
1 changed file
with
38 additions
and
18 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