Názor ke článku Kudy dál v kompilovaných jazycích? od kuapi - Start Java benchmark java.version: 1.6.0 java.vm.speci­fication.versi­on: 1.0 java.vm.version: 1.6.0-b105 Int arithmetic elapsed...

  • 7. 12. 2007 9:22

    kuapi (neregistrovaný)

    Start Java benchmark
    java.version: 1.6.0
    java.vm.speci­fication.versi­on: 1.0
    java.vm.version: 1.6.0-b105
    Int arithmetic elapsed time: 7750 ms with max of 1000000000
    i: 1000000000
    intResult: 1
    Double arithmetic elapsed time: 5047 ms with min of 1.0E10, max of 1.1E10
    i: 1.1E10
    doubleResult: 1.00116327174955E10
    Long arithmetic elapsed time: 15985 ms with min of 10000000000, max of 11000000000
    i: 11000000000
    longResult: 776627965
    Trig elapsed time: 39548 ms with max of 1.0E7
    i: 1.0E7
    sine: 0.9906646477361263
    cosine: -0.13632151600483616
    tangent: -7.267118770165242
    logarithm: 6.999999956570549
    squareRoot: 3162.2775020544923
    IO elapsed time: 7140 ms with max of 1000000
    i: 1000001
    myLine: abcdefghijklmnop­qrstuvwxyz12345678­90abcdefghijklmnop­qrstuvwxyz12345678­90abcdefgh
    Array elapsed time: 438 ms - 100000000
    Exception elapsed time: 3391 ms - HI=500000 / LO=500000
    HashMap elapsed time: 250 ms - 18699
    HashMaps elapsed time: 1312 ms - 1 9999 1000 9999000
    HeapSort elapsed time: 922 ms - 0,9999928555
    List elapsed time: 1281 ms - 10000
    Matrix Multiply elapsed time: 16063 ms - 270165 1061760 1453695 1856025
    Nested Loop elapsed time: 13219 ms - -1804337152
    String Concat. (fixed) elapsed time: 94 ms - 5000000
    Total Java benchmark time: 112440 ms
    End Java benchmark