Main Menu/ Search/ Help Main Menu/ Search/ Help
Publications of the Ptolemy Group

Tcl and Java Performance

H. John Reekie, University of California at Berkeley
Christopher Hylands, University of California at Berkeley
Edward A. Lee, University of California at Berkeley

[HTML]HTML with Java [HTML]HTML without Java
[Postscript]PostScript [PDF]PDF


Combining scripting languages such as Tcl with lower-level programming languages such as Java offers new opportunities for flexible and rapid software development. In this paper, we benchmark various combinations of Tcl and Java against the two languages alone. We also provide some comparisons with JavaScript. Performance can vary by well over two orders of magnitude. We also uncovered some interesting threading issues that affect performance on the Solaris platform.

"There are lies, damn lies and statistics"

This paper is a work in progress, we used the information here to give our group some generalizations on the performance tradeoffs between various scripting languages. Updating the timing results to include JDK1.2 with a Just In Time (JIT) compiler would be useful.

The Scripting Performance Test Bed Details page describes some of the details of the test bed we used, and includes a tar file distribution of the testbed.