[armedbear-devel] Fwd: [j-devel] Improving startup time: sanity check

Erik Huelsmann ehuels at gmail.com
Thu Oct 29 09:22:55 UTC 2009


forwarding


---------- Forwarded message ----------
From: Alessio Stalla <alessiostalla at gmail.com>
Date: Wed, Oct 28, 2009 at 11:34 PM
Subject: Re: [j-devel] Improving startup time: sanity check
To: Erik Huelsmann <ehuels at gmail.com>
Cc: armedbear-j-devel at lists.sourceforge.net, Alex Muscar <muscar at gmail.com>


On Wed, Oct 28, 2009 at 11:20 PM, Alessio Stalla
<alessiostalla at gmail.com> wrote:
> The test might be wrong

It was, indeed, wrong. It measured class loading time too for
reflection, but that can't be eliminated, no matter what instantiation
technique you use.

New results on 50000 iterations:

REFLECTION: 9660480097
NEW: 88353767
% SLOWER: 10933

REFLECTION: 9602410291
NEW: 78459331
% SLOWER: 12238

REFLECTION: 9925574038
NEW: 86923015
% SLOWER: 11418

~100 times slower is still impressive.

Ale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.java
Type: text/x-java
Size: 1682 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20091029/99344a36/attachment.java>


More information about the armedbear-devel mailing list