We are working on several aspects which will improve performance. We'll be sure to add further details in the release notes if everything goes to plan.
Good to know, thanks. Is there a particular aspect of performance that is of particular importance to you? Our application was upgraded to Groovy 4 but after a performance test showed it was slower we had to go back to Groovy 3. I did a search and found a discussion[1] of someone who also noticed degradation when trying to use Groovy 4. Indy code was suggested as a possible cause but no conclusion was reached. I also noticed that the Groovy 4 release notes[2] mentions that there were numerous speed improvements because previously "indy" code was noticeably slower than "classic" bytecode. 1. https://lists.apache.org/thread/8vn8h2w8rpxmyz58bjqtkxmcwv2o6trp 2. https://groovy-lang.org/releasenotes/groovy-4.0.html#:~:text=Classic%20bytecode%20generation%20removal ________________________________ From: Paul King <pa...@asert.com.au> Sent: Thursday, February 22, 2024 2:15 AM To: dev@groovy.apache.org <dev@groovy.apache.org> Cc: Videla, Gabriel <gvid...@ptc.com> Subject: Re: Performance in Groovy 5 [You don't often get email from pa...@asert.com.au. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi Gabriel, We are working on several aspects which will improve performance. We'll be sure to add further details in the release notes if everything goes to plan. Is there a particular aspect of performance that is of particular importance to you? Cheers, Paul. On Thu, Feb 22, 2024 at 8:01 AM Videla, Gabriel <gvid...@ptc.com> wrote: > > Hi Groovy devs > > I was wondering if we should expect some performance improvements in Groovy 5 > compared to Groovy 4. I checked the release notes[1] and changelogs[2] for > Groovy 5 and I didn't see any clear reference to performance improvements so > I thought of asking here. > > Thanks > Gabriel > > 1. > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroovy-lang.org%2Freleasenotes%2Fgroovy-5.0.html&data=05%7C02%7Cgvidela%40ptc.com%7C6388346a435f44bd5bda08dc3343bf23%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C638441613280211984%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=ijZyZ561gzqKcrGIOHXM9rbp0x0YZ6GLib8ITwtvTnU%3D&reserved=0<https://groovy-lang.org/releasenotes/groovy-5.0.html> > 2. > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroovy-lang.org%2Fchangelogs%2Fchangelog-5.0.0-unreleased.html&data=05%7C02%7Cgvidela%40ptc.com%7C6388346a435f44bd5bda08dc3343bf23%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C638441613280222351%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=703JVhRhXeyHaQKfhtL7Md5B6JnUJWKk6FSpvm317nU%3D&reserved=0<https://groovy-lang.org/changelogs/changelog-5.0.0-unreleased.html>