Re: groovysh and long input

2021-01-08 Thread Stephen Mallette
hello, I've added some additional analysis to the issue I'd created several months back regarding the performance issues I've been seeing with what I will now term "incomplete multi-line scripts": https://issues.apache.org/jira/browse/GROOVY-9785 I think the notion of "incomplete" is the key

Re: groovysh and long input

2020-10-20 Thread Stephen Mallette
I've created: https://issues.apache.org/jira/browse/GROOVY-9785 On Tue, Oct 20, 2020 at 6:40 AM Paul King wrote: > Hi Stephen, sounds like it can't hurt. > > Cheers, Paul. > > > On Tue, Oct 20, 2020 at 8:23 PM Stephen Mallette > wrote: > >> Would it help if I created a ticket in JIRA and

Re: groovysh and long input

2020-10-20 Thread Paul King
Hi Stephen, sounds like it can't hurt. Cheers, Paul. On Tue, Oct 20, 2020 at 8:23 PM Stephen Mallette wrote: > Would it help if I created a ticket in JIRA and uploaded the JFRs I had? > Perhaps someone could take a look and either see an easy fix or point me in > the right direction toward

Re: groovysh and long input

2020-10-19 Thread Daniel Sun
I think the performance issue could be related to groovysh but not the new parser. Here the result of running my script[1], as you could see, it works well: ``` D:\_TEMP\yyy>groovy Test.groovy result: 5500; elapsed time: 261ms D:\_TEMP\yyy>groovy Test.groovy result: 5500; elapsed time: 240ms

Re: groovysh and long input

2020-10-19 Thread Stephen Mallette
I was using 3.0.6 actually (I'd downloaded it to make sure that it wasn't our extension of groovysh that was causing some difference). But to be sure, I just retested it on 3.0.6 and 2.5.13. I built a 500 line script of "addition". For 2.5.13 I got: groovy:000> start = System.currentTimeMillis()

Re: groovysh and long input

2020-10-19 Thread Daniel Sun
Please try 3.0.6+, we have tuned the performance a lot. Cheers, Daniel Sun On 2020/10/16 18:58:28, Stephen Mallette wrote: > Hello, > > I happened to be testing some issues related to this pull request I > submitted the other day: > > https://github.com/apache/groovy/pull/1405 > > In

RE: groovysh and long input

2020-10-16 Thread Winnebeck, Jason
:58 PM To: users@groovy.apache.org Subject: groovysh and long input CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hello, I happened to be testing some issues related

groovysh and long input

2020-10-16 Thread Stephen Mallette
Hello, I happened to be testing some issues related to this pull request I submitted the other day: https://github.com/apache/groovy/pull/1405 In testing between groovy 2.5.x and 3.x I've noticed a considerable performance difference when pasting long multi-lined scripts. 2.5.x is quite quick