Skip to content

Annotation retrieval performance degradation after 5.2 #23905

Closed
@quaff

Description

@quaff

I have a web application based on struts2 and spring, after upgrading to spring 5.2.0, I found performance degraded, I confirm it caused by AutowireCapableBeanFactory.createBean() .

I write an very simple test project AutowirePerformance.zip, 1000000 iterations takes about 2100ms with 5.1.9 but 2800ms with 5.2.0, it means throughput decreased 25%.

#23792 doesn't improve much, @e-hubert would you run this test project and feedback?

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions