Skip to content

CloudFoundryVcapEnvironmentPostProcessor doesn't need to always create a JSON parser #13437

@dsyer

Description

@dsyer

CloudFoundryVcapEnvironmentPostProcessor only needs to parse JSON if it finds that the app is running in Cloud Foundry. But it always instantiates a JSON parser in the class init, which is potentially wasteful (2% of startup time in a really basic webflux app using functional bean registration instead of autoconfig).

Metadata

Metadata

Assignees

Labels

theme: performanceIssues related to general performance

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions