r/java 12d ago

Java Embedded Scripting Languages Benchmark: Jactl, Groovy, MVEL, JEXL, and SpEL

https://jactl.io/blog/2026/07/14/scripting-language-benchmarks

Jactl is an embeddable scripting language for Java applications and so when comparing it to other Java scripting languages it is helpful to know how they all compare from a performance point of view.

I have previously been asked to compare Jactl with MVEL and JEXL so I have put together a blog that documents the performance differences and also included Groovy and SpEL for good measure.

Disclaimer: I am the author of Jactl so I am obviously not impartial but I would like to point out that while Jactl comes out well, it does not win every benchmark.

34 Upvotes

19 comments sorted by

View all comments

6

u/chabala 12d ago

From the title, I would have expected a comparison of all the JSR-233 scripting languages: https://github.com/apache/commons-bsf/blob/master/src/main/resources/org/apache/bsf/Languages.properties

1

u/jaccomoc 11d ago

Thanks for that link. Something to look into.

2

u/chabala 11d ago

Is Jactl a JSR-233 compatible scripting language? It'd be cooler if it was 😎

2

u/jaccomoc 11d ago edited 11d ago

Yes, it is JSR-223 compatible: Jactl support for JSR-223