Class N03_Part1_Listing4

java.lang.Object
  extended by N03_Part1_Listing4
Direct Known Subclasses:
N04_Part1_Listing5

public class N03_Part1_Listing4
extends Object

For the article Robust Java benchmarking, Part 1: Issues, contains the code relevant to Listing 4.

Author:
Brent Boyer

Field Summary
protected static int[] array
           
 
Constructor Summary
N03_Part1_Listing4()
           
 
Method Summary
static void main(String[] args)
          Results on 2008-03-27 on my 2.2 GHz Intel Core 2 Duo E4500 machine (server jvm): Execution time = 21.61... seconds to compute result = 1580674560 Execution time = 21.61... seconds to compute result = 1580674560 Execution time = 21.60... seconds to compute result = 1580674560
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

array

protected static final int[] array
Constructor Detail

N03_Part1_Listing4

public N03_Part1_Listing4()
Method Detail

main

public static void main(String[] args)
Results on 2008-03-27 on my 2.2 GHz Intel Core 2 Duo E4500 machine (server jvm):

                Execution time = 21.61... seconds to compute result = 1580674560
                Execution time = 21.61... seconds to compute result = 1580674560
                Execution time = 21.60... seconds to compute result = 1580674560