34 messages in org.codehaus.groovy.devRe: [groovy-dev] Re: [groovy-user] Me...
FromSent OnAttachments
Alex TkachmanOct 16, 2008 2:30 pm 
Alex TkachmanOct 16, 2008 3:17 pm 
Jochen TheodorouOct 16, 2008 3:49 pm 
Tim QuinnOct 16, 2008 4:15 pm 
Alexander VeitOct 16, 2008 4:34 pm 
Jochen TheodorouOct 16, 2008 4:43 pm 
Tim QuinnOct 16, 2008 5:28 pm 
Jochen TheodorouOct 17, 2008 6:35 am 
Alex TkachmanOct 17, 2008 6:44 am 
Graeme RocherOct 17, 2008 6:54 am 
Jochen TheodorouOct 17, 2008 7:05 am 
Graeme RocherOct 17, 2008 7:14 am 
alex...@gmail.comOct 17, 2008 7:30 am 
Jochen TheodorouOct 17, 2008 7:36 am 
Alex TkachmanOct 17, 2008 9:51 am 
Jochen TheodorouOct 22, 2008 5:27 am 
Alex TkachmanOct 22, 2008 5:37 am 
Jochen TheodorouOct 22, 2008 6:05 am 
Alex TkachmanOct 22, 2008 6:08 am 
Jochen TheodorouOct 22, 2008 6:18 am.zip
Alex TkachmanOct 22, 2008 6:32 am 
Jochen TheodorouOct 22, 2008 7:06 am 
Guillaume LaforgeOct 22, 2008 7:08 am 
Alex TkachmanOct 22, 2008 7:11 am 
Guillaume LaforgeOct 22, 2008 7:21 am 
Jochen TheodorouOct 22, 2008 7:22 am 
Jochen TheodorouOct 22, 2008 7:39 am 
Jochen TheodorouOct 22, 2008 7:41 am 
Alex TkachmanOct 22, 2008 9:16 am 
Jochen TheodorouOct 22, 2008 10:11 am 
Jochen TheodorouOct 22, 2008 11:24 am 
Alex TkachmanOct 22, 2008 11:48 am 
Jochen TheodorouOct 22, 2008 2:07 pm 
Jochen TheodorouDec 22, 2008 12:52 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [groovy-dev] Re: [groovy-user] Memory leaks in GroovyActions...
From:Alex Tkachman (alex@gmail.com)
Date:Oct 22, 2008 11:48:01 am
List:org.codehaus.groovy.dev

Could you please try WeakMapTest or whatever it called

On Wed, Oct 22, 2008 at 10:24 PM, Jochen Theodorou <blac@gmx.org>wrote:

Jochen Theodorou schrieb: [...]

how much can be said only after doing some performance measurements

I did some tests using

java -version java version "1.7.0-ea" Java(TM) SE Runtime Environment (build 1.7.0-ea-b24) Java HotSpot(TM) 64-Bit Server VM (build 12.0-b01, mixed mode)

uname -a Linux darkangel 2.6.24-21-generic #1 SMP Mon Aug 25 16:57:51 UTC 2008 x86_64 GNU/Linux

CPU is a Q6600

anyway... I give now first the command line, then the time before my commit then the time after my commit and then the percentage-wise change (new/old)-1. So + means new is faster, - means the new version is slower. If the command line starts with time, then I sued the command line tool time to make the measurement. Each test was run 10 times, removing the best and worst measurement.

target/install/bin/groovy ../alioth/binarytrees.groovy 12 1202ms 1181ms +2% target/install/bin/groovy ../alioth/fannkuch.groovy 436ms 442ms -1% target/install/bin/groovy ../alioth/partialsums.groovy 10299 330ms 348ms -5% time target/install/bin/groovy ../alioth/recursive.groovy 6 3024ms 2980ms +1% time target/install/bin/groovy ../alioth/ray 10 10 3706ms 3787ms -2% target/install/bin/groovy ../alioth/spectralnorm.groovy 559ms 564ms -1%

that means within a range of 1-2% old and new are at the same speed with the exception of the recusive test which has 5%. I think these 1-2 are well in the measurement range, probably I only had bad luck to get the 5%.

Frankly that is much better than I expected, because especially when the test takes more memory I expected the call back reference manager to kick in, which can have a bad performance. but it seems not to be the case.

bye blackdrag