The Whetstone benchmark is a benchmark for evaluating the performance of computers.
According to Whetstone, you can see below the number of MWIPS (Million Instructions per second) for java and C++ applications in an Intel core 2 duo 1.8 GHz machine.
Java = Around 1000 MWIPS.
C++ = Around 1600 MWIPS.
Whetstone Results
If your application is slow who else can you blame now? Definitely your algorithms!!! Revamp all your old slow paced code.
Let your application top the throttle ... Speed up ... drhhhh
madhu
Subscribe to:
Post Comments (Atom)
Please notice, that Java != Java. In this benchmark, "HTML Java" is used which is according to the legend "MS Visual J++" from 1996.
ReplyDeleteSo it has definitely NOTHING with the current mainstream Java VM's which are using JIT compilers etc. So you are not comparing Java and C++ but old bad VM implementation from 1996 with modern C++ compiler from 2005.
Thanks for pointing that out!
ReplyDeleteThis provides a better comparison of languages+WMs: http://shootout.alioth.debian.org/
ReplyDelete