Re: [tcljava-dev] Prototype Jacl Runtime Compiler
Brought to you by:
mdejong
|
From: Mo D. <md...@un...> - 2005-09-19 18:30:05
|
On Mon, 19 Sep 2005 09:06:33 -0600
Tom Poindexter <tpo...@ny...> wrote:
> On Sun, Sep 18, 2005 at 10:34:58PM -0400, Bruce Johnson wrote:
>
> > I'll be posting the code shortly at my web site, but if anyone would
> > like it sooner just email me
> > and I'll send you a copy (the compressed code is only 46Kb).
> > It consists of 11 modified or new Java source files that can just be
>
>
> Bruce, this looks cool! Please send me a copy.
>
> I started a small 'performance' project, trying to cache the parsed TclParse
> objects per each Procedure, mapping them to the character offset in each
> proc body. This turned out not to have a great performance impact, only
> about 1.3 - 1.5 increase. There's still quite a bit of overhead in
> Parser.evalTokens(). Oh well, nice experiment anyway.
Tom, what kind of scripts/tools were you using to measure this 1.3 -> 1.5
speed improvement? I have not found much "demo code" that was easy
to use with Jacl for the testing runtime performance issues. One could always
write a small loop and use time {...} to measure it, but that does not really
work like "real world" Jacl code. I guess what I am really looking for is some
number of Jacl examples that do more than just a simple loop and yet can
easily be used outside of other code to test the Jacl runtime impl.
Mo DeJong
|