W
www
Hi,
I have translated an old Fortran program into Java program, line by
line. The Java program produces the identical results as Fortran one
does. But Java program does I/O involved with xml parsing a lot.
Now, my customer needs information regarding how slow or fast the Java
program is, compared to its original Fortran program. Can you provide me
some idea on how to get such information?
To complicate my question, I hope to ignore the I/O code in Java
program, only compare the heavy duty computation part. Because Java
program does a lot of xml parsing, very time consuming. Fortran program
does not. So it is unfair to include I/O portion, when compare the two
programs. Can you also give me some idea on how to do that?
Previously, I have posted my question in different description and many
people say that I need profiling. I use Eclipse and I know a little
about TPTP. I don't know TPTP can provide me such information. I thought
it provides the relative execution time of each block of code., like
some method takes 98% time and is obviously a bottleneck.
Thank you very much.
I have translated an old Fortran program into Java program, line by
line. The Java program produces the identical results as Fortran one
does. But Java program does I/O involved with xml parsing a lot.
Now, my customer needs information regarding how slow or fast the Java
program is, compared to its original Fortran program. Can you provide me
some idea on how to get such information?
To complicate my question, I hope to ignore the I/O code in Java
program, only compare the heavy duty computation part. Because Java
program does a lot of xml parsing, very time consuming. Fortran program
does not. So it is unfair to include I/O portion, when compare the two
programs. Can you also give me some idea on how to do that?
Previously, I have posted my question in different description and many
people say that I need profiling. I use Eclipse and I know a little
about TPTP. I don't know TPTP can provide me such information. I thought
it provides the relative execution time of each block of code., like
some method takes 98% time and is obviously a bottleneck.
Thank you very much.