20 Aug 08:17
[groovy-dev] Startup cost -- just checking, not a huge issue -- mainly for interest
From: Russel Winder <russel.winder@...>
Subject: [groovy-dev] Startup cost -- just checking, not a huge issue -- mainly for interest
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-08-20 06:19:56 GMT
Subject: [groovy-dev] Startup cost -- just checking, not a huge issue -- mainly for interest
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-08-20 06:19:56 GMT
I know my Sun Blade 100 is old (5 years) and slow but...
|> JAVACMD=/usr/jdk/latest/bin/sparcv9/java time groovy -e "println
System.getProperty('sun.arch.data.model')"
64
real 17.4
user 14.1
sys 2.1
|> JAVACMD=/usr/jdk/latest/bin/sparcv9/java time groovy -e "println
System.getProperty('sun.arch.data.model')"
64
real 16.0
user 13.8
sys 1.3
|> time groovy -e "println System.getProperty('sun.arch.data.model')"
32
real 0m12.847s
user 0m9.287s
sys 0m1.506s
|> time groovy -e "println System.getProperty('sun.arch.data.model')"
32
real 0m11.417s
user 0m9.237s
sys 0m1.447s
|>
(Continue reading)
Before going to the figures, I'd like to thank you:
- Guillaume to let me in GSOC program this year,
- Alex T. for making callsite fast enough to make me to find an
alternative way - and look back to my GJIT project,
- Jochen for his questions and thoughts of how to remove
"box/unbox"-ing pairs.
This partial sums benchmark is from shootout. I've selected it to be
the first one because the ease of implementation.
As I mentioned, the JIT quality is still alpha, but at least I've got
a good enough code structure to patch (and patch).
My current goal is to beat all shootout benchmarks at the moment, and
I hope to finally have some more figures to show.
- PartialSumsJ is Java implementation of partial sums, taken from shootout.
- partial_sums.groovy is untyped version, taken from shootout.
- alioth/PartialSums.groovy is typed version, modified from partial_sums.groovy
All results use Java 1.6_06 with -server option.
RSS Feed