Skip to content

Performance improvements in configuration subsystem [DATACMNS-415] #883

@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened DATACMNS-415 and commented

Original email by mlippert:

The implementation creates a new ClassPathScanningCandidateComponentProvider without setting a MetadataReaderFactory. This causes a new caching metadata reading factory being created every time this method is called, resulting in more or less no caching for the metadata. I am not sure from where to get the appropriate MetadataReaderFactory, but the ConfigurationClassPostProcessor has the right one. I hope there is a way to reuse that, it would reduce the loading and parsing of byte code a lot.


Affects: 1.7 M1 (Codd), 1.6.3 (Babbage SR2)

Referenced from: commits bf3437f, 5906ae0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions