Date: Wed, 4 Nov 1998 17:02:41 -0700 From: Nate Williams <nate@mt.sri.com> To: "Viren R. Shah" <viren@rstcorp.com> Cc: Hideki Kobayashi <hidekoba@alles.or.jp>, Rogerio Gatto <gatto@widesoft.com.br>, freebsd-java@FreeBSD.ORG Subject: Re: JIT on FreeBSD Message-ID: <199811050002.RAA15806@mt.sri.com> In-Reply-To: <199811042157.QAA10548@jabberwock.rstcorp.com> References: <BBE7F889EE27D211BB1A00A0C9AC2B8309FEE1@calcio.widesoft.com.br> <363FE502.8D2C172B@alles.or.jp> <199811042157.QAA10548@jabberwock.rstcorp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I ran my application on it: > without a JIT: > 17.69 real 16.11 user 0.28 sys > with a JIT: > 18.16 real 16.26 user 0.34 sys > > It actually took more time. Is this possibly due to me running a > 2.2.7/AOUT library on a -current/ELF system? or due to the nature of > the application? Probably the nature of the appliation. Since it's effectively 'compiling' the program into native code everytime you run it, if the program doesn't have much CPU intensive code (as it appears above) *OR* doesn't run a long time to amortize out the pre-compile, then it won't help you out much due to the startup overhead. This is where Sun's much talked about 'Hot-Spot' JIT (sort of) will help out, since it only JIT's 'bottlenecks' it finds in your code, thus making the startup and JIT cost alot less. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811050002.RAA15806>