Hi Jochen,
just a quick feedback: We use distinct classes derived from a Table base
class to model concrete database tables (e.g. PERSON_Table,
DEPARTMENT_Table, ADDRESS_Table, etc), but the different columns in
those tables are not modelled as separate classes, but are just
instances of the
On 09.05.22 22:13, MG wrote:
Hi Jochen,
our code certainly creates a lot of (short lived) class instances*, but
we do not dynamically create new classes, so the overhead of creating
the initial Indy callsites should only be incurred once at the
beginning, and then should no longer play a role.
Hi Jochen,
our code certainly creates a lot of (short lived) class instances*, but
we do not dynamically create new classes, so the overhead of creating
the initial Indy callsites should only be incurred once at the
beginning, and then should no longer play a role. So if the same SQL
On 09.05.22 17:41, MG wrote:
Hi Jochen,
since I am not feeling well right now, just some quick answers to some
of your questions:
1. I am not at liberty to release the source code from our project, not
even partially, so these JARs are currently all I can provide. I
felt when I
Hi Jochen,
since I am not feeling well right now, just some quick answers to some
of your questions:
1. I am not at liberty to release the source code from our project, not
even partially, so these JARs are currently all I can provide. I
felt when I reported this problem initially,
On 07.05.22 01:55, MG wrote:
Hi Groovy devs,
I have finally managed to extract a sample from our Groovy framework
that only uses our most basic modules and still exhibits the 2-3x
performance degradation between (non-indy) Groovy 3 and Groovy 4 I
already described in multiple posts a while ago.
Hi Daniel,
could you confirm that with my sample ? I have tried all the
optimization settings when you proposed them before
("-Dgroovy.indy.optimize.threshold=0" threw an NPE, but
"-Dgroovy.indy.optimize.threshold=2" should lead to the same result as
far as I understand), and that alas did
Hi mg,
Groovy 4 enables indy, i.e. invokedynamic by default, and the default
threshold for optimization of indy is 10,000. We can adjust its value by the
system property "groovy.indy.optimize.threshold", e.g.
"-Dgroovy.indy.optimize.threshold=0". When the related code is executed more
To download all 3 files in a single ZIP, you can use the following URL:
https://github.com/mgroovy/groovyperformance/zipball/master/
Cheers,
mg
Hi Groovy devs,
I have finally managed to extract a sample from our Groovy framework
that only uses our most basic modules and still exhibits the 2-3x
performance degradation between (non-indy) Groovy 3 and Groovy 4 I
already described in multiple posts a while ago.
The code was built using
10 matches
Mail list logo