Nullstone Logo

COMPANY
Home
Contacts
Customers
Testimonials

PRODUCTS
Overview
NULLSTONE for C
NULLSTONE for CSharp
NULLSTONE for Java
Request Information

SUPPORT
Release Notes
Download
PGP Information
Service Report
Write Us

INFORMATION
Performance Results
Glossary of Terms

RELATED LINKS
Compiler Connection
Compiler Jobs

Java Compiler Performance Comparison

Below is a comparison of the Microsoft Visual J++ 6.0 java compiler and the Sun Microsystems Java JDK 1.2 java compiler using NULLSTONE 99 Release 4.6. All measurements were done on a Pentium II 233 MHz processor running Windows NT 4.0. The Summary Failure Reports indicate the number of tests that failed to compile or execute. The performance of the two compilers is compared using both the Nullstone Rate (iterations per second, higher is better) and Nullstone Ratio (ratio of the idealized performance, higher is better).

NULLSTONE 99 Release 4.6
Summary Failure Report
Compiler Visual J++ 6.0, Preview 2
Architecture Intel
Model Pentium II 233; Windows NT 4.0
Compiler Options jvc.exe -O Test.java
Optimization Sample
Size
Compiler
Errors
Execution
Errors
Total
Errors
CSE Elimination 732 . 24 24
Integer Multiply Optimization 229 . . .
Integer Divide Optimization 224 . . .
Induction Variable Elimination 9 . . .
Array Bounds Optimization 40 . . .
New Expression Optimization 56 . . .
Dead Code Elimination 132 . . .
Constant Folding 13 . . .
Constant Propagation 180 . . .
Narrowing 66 . . .
If Optimization 1509 . . .
Hoisting 1002 . . .
Function Inlining 48 . . .
Loop Fusion 6 . . .
Loop Unrolling 162 . . .
Expression Simplification 732 . . .
Quick Optimization 12 . . .
Try/Catch Block Optimization 72 . . .
Tail Recursion 8 . . .
Value Range Optimization 360 . . .
Virtual Function Optimization 144 . . .
Instruction Combining 672 . . .
Garbage Collection Optimization 23 . . .
Overall Totals 6431 0 24 24


NULLSTONE 99 Release 4.6
Summary Failure Report
Compiler Java JDK 1.2
Architecture Intel
Model Pentium II 233; Windows NT 4.0
Compiler Options javac.exe -O Test.java
Optimization Sample
Size
Compiler
Errors
Execution
Errors
Total
Errors
CSE Elimination 732 . . .
Integer Multiply Optimization 229 . . .
Integer Divide Optimization 224 . . .
Induction Variable Elimination 9 . . .
Array Bounds Optimization 40 . . .
New Expression Optimization 56 . . .
Dead Code Elimination 132 . . .
Constant Folding 13 . . .
Constant Propagation 180 . . .
Narrowing 66 . . .
If Optimization 1509 . . .
Hoisting 1002 . . .
Function Inlining 48 . . .
Loop Fusion 6 . . .
Loop Unrolling 162 . . .
Expression Simplification 732 . . .
Quick Optimization 12 . . .
Try/Catch Block Optimization 72 . . .
Tail Recursion 8 . . .
Value Range Optimization 360 . . .
Virtual Function Optimization 144 . . .
Instruction Combining 672 . . .
Garbage Collection Optimization 23 . . .
Overall Totals 6431 0 0 0


NULLSTONE 99 Release 4.6
Summary Difference Report (Nullstone Rate)
Baseline Compiler Visual J++ 6.0, Preview 2
Architecture Intel
Model Pentium II 233; Windows NT 4.0
Compiler Options jvc.exe -O Test.java
Comparison Compiler Java JDK 1.2
Architecture Intel
Model Pentium II 233; Windows NT 4.0
Compiler Options javac.exe -O Test.java
Optimization Sample Size Baseline
Compiler
Nullstone Rate
Comparison
Compiler
Nullstone Rate
Delta
CSE Elimination 732 tests 181736 438894 +58%
Integer Multiply Optimization 229 tests 1074853 1789047 +39%
Integer Divide Optimization 224 tests 444741 1190964 +62%
Induction Variable Elimination 9 tests 30337 21571 -28%
Array Bounds Optimization 40 tests 395445 567229 +30%
New Expression Optimization 56 tests 63811 5367733 +98%
Dead Code Elimination 132 tests 2632276 10555041 +75%
Constant Folding 13 tests 3846846 14561149 +73%
Constant Propagation 180 tests 3379535 12940417 +73%
Narrowing 66 tests 4928565 4957303 +0%
If Optimization 1509 tests 1530921 5578545 +72%
Hoisting 1002 tests 134251 145590 +7%
Function Inlining 48 tests 2382368 30087716 +92%
Loop Fusion 6 tests 76483 75542 -1%
Loop Unrolling 162 tests 867327 1317693 +34%
Expression Simplification 732 tests 4091571 13035565 +68%
Quick Optimization 12 tests 1312611 1527211 +14%
Try/Catch Block Optimization 72 tests 5295798 20301130 +73%
Tail Recursion 8 tests 7952 13713 +42%
Value Range Optimization 360 tests 531335 550393 +3%
Virtual Function Optimization 144 tests 457839 622242 +26%
Instruction Combining 672 tests 1337329 5877956 +77%
Garbage Collection Optimization 23 tests 560 231 -58%
Average Nullstone Rate 6431 tests 1521934 5718385 +73%


NULLSTONE 99 Release 4.6
Summary Difference Report (Nullstone Ratio)
Baseline Compiler Visual J++ 6.0, Preview 2
Architecture Intel
Model Pentium II 233; Windows NT 4.0
Compiler Options jvc.exe -O Test.java
Comparison Compiler Java JDK 1.2
Architecture Intel
Model Pentium II 233; Windows NT 4.0
Compiler Options javac.exe -O Test.java
Optimization Sample Size Baseline
Compiler
Nullstone Ratio
Comparison
Compiler
Nullstone Ratio
Delta
CSE Elimination 732 tests 26% 60% +34%
Integer Multiply Optimization 229 tests 53% 97% +44%
Integer Divide Optimization 224 tests 40% 99% +59%
Induction Variable Elimination 9 tests 62% 44% -18%
Array Bounds Optimization 40 tests 22% 14% -8%
New Expression Optimization 56 tests 16% 26% +10%
Dead Code Elimination 132 tests 8% 37% +29%
Constant Folding 13 tests 66% 70% +4%
Constant Propagation 180 tests 27% 89% +62%
Narrowing 66 tests 12% 12% +0%
If Optimization 1509 tests 12% 21% +9%
Hoisting 1002 tests 47% 84% +37%
Function Inlining 48 tests 7% 97% +90%
Loop Fusion 6 tests 32% 32% +0%
Loop Unrolling 162 tests 63% 63% +0%
Expression Simplification 732 tests 32% 80% +48%
Quick Optimization 12 tests 81% 75% -6%
Try/Catch Block Optimization 72 tests 15% 58% +43%
Tail Recursion 8 tests 11% 22% +11%
Value Range Optimization 360 tests 11% 11% +0%
Virtual Function Optimization 144 tests 4% 5% +1%
Instruction Combining 672 tests 11% 50% +39%
Garbage Collection Optimization 23 tests 30% 4% -26%
Average Nullstone Ratio 6431 tests 29% 50% +21%


© 1990-2002 Nullstone Corporation. All Rights Reserved.