From owner-freebsd-java Wed Nov 4 16:06:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA07404 for freebsd-java-outgoing; Wed, 4 Nov 1998 16:03:36 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA07196 for ; Wed, 4 Nov 1998 16:03:20 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id RAA23126; Wed, 4 Nov 1998 17:02:47 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA15806; Wed, 4 Nov 1998 17:02:41 -0700 Date: Wed, 4 Nov 1998 17:02:41 -0700 Message-Id: <199811050002.RAA15806@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Viren R. Shah" Cc: Hideki Kobayashi , Rogerio Gatto , freebsd-java@FreeBSD.ORG Subject: Re: JIT on FreeBSD In-Reply-To: <199811042157.QAA10548@jabberwock.rstcorp.com> References: <363FE502.8D2C172B@alles.or.jp> <199811042157.QAA10548@jabberwock.rstcorp.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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