Lists Home |
Date Index |
- From: David Brownell <firstname.lastname@example.org>
- To: "Mark D. Anderson" <email@example.com>
- Date: Tue, 11 May 1999 09:41:53 -0700
"Mark D. Anderson" wrote:
> >1. Java is faster than Perl/Python for _all_ test cases
> there are substantial variations in VM performance across
> vendor and OS; see:
> Also, for reasons that I can only attribute to laziness on
> the part of implementors, java VMs seem to take a ridiculous
> amount of time to start up. Beats me what they are doing.
I suspect that nobody's ever placed aggressive tuning targets
on the startup time. There's operating system overhead for
setting up processes (including setting up shared libraries
and intitializing data structures), and often some JIT costs
(since JVMs don't yet cache JIT results AFAIK).
That's not to disagree that startup costs shouldn't be cut,
only to point out that there are reasons for them that don't
have a thing to do with laziness. Many apps have startup times
that are substantial, so they run faster when they're used.
> Judging from the level of discussion on various other lists I'm
> on, none of java, perl, or python were designed with lightweight,
> accurate, and meaningful profiling of their own run time built in.
Not so. With Java 2, check out "java -Xrunhprof:help" output to
see the built in profiler. Works nicely on SPARC out of the box,
but the Win32 version at one point needed a JIT update to get CPU
profiling to work (by default it only does memory profiling).
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)