Re: Re: Re: Re: Resulting class performance

Jeremy Cowgar <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 5/7/2010 4:11 PM, Eugene Kuleshov wrote:
>    You may also want to read on micro-benchmarking JVM at
> http://wikis.sun.com/display/HotSpotInternals/MicroBenchmarks
>    

Interesting, on there they said try with +PrintCompilation ... Here is 
the LoopTest written in Java:

And here is the LoopTest written in Java.

   1       java.lang.String::hashCode (60 bytes)
   2       java.lang.String::charAt (33 bytes)
   3       java.lang.String::indexOf (166 bytes)
   1%      LoopTest::main @ 7 (23 bytes)

And here is the class compiled by Josl:

   1       java.lang.String::hashCode (60 bytes)
   2       java.lang.String::charAt (33 bytes)
   1%      JoslProgram::main @ 6 (18 bytes)
   1   COMPILE SKIPPED: compile failed (not retryable)

That may have something to do with it... However, I don't know why it 
failed :-(

Jeremy
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.