Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4756587

Performance of URLEncoder in 1.4.X is slower than 1.3.1_0X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.1
    • core-libs
    • sparc
    • solaris

      The performance of URLEncoder 1.4.X is slower than 1.3.1.

      1. Reproduce

       1) setenv LANG C
       2) Compile the attached sample code and Invoke "java TestURLEncode".
           
           
      2. Result
           
      The followings are my result.(Unit is [msec])

                    | Solaris6 | Solaris7 |
      --------------+------------+------------+
      1.3.1_04 | 662 | 2833 |
      1.4.0_01 | 3591 | 8433 |
      1.4.1 | 1936 | 8196 |
            
      Configration:
        Solaris6 : Solaris2.6, Ultra80, UltraSparcII 450MHz
        Solaris7 : Solaris2.7, Ultra-60,UltraSparcII 296MHz

      The 1.4.X is about 3 times comparing with 1.3.1_04.
      This is serious and licensee is under severe situation.


      3. Note

       The licensee looked into the 1.4.0 source code and sent their comment.
       Please evaluate it in the comment section also.
       
      2002-10-02
      ==========================================================================

            michaelm Michael McMahon
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: