Slow SpEL performance due to method sorting in ReflectiveMethodResolver
#28377
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Hi,
I am using Spring expression language (5.3.15).
I found the following method does sorting on a list of methods (
ReflectiveMethodResolver
).I did some benchmarking and found it cost me at least 100 milliseconds more.
Is it possible to make this sorting optional ?
I am attaching the benchmark logs with and without sorting .
Do we really need the following code ?
Thanks,
Aashish
translator-without-sorting.log
translatorwith-sorting-.log
The text was updated successfully, but these errors were encountered: