Skip to content

Improve performance of ReactiveAdapterRegistry [SPR-15747] #20303

@spring-projects-issues

Description

@spring-projects-issues

Phil Webb opened SPR-15747 and commented

Whilst profiling startup times for Spring Boot I noticed that ReactiveAdapterRegistry is taking quite some time for a simple application.

For example, if I run ConfigurationClassProcessingTests.simplestPossibleConfig I get a test run time around 0.66 seconds. If I comment out the code from the ReactiveAdapterRegistry constructor it drops to 0.53 seconds.

Perhaps we can make the registry late binding, or unwind some of the existing lambda calls?


Affects: 5.0 RC2

Referenced from: commits dfcc9af

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions