Hlavní navigace

Odpověď na názor

Odpovídáte na názor ke článku Kudy dál v kompilovaných jazycích?.

  • 7. 12. 2007 9:22

    kuapi (neregistrovaný)

    Start C++ benchmark
    Int arithmetic elapsed time: 9141 ms with intMax of 1000000000
    i: 1000000001
    intResult: 1
    Double arithmetic elapsed time: 12875 ms with doubleMin 10000000000.000000000000
    000, doubleMax 11000000000.00000000000­0000
    i: 11000000000.000000
    doubleResult: 10011632717.49550100000­0000
    Long arithmetic elapsed time: 18516 ms with longMax 11000000000
    i: 11000000000
    longResult: 776627965
    Trig elapsed time: 3860 ms with max of 10000000
    i: 10000000.000000
    sine: 0.990664647736125
    cosine: -0.136321516004849
    tangent: -7.267118770164549
    logarithm: 6.999999956570550
    squareRoot: 3162.27750205449­2300
    I/O elapsed time: 8750 ms with max of 1000000
    i: 1000001
    readLine: abcdefghijklmnop­qrstuvwxyz12345678­90abcdefghijklmnop­qrstuvwxyz1234567
    890abcdefgh

    array elapsed time: 625 ms - 1000 100000000
    HashMap elapsed time: 2234 ms - 100000
    HashMaps elapsed time: 22235 ms - 1" "9999" "1000" "9999000
    Heapsort elapsed time: 890 ms - 0.9999928555
    Vector elapsed time: 17094 ms - 10000
    Matrix Multiply elapsed time: 18422 ms - 270165 1061760 1453695 1856025
    Nested Loop elapsed time: 17063 ms -1804337152
    String Concat. (fixed) elapsed time: 109 ms
    Total elapsed time: 131814 ms
    Stop C++ benchmark