blackdrag edited a comment on issue #1135: GROOVY-8298: Slow Performance Caused by Invoke Dynamic URL: https://github.com/apache/groovy/pull/1135#issuecomment-570908249 @danielsun1106 which version of Java are you using for your tests? In my test CS was slower for the first case than indy1, in your comment they have equal speed. As for the category case I think this should be kept outside for now. they require special treatment, as I think even the times in CS are not acceptable.. I mean compare with case one... that is 100 million calls in 500ms and the category is 100k calls in 4000ms, interpolated then 4 million ms for 100 million calls - that is a factor of 8000. Measuring.... Case 1 is now like indy1, as you have. Case2, with the different arguments, is now at 1290ms compared to before 2000ms. Case3, with the different receivers, is now at 540ms, so like 50% improvement. But if you check how often setTarget is called on the callsite even with a threshold of 0 you will see that there must be something wrong in the implementation.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services