spring-boot/spring-boot-project/spring-boot-actuator/src
Peter Paul Bakker fb3f3c52cf Tweak performance for Prometheus scraping endpoint
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-30085
2022-03-09 12:08:26 +01:00
..
main Tweak performance for Prometheus scraping endpoint 2022-03-09 12:08:26 +01:00
test Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00