[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | JAVA |
|
Moderator: | KOALA::CIOT |
|
Created: | Mon Nov 13 1995 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 236 |
Total number of notes: | 1251 |
216.0. "Performance issues w/ Alpha/NT JVM?" by WRKSYS::UTZIG () Wed Mar 05 1997 12:39
Now that Microsoft has released a JVM for IE on Alpha/NT,
I decided to test out the performance using a benchmark
applet from CMU; I ran the applet benchmark (which
measures basic JVM performance, not graphics or I/O) on
several platforms and browsers, including DEC UNIX, Intel
NT, and Alpha NT. The results I got were kind of surprising,
particularly the poor performance of IE on Alpha/NT. Anyone
else care to try this on their Alpha/NT platform with the
Alpha version of IE and the JIT compiler? (FYI, see
www.microsoft.com/java for pointers to the software, location
of the benchmark I ran appears below)
Also, any theories as to why the 400MHZ Alpha box was so slow?
I thought at first something was being emulated via FX32, but
this didn't seem to be the case..
-Ned Utzig
Alpha Workstations Group
--------------------------------------------------------
Comparative JAVA performance benchmarks 3/4/97 N. Utzig
Tests from: http://www.cs.cmu.edu/~jch/microbench.html
Smaller times indicate faster performance.
******** 120MHZ Intel Pentium, Windows95, Netscape 4.0
Java Microbenchmarks v1.1, 18th August 1996, [email protected]
Loop overhead (while (Go) { n++; } : 0.034 microseconds
Local variable assignment (i = n) : 0.0088 microseconds
Instance var. assign. (this.i = n) : 0.059 microseconds
Array element assign. (a[0] = n) : 0.043 microseconds
Byte increment (byte b++) : 0.05 microseconds
Short increment (short s++) : 0.052 microseconds
Int increment (int i++) : 0.0086 microseconds
Long increment (long l++) : 0.023 microseconds
Float increment (float f++) : 0.06 microseconds
Double increment (double d++) : 0.059 microseconds
Object creation (new Object()) : 6.4 microseconds
Array creation (new int[10]) : 44 microseconds
Method call (null_func()) : 0.14 microseconds
Synchronous call (sync_func()) : 6.5 microseconds
Math function call (Math.abs()) : 0.4 microseconds
Equivalent code ((x < 0) ? -x : x) : 0.061 microseconds
Done
******** 200MHZ Intel Pentium Pro, Windows NT Workstation 4.0 IE3.01
Java Microbenchmarks v1.1, 18th August 1996, [email protected]
Loop overhead (while (Go) { n++; } : 0.01 microseconds
Local variableassignment (i = n) : 0.0038 microseconds
Instance var. assign. (this.i= n) : 0.0064 microseconds
Array element assign. (a[0] = n) : 0.011 microseconds
Byte increment (byte b++) : 0.0073 microseconds
Short increment (short s++) : 0.0074 microseconds
Int increment (int i++) : 0.0024 microseconds
Long increment (longl++) : 0.022 microseconds
Float increment (float f++) : 0.013 microseconds
Double increment (double d++) : 0.013 microseconds
Object creation (new Object()) : 3.1 microseconds
Array creation (new int[10]) : 3.9 microseconds
Method call (null_func()) : 0.046 microseconds
Synchronous call (sync_func()) : 1.2 microseconds
Math function call (Math.abs()) : 0.1 microseconds
Equivalent code ((x < 0) ? -x : x) : 0.01 microseconds Done
****** 200MHZ Intel Pentium Pro, NT Workstation 4.0, Netscape 4.0
Java Microbenchmarks v1.1, 18th August 1996, [email protected]
Loop overhead (while (Go) { n++; } : 0.015 microseconds
Local variable assignment (i = n) : 0.0026 microseconds
Instance var. assign. (this.i = n) : 0.0052 microseconds
Array element assign. (a[0] = n) : 0.02 microseconds
Byte increment (byte b++) : 0.0076 microseconds
Short increment (short s++) : 0.006 microseconds
Int increment (int i++) : 0.0041 microseconds
Long increment (long l++) : 0.014 microseconds
Float increment (float f++) : 0.0089 microseconds
Double increment (double d++) : 0.014 microseconds
Object creation (new Object()) : 6.3 microseconds
Array creation (new int[10]) : 13 microseconds
Method call (null_func()) : 0.047 microseconds
Synchronous call (sync_func()) : 3.7 microseconds
Math function call (Math.abs()) : 0.13 microseconds
Equivalent code ((x < 0) ? -x : x) : 0.0064 microseconds
Done
******** 266MHZ AlphaStation 600/266, Digital UNIX 3.2C Netscape 3.0
Microbenchmarks v1.1, 18th August 1996, [email protected]
Loop overhead (while (Go) { n++; } : 0.41 microseconds
Local variable assignment (i = n) : 0.2 microseconds
Instance var. assign. (this.i = n) : 0.28 microseconds
Array element assign. (a[0] = n) : 0.4 microseconds
Byte increment (byte b++) : 0.5 microseconds
Short increment (short s++) : 0.49 microseconds
Int increment (int i++) : 0.12 microseconds
Long increment (long l++) : 0.41 microseconds
Float increment (float f++) : 0.43 microseconds
Double increment (double d++) : 0.42 microseconds
Object creation (new Object()) : 5.3 microseconds
Array creation (new int[10]) : 5.5 microseconds
Method call (null_func()) : 0.84 microseconds
Synchronous call (sync_func()) : 3.9 microseconds
Math function call (Math.abs()) : 1.9 microseconds
Equivalent code ((x < 0) ? -x : x) : 0.23 microseconds
****** 400MHZ AlphaStation 500/400, Alpha NT Server V4.0, IE3.01
Java Microbenchmarks v1.1, 18th August 1996, [email protected]
Loop overhead (while (Go) { n++; } : 0.54 microseconds
Local variable assignment (i = n) : 0.12 microseconds
Instance var. assign. (this.i = n) : 0.2 microseconds
Array element assign. (a[0] = n) : 0.25 microseconds
Byte increment (byte b++) : 0.32 microseconds
Short increment (short s++) : 0.32 microseconds
Int increment (int i++) : 0.11 microseconds
Long increment (long l++) : 0.32 microseconds
Float increment (float f++) : 0.27 microseconds
Double increment (double d++) : 0.38 microseconds
Object creation (new Object()) : 3.8 microseconds
Array creation (new int[10]) : 4.2 microseconds
Method call (null_func()) : 0.48 microseconds
Synchronous call (sync_func()) : 1.3 microseconds
Math function call (Math.abs()) : 1.6 microseconds
Equivalent code ((x < 0) ? -x : x) : 0.18 microseconds
Done