groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <blackd...@gmx.org>
Subject Re: Problem with Groovy 1.8.9 and Java 1.8.0
Date Thu, 23 Apr 2015 09:22:47 GMT
Am 23.04.2015 05:14, schrieb W. Craig Trader:
> Jochen ...
>
> Thanks for the response.
>
> 1. Replicated the problem on Linux with Java 1.8.0_45. It goes away if I
> run the script as follows:
>
> JAVA_OPTS=-Xverify:none groovy IteratorBug.groovy
>
> 2. I can demonstrate: Checkout https://github.com/wcraigtrader/ogp, run
> with Java 1.7.0, twice, as follows:
>
>     ./gradlew run -GV=1.8.9
>
>     ./gradlew run -GV=2.4.3
>
>
> Compare the times -- Groovy 1.8.9 is faster for this simulation of my
> application (and even more so for the actual application).

I just tried this out... since I don't know what to look at I give here 
my final results

./gradlew -PGV=1.8.9 run
|-- elapsed time        [Initialize data]     0,214  seconds.
|-- elapsed time        [Create database]     2,166  seconds.
|-- elapsed time            [Ingest data]    97,031  seconds.
|-- elapsed time       [Database cleanup]     0,028  seconds.
|-- Total              [GraphPerformance]    99,447  seconds.

./gradlew -PGV=2.4.3 run
|-- elapsed time        [Initialize data]     0,298  seconds.
|-- elapsed time        [Create database]     2,358  seconds.
|-- elapsed time            [Ingest data]    95,840  seconds.
|-- elapsed time       [Database cleanup]     0,032  seconds.
|-- Total              [GraphPerformance]    98,555  seconds.

./gradlew -PGV=2.4.3:indy run
|-- elapsed time        [Initialize data]     0,378  seconds.
|-- elapsed time        [Create database]     2,196  seconds.
|-- elapsed time            [Ingest data]   174,907  seconds.
|-- elapsed time       [Database cleanup]     0,025  seconds.
|-- Total              [GraphPerformance]   177,518  seconds.

So for me the indy version is significantly slower, while the primopts 
versions are very similar in performance, with 2.4.3 being maybe faster, 
but that may very well be within the variation

bye blackdrag

-- 
Jochen "blackdrag" Theodorou
blog: http://blackdragsview.blogspot.com/


Mime
View raw message