Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improve][fn] Optimize string concatenation in user metrics gen (#20499)
### Motivation Minor optimization for metrics generation in functions. String concatenation is faster than string format. This is valuable in the context of metrics where we can generate many strings in a tight loop. ### Modifications * Replace `String.format` with string concatenation in several locations. * Only create metrics prefix once. ### Verifying this change This change is a trivial rework / code cleanup without any test coverage. ### Documentation - [x] `doc-not-needed`
- Loading branch information