Jcon Performance

This data is really old. As of 2010 it appears that Java performance has improved greatly and that Jcon now outperforms Icon v9.5.0 in many cases, perhaps most.

Programs built by Jcon typically run somewhat slower than when built and run by Version 9 of Icon. We use the ratio of execution times as our basic benchmark measurement. The result depends on many things, but a factor of two or three is typical with a good Java system.

We have measured execution times for the standard Icon benchmarks and for three long-running additional applications. The standard benchmark programs were taken from Icon v9.3.1 and run unmodified, but some data files and command options were changed to make them run longer. The benchmark programs are as follows:

concord produces a text concordance (word index)
deal deals bridge hands
ipxref cross-references Icon programs
queens places non-attacking queens on chessboard
rsg generates random sentences
tgrlink optimizes vectors for drawing street maps
geddump dumps a genealogical data base
jtran translates Icon into Java class files

We did most of our performance tuning on a Silicon Graphics Indigo2 running SGI Java 3.1 (JDK 1.1.5). This is a good Java implementation running on a fast machine. It uses just-in-time (JIT) compilation to convert JVM code to machine code as needed. There is a minimum one-second startup cost for every execution, which we attribute to initialization and JIT compilation; this cost is included in the measurements below but is not the dominating factor.

Here are execution time ratios measured on several platforms:

platform concord deal ipxref queens rsg tgrlink geddump jtran
SGI Irix 6.2 JDK 1.1.6 3.69.22.71.53.2 3.22.23.4
Sun Solaris 2.6 JDK 1.1.6 5.26.14.33.45.1 4.13.54.6
Sun Solaris 2.6 JDK 1.2beta4 2.73.71.91.53.0 1.81.92.6
IBM AIX 4.1.5 JDK 1.1.4 6.610.04.42.26.2 3.53.6N/A
Digital Unix 4.0B Fast JVM b1 6.310.18.73.46.6 3.66.75.4


index || intro | usage | differences | graphics | dynamic loading | performance | release notes | installation | references || home