Re: [tcljava-dev] Prototype Jacl Runtime Compiler
Brought to you by:
mdejong
|
From: Tom P. <tpo...@ny...> - 2005-09-19 20:30:49
|
On Mon, Sep 19, 2005 at 11:32:15AM -0700, Mo DeJong wrote:
> 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
I must confess, most of my timings were mostly artificial. Since my goal
was to cache TclParse (and thus TclToken) objects per proc, the tests that
I used defined one or more procs and invoked those procs in for loops.
Certainly not real world examples, but good enough to get some preliminary
results.
I did use a Java profiler, JMP, to get the idea of caching TclParse. I ran
the Jacl test suite, some of my real code, and some of my contrived
examples under the profiler. This gave me the idea for caching TclParse
objects.
Perhaps TclBench has some tests we can use?
--
Tom Poindexter
tpo...@ny...
http://www.nyx.net/~tpoindex/
|