Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2023-12-25, Execution Team 2024-01-08, Execution Team 2024-01-22
-
35
Description
Even when metrics collection is disabled,we're spending a lot of time in cursor scanning accessing the MetricsCollector decorator and calling the increment functions.
Cache the pointer to the MetricsCollector and inline the increment functions.