CloudFoundryVcapEnvironmentPostProcessor doesn't need to always create a JSON parser
dsyer opened this issue · 0 comments
dsyer commented
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).