[tcljava-dev] Tcl Java Compiler
Brought to you by:
mdejong
From: Martti T. <ma...@da...> - 2006-01-14 00:32:46
|
> Today's Topics: > > 1. A new Tcl to Java compiler for Xmas (Mo DeJong) > This is a great addition for the Jacl world. However I found that it doesn't provide any improvement when executing a large number of small procedures. I suspect speed improvements only occur when the overhead of setting up the environment for the compiled version at runtime is small compared to the execution time of the compiled code. For example 36,000 executions with various arguments of a simple procedure with about 50 lines of code gave total runtimes of raw jacl = 138 seconds compiled jacl = 144 seconds coded in java = 5 seconds This is embedded in a real application so a lot of execution time was consumed elsewhere in the Java code. I would be interested in hearing if anyone else has done any comparisons for larger jacl code procedures. Cheers Martti Tienhaara (ma...@da...) DASH Software Ltd. |