jenkinsci / jenkinsci/script-security-plugin
[JENKINS-35071] Do not compile script on every evaluate
- Dominant language
- Java
- Stars
- 76
- Forks
- 181
- Avg merge
- 14h 55m
- Merged PRs (30d)
- 3
Description
SecureGroovyScript.evaluate always parses the Groovy script. There should be an option to cache the parsed script (it is final). Otherwise the performance for some use cases is poor (if the script is called very often). (For details see JENKINS-14614">JENKINS-14614).
---
Originally reported by
drulli, imported from: Do not compile script on every evaluate
jglick
Raw content of original issue
SecureGroovyScript.evaluate always parses the Groovy script. There should be an option to cache the parsed script (it is final). Otherwise the performance for some use cases is poor (if the script is called very often). (For details see
JENKINS-14614).
Contributor guide
Assessment
This issue has not been assessed yet.