Class N04_Part1_Listing5
java.lang.Object
N03_Part1_Listing4
N04_Part1_Listing5
public class N04_Part1_Listing5
- extends N03_Part1_Listing4
For the article Robust Java benchmarking, Part 1: Issues,
contains the code relevant to Listing 5.
- Author:
- Brent Boyer
Method Summary |
protected static int |
add(int result)
|
static void |
main(String[] args)
Results on 2008/3/27 on my 2.2 GHz Intel Core 2 Duo E4500 machine (server jvm):
Execution time = 10.81... seconds to compute result = 1580674560
Execution time = 10.79... seconds to compute result = 1580674560
Execution time = 10.80... seconds to compute result = 1580674560
|
protected static int |
xor(int result)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
N04_Part1_Listing5
public N04_Part1_Listing5()
main
public static void main(String[] args)
- Results on 2008/3/27 on my 2.2 GHz Intel Core 2 Duo E4500 machine (server jvm):
Execution time = 10.81... seconds to compute result = 1580674560
Execution time = 10.79... seconds to compute result = 1580674560
Execution time = 10.80... seconds to compute result = 1580674560
add
protected static int add(int result)
xor
protected static int xor(int result)