public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
From: "Anthony Green" <green@redhat.com>
To: "Cedric Berger" <cedric@wireless-networks.com>
Cc: <rhug-rhats@sources.redhat.com>, <java@gcc.gnu.org>
Subject: Re: Xalan: gcj -vs- jre 1.3
Date: Sat, 15 Sep 2001 15:22:00 -0000	[thread overview]
Message-ID: <000701c13e35$7b6b4160$5be6b4cd@cygnus.com> (raw)
In-Reply-To: <3BA3C775.8070705@wireless-networks.com>

Cedric wrote:
> Do you understand, I hope, that this only measures the startup time
> of the VM.

Yes - of course. :-)   I thought I had put a caveat around it with "this kind
of batch processing".

> This is where GCJ shines and where GCJ will be very useful.

Yes.  My two other favorite benefits are (1) gcj may be available for targets
for which there are no JRE ports, and (2) tight-memory environments running
multiple java processes will benefit from having all of the library code in
shared libraries (and then there's the fact that it's Free software).

> Of course, nobody in is right mind will invoke the following command
> to transform XSL documents in a production environment.

Hmm.. why not?  This is almost exactly what "make htdocs" is going to do in
the rhug Makefile.  Do you just mean a production servlet environment?

> What would be interresting is to "daemonize" the process, and see
> how long it takes to transform a single document with a *running* VM.

Well, I just did another test with SAX2Count from Xerces.  It has a -w flag to
"warm up" the VM before timing.  I ran it on a large xml doc and they were
very close.  Gcj had a slight edge, but it was only about 15%.  Of course,
these benchmarks are somewhat meaningless because I'm not using the latest JRE
and the gcj library builds were not really tuned for performance.

> And also, of course, since you used the latest GCJ, would you care
> to do the same test with the latest JRE, which is 1.3.1_01 if I'm not
> mistaken?

I'm not all that motivated to do this.  I have easy access to the 1.3 version,
and the binary license for JRE 1.3.1 has some language that I don't understand
and find troublesome.

AG


      reply	other threads:[~2001-09-15 15:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-15 13:41 Anthony Green
2001-09-15 14:13 ` Cedric Berger
2001-09-15 15:22   ` Anthony Green [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000701c13e35$7b6b4160$5be6b4cd@cygnus.com' \
    --to=green@redhat.com \
    --cc=cedric@wireless-networks.com \
    --cc=java@gcc.gnu.org \
    --cc=rhug-rhats@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).