ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcljava-dev
tcljava-dev
[tcljava-dev] Tcl Java Compiler
by Martti Tienhaara other posts by this author
Jan 13 2006 4:33PM messages near this date
[tcljava-dev] Tcl Java Compiler timing results | Re: [tcljava-dev] Tcl Java Compiler
>  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 (martti@dash.ca)
DASH Software Ltd.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
tcljava-dev mailing list
tcljava-dev@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-dev
Thread:
Martti Tienhaara
Mo DeJong
Martti Tienhaara

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved