Does CSIM for Java perform as quickly as CSIM 20 for C/C++?
Because Java is inherently slower than C and C++, CSIM for Java will be slower than CSIM 20. Exact speed differences will vary based on model and environment, such as Standard vs. Enterprise edition of Java. The Enterprise edition, which utilizes Just-in-Time compilation, will be much faster. The CSIM 20 toolkit will be approximately 3-5 times faster than CSIM for Java. In one test, the C++ version of CSIM 20 took 0.350 seconds and the Java version took 0.921 seconds to run the same model. The Java test was conducted using the Enterprise Edition of Java (J2EE 1.4 in NetBeans). The C++ test was conducted using the debug version of the CSIM model using Microsoft Visual C/C++ Version 6. The release version of the C++ model took 0.250 seconds. These tests were run on a Dell Inspiron 2650 laptop with a Pentium 4 M 1.7 GHz CPU. The model in both tests is an M/M/1 queue with server utilization of 50% and 50,018 arrivals.