On 3/03/2023 1:36 am, David Spiegel wrote:
Every time I've watched mainframe Java since OS/90 V1, it has been painfully slow. Have you ever watched a WAS startup? ... It takes about 15 minutes on the fastest mainframes.

I think that's a reflection on WAS, not Java.

When I was playing with the software drag racing, I compared the times from SMF to get an idea of the Java startup etc. overhead.

For a 5 second elapsed time of 5 seconds timed inside the program, SMF showed:
C++ : 5.02 seconds elapsed, 4.95 seconds CPU time
Java: 6.16 seconds elapsed, 5.24 seconds CPU time.

So the overhead to start Java looked to be around 1 second elapsed, and 1/4 second of CPU time. After the startup, Java was as fast as C++ in this test.

--
Andrew Rowley
Black Hill Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to