Benchmark

Discussion in 'Java' started by Roedy Green, Jun 10, 2004.

  1. Roedy Green

    Roedy Green Guest

    People keep claiming Java is slow, quoting benchmarks from Java 1.1
    era.

    Two things have changed. Hotspot is faster and there are now static
    native compilers.

    Here in a benchmark on a project I am just completing. It is highly
    CPU intensive spending most of its time in the BigInteger routines.

    You are getting class load times included here.


    JDK 1.4.2_04

    test Wrap/Unwrap no encryption or signing.
    wrap elapsed 31 milliseconds
    unwrap elapsed 16 milliseconds

    test Encrypt/Decrypt, encryption but no signing.
    encrypt elapsed 47 milliseconds
    decrypt elapsed 4640 milliseconds

    test Sign/Verify digital signature without encryption.
    sign elapsed 375 milliseconds
    verify elapsed 16 milliseconds

    test SignEncrypt/DecryptVerify
    sign and encrypt elapsed 391 milliseconds
    decrypt and verify elapsed 5422 milliseconds

    Jet 3.6

    Sender keySize 1024
    Receiver keySize 1024

    test Wrap/Unwrap no encryption or signing.
    wrap elapsed 62 milliseconds
    unwrap elapsed 0 milliseconds

    test Encrypt/Decrypt, encryption but no signing.
    encrypt elapsed 16 milliseconds
    decrypt elapsed 3453 milliseconds

    test Sign/Verify digital signature without encryption.
    sign elapsed 282 milliseconds
    verify elapsed 0 milliseconds

    test SignEncrypt/DecryptVerify
    sign and encrypt elapsed 296 milliseconds
    decrypt and verify elapsed 5813 milliseconds


    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
     
    Roedy Green, Jun 10, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ke zhang

    ASP.NET performance benchmark

    ke zhang, Nov 6, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    3,807
    John Timney \(Microsoft MVP\)
    Nov 7, 2003
  2. Assaf Harel
    Replies:
    0
    Views:
    411
    Assaf Harel
    Jan 28, 2004
  3. Jean-Francois Theoret

    JMS Benchmark - OpenJMS VS JBossMQ?

    Jean-Francois Theoret, Jul 6, 2004, in forum: Java
    Replies:
    0
    Views:
    1,883
    Jean-Francois Theoret
    Jul 6, 2004
  4. Razvan
    Replies:
    1
    Views:
    12,659
    Will Hartung
    Aug 19, 2004
  5. Pascal
    Replies:
    4
    Views:
    642
    Chris Uppal
    Aug 23, 2004
Loading...

Share This Page