Performance

Methodology


  • GP2X : clock at 200 MHz, Cacao JVM 0.96-svn-rev5274-rev254, GNU Classpath 0.92 with float fix for ARM
  • PIII 700, Debian Sarge: Cacao JVM 0.96, GNU Classpath 0.92
  • Benchmark used: JavaGrande sequential benchmarks

Performance ratio is given at same frequency :

R = PERF_p3 / PERF_gp2x

Results

Test GP2X @ 200MHz PIII @ 200MHz Performance ratio
Section1:Arith:Add:Int (adds/s) 3.380584E7 4.18E7 1.24
Section1:Arith:Add:Long (adds/s) 1.6895076E7 3.92E7 2.32
Section1:Arith:Add:Float (adds/s) 213868.0 1.79E6 8.35
Section1:Arith:Add:Double (adds/s) 182935.55 1.79E6 9.78
Section1:Arith:Mult:Int (multiplies/s) 2.561601E7 2.63E7 1.03
Section1:Arith:Mult:Long (multiplies/s) 2846421.2 1.96E7 6.89
Section1:Arith:Mult:Float (multiplies/s) 216234.48 1.82E6 8.42
Section1:Arith:Mult:Double (multiplies/s) 157849.3 1.74E6 11.05
Section1:Arith:Div:Int (divides/s) 1663012.6 4.90E6 2.95
Section1:Arith:Div:Long (divides/s) 281318.7 1.87E6 6.65
Section1:Arith:Div:Float (divides/s) 218560.58 1.69E6 7.71
Section1:Arith:Div:Double (divides/s) 157888.25 1.68E6 10.66
Section1:Assign:Same:Scalar:Local (assignments/s) 5.1228016E7 2.28
Section1:Assign:Same:Scalar:Instance (assignments/s) 5.0420064E7 0.72
Section1:Assign:Same:Scalar:Class (assignments/s) 3.02539E7 2.98
Section1:Assign:Same:Array:Local (assignments/s) 1.0768321E7 2.97
Section1:Assign:Same:Array:Instance (assignments/s) 6117998.5 1.84
Section1:Assign:Same:Array:Class (assignments/s) 9652978.0 2.79
Section1:Assign:Other:Scalar:Instance (assignments/s) 2.9683848E7 1.22
Section1:Assign:Other:Scalar:Class (assignments/s) 3.0248316E7 3.00
Section1:Assign:Other:Array:Instance (assignments/s) 9710763.0 2.29
Section1:Assign:Other:Array:Class (assignments/s) 9651841.0 2.82
Section1:Cast:IntFloat (casts/s) 266486.22 15.29
Section1:Cast:IntDouble (casts/s) 258351.0 18.82
Section1:Cast:LongFloat (casts/s) 23612.75 157.50
Section1:Cast:LongDouble (casts/s) 25268.479 170.02
Section1:Create:Array:Int:1 (arrays/s) 472891.84 0.92
Section1:Create:Array:Int:2 (arrays/s) 419637.75 0.89
Section1:Create:Array:Int:4 (arrays/s) 384009.6 0.87
Section1:Create:Array:Int:8 (arrays/s) 330450.5 0.84
Section1:Create:Array:Int:16 (arrays/s) 241190.88 0.78
Section1:Create:Array:Int:32 (arrays/s) 170133.58 0.73
Section1:Create:Array:Int:64 (arrays/s) 102786.48 0.70
Section1:Create:Array:Int:128 (arrays/s) 41688.38 0.72
Section1:Create:Array:Long:1 (arrays/s) 418574.22 0.90
Section1:Create:Array:Long:2 (arrays/s) 380839.03 0.88
Section1:Create:Array:Long:4 (arrays/s) 328268.25 0.85
Section1:Create:Array:Long:8 (arrays/s) 237300.7 0.80
Section1:Create:Array:Long:16 (arrays/s) 167890.88 0.74
Section1:Create:Array:Long:32 (arrays/s) 101579.24 0.70
Section1:Create:Array:Long:64 (arrays/s) 41445.41 0.73
Section1:Create:Array:Long:128 (arrays/s) 24992.19 0.73
Section1:Create:Array:Float:1 (arrays/s) 466770.0 0.92
Section1:Create:Array:Float:2 (arrays/s) 415922.0 0.90
Section1:Create:Array:Float:4 (arrays/s) 380273.3 0.88
Section1:Create:Array:Float:8 (arrays/s) 326843.28 0.85
Section1:Create:Array:Float:16 (arrays/s) 237124.86 0.78
Section1:Create:Array:Float:32 (arrays/s) 167265.6 0.74
Section1:Create:Array:Float:64 (arrays/s) 100684.336 0.70
Section1:Create:Array:Float:128 (arrays/s) 41210.56 0.73
Section1:Create:Array:Object:1 (arrays/s) 454787.72 1.04
Section1:Create:Array:Object:2 (arrays/s) 402579.03 1.03
Section1:Create:Array:Object:4 (arrays/s) 361990.94 0.99
Section1:Create:Array:Object:8 (arrays/s) 306018.78 0.93
Section1:Create:Array:Object:16 (arrays/s) 217170.0 0.87
Section1:Create:Array:Object:32 (arrays/s) 150322.95 0.81
Section1:Create:Array:Object:64 (arrays/s) 89679.81 0.79
Section1:Create:Array:Object:128 (arrays/s) 36011.703 0.77
Section1:Create:Object:Base (objects/s) 543409.06 0.99
Section1:Create:Object:Simple (objects/s) 517851.72 1.02
Section1:Create:Object:Simple:Constructor (objects/s) 517433.06 1.02
Section1:Create:Object:Simple:1Field (objects/s) 449793.56 0.97
Section1:Create:Object:Simple:2Field (objects/s) 437419.9 0.98
Section1:Create:Object:Simple:4Field (objects/s) 380697.44 0.97
Section1:Create:Object:Simple:4fField (objects/s) 380527.7 0.97
Section1:Create:Object:Simple:4LField (objects/s) 307562.94 0.96
Section1:Create:Object:Subclass (objects/s) 493636.72 1.03
Section1:Create:Object:Complex (objects/s) 233918.12 1.01
Section1:Create:Object:Complex:Constructor (objects/s) 234432.23 1.01
Section1:Exception:Throw (exceptions/s) 857118.94 0.33
Section1:Exception:New (exceptions/s) 4725.0605 4.23
Section1:Exception:Method (exceptions/s) 4620.2715 3.82
Section1:Loop:For (iterations/s) 3.9706756E7 1.29
Section1:Loop:ReverseFor (iterations/s) 3.969954E7 1.96
Section1:Loop:While (iterations/s) 3.3085622E7 2.06
Section1:Math:AbsInt (operations/s) 1.1467768E7 1.58
Section1:Math:AbsLong (operations/s) 7473770.5 1.53
Section1:Math:AbsFloat (operations/s) 89037.28 100.82
Section1:Math:AbsDouble (operations/s) 80772.38 68.95
Section1:Math:MaxInt (operations/s) 1.0278545E7 1.42
Section1:Math:MaxLong (operations/s) 6050668.5 1.55
Section1:Math:MaxFloat (operations/s) 53655.266 88.88
Section1:Math:MaxDouble (operations/s) 48433.48 72.52
Section1:Math:MinInt (operations/s) 1.0280479E7 1.42
Section1:Math:MinLong (operations/s) 6050668.5 1.54
Section1:Math:MinFloat (operations/s) 53673.266 88.87
Section1:Math:MinDouble (operations/s) 48440.812 71.27
Section1:Math:SinDouble (operations/s) 30099.234 12.92
Section1:Math:CosDouble (operations/s) 32540.166 11.61
Section1:Math:TanDouble (operations/s) 27605.244 13.05
Section1:Math:AsinDouble (operations/s) 47636.77 5.59
Section1:Math:AcosDouble (operations/s) 47704.234 3.97
Section1:Math:AtanDouble (operations/s) 27352.766 16.51
Section1:Math:Atan2Double (operations/s) 25628.705 16.64
Section1:Math:FloorDouble (operations/s) 61674.86 7.24
Section1:Math:CeilDouble (operations/s) 61704.59 7.26
Section1:Math:SqrtDouble (operations/s) 46176.047 4.83
Section1:Math:ExpDouble (operations/s) 45786.234 6.80
Section1:Math:LogDouble (operations/s) 26818.639 12.84
Section1:Math:PowDouble (operations/s) 19370.46 10.33
Section1:Math:RintDouble (operations/s) 61668.914 7.36
Section1:Math:Random (operations/s) 20804.889 10.77
Section1:Math:RoundFloat (operations/s) 32393.582 10.63
Section1:Math:RoundDouble (operations/s) 9649.017 34.94
Section1:Math:IEEERemainderDouble (operations/s) 44223.33 5.90
Section1:Method:Same:Instance (calls/s) 9773324.0 2.28
Section1:Method:Same:SynchronizedInstance (calls/s) 745432.06 1.07
Section1:Method:Same:FinalInstance (calls/s) 8771817.0 2.40
Section1:Method:Same:Class (calls/s) 1.0214464E7 2.48
Section1:Method:Same:SynchronizedClass (calls/s) 752498.5 1.02
Section1:Method:Other:Instance (calls/s) 8772287.0 2.26
Section1:Method:Other:InstanceOfAbstract (calls/s) 8378848.5 2.37
Section1:Method:Other:Class (calls/s) 1.0213827E7 2.66