Suggestions on how to get good timing on OSX?

Mark Roos mroos at roos.com
Sun Mar 4 23:56:42 PST 2012


I have been working on execution time for my Smalltalk implementation and
am having trouble getting repeatable times.  I am using a script from a 
new
launch of java with all apps turned off.  I run the target code 10 times 
to let
Hotspot do its thing.  What I see are times of great performance and times 

that are 30% slower after they stabilize.  Since I am trying fine grained 
changes
in method lookups etc it makes it difficult to determine if what I try 
helps or hurts.

Any suggestions on how to do a better job?  I am using a core 2 duo with 
snow leopard.

thanks
mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20120304/976c99c5/attachment.html 


More information about the mlvm-dev mailing list