Browse Source
Reduce the number of times capacity growth is needed inside the StringWriter. A typical default SpringBoot Prometheus page has more than 11k characters. Best performance results when no capacity growth is needed at all, so base it on previous metrics page size plus some room for possible extra metric info. See gh-30085pull/30505/head
1 changed files with 10 additions and 2 deletions
Loading…
Reference in new issue