Next: Introduction
Comparing the performance of
JAVA with Fortran and C for numerical computing
1
Y. F. Hu, R. J. Allan and K. C. F. Maguire
Daresbury Laboratory, CLRC, Daresbury,
Warrington WA4 4AD, United Kingdom
European Southern Observatory
Karl-Schwarzschild-Strasse 2
D-85748 Garching bei Muenchen
Germany
Abstract:
The performance of Java has been compared with that of
Fortran 90 and C on two benchmarks of particular interest to
scientific and engineering applications. It was found that in
comparison with F90 and C, the I/O and compute performance of Java
varies from 30% slower to about 3 times slower, depending on the
platforms and the compilers (and the Java Virtual Machines).
The best relative performance is
achieved on a Pentium II, where it was found that the IBM Java yields
code that is about 30-40% slower in computing and I/O
performance.
Click here if you prefer a postscript
or pdf version.
2000-08-16