Open eugene-furs opened 4 months ago
@eugene-furs thank you for raising this and making it easy to reproduce. :+1:
Currently, the performance of the FEEL engine is not our highest priority. However, I will have a look and try to confirm the results (using my benchmark project https://github.com/saig0/feel-scala-jmh).
Everyone is welcome to find and fix performance issues. :rocket:
Describe the bug After switching FEEL implementation from 1.16 to 1.17 it has been observed that performance of expressions' evaluation significantly degraded. In our test case with 6 million evaluations (6 expressions 1 million times each) the performance became about 6 times slower for not pre-parsed expressions and 12 times slower for pre-parsed expressions.
To Reproduce Steps to reproduce the behavior (our test case setup):
Alternatively the attached test code can be used switching FEEL versions in
pom.xml
. FEEL-Perf.zipExpected behavior About the same performance of expressions' evaluation or reasonable low performance degradation
Environment
feel-scala
library