Skip to content

SpEL expression parser uses more CPU after upgrade to 6.2.9 #35556

@bhargavmavram

Description

@bhargavmavram

SPEL expression parser takes more cpu after upgrade from 6.2.8 to 6.2.9,

There is huge affect in performance and we use spel in multi threaded env.

A benchmark that was captured during testing the same code with different spel versions

00:08:33.234019 time with 6.2.9
00:02:36.568206 time with 6.2.8

Any suggestions to be considered to make 6.2.9 run similar to 6.2.8.

We also tried working with 6.2.10 and 6.2.11, both the version exhibit the same issue with performance.

Tried some of the version between 5.3.39 and 6.2.8 which are 6.2.0 and 6.2.5.

6.2.0 and 6.2.5 provided the best performance same as 6.2.8.

The major difference we are seeing with spel is while moving from 6.2.8 to 6.2.9. I have gone through the change logs but could not get the root cause that could be possible for higher cpu time.

Background:
We run our application on Quarkus and use spel library for expresssion parsing. We had a vulnerability on 5.3.39 that is when we moved to the latest library that did not have any issues which is 6.2.11.

While backtracking the version we found the conflicting issue of performance happened between 6.2.8 to 6.2.9.

Looking forward for your response.

Thank You

Metadata

Metadata

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