You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2007/03/26 11:29:32 UTC

[jira] Assigned: (HARMONY-3493) [classlib][nio]java.nio.Charset.encode()/decode() performance improvement.

     [ https://issues.apache.org/jira/browse/HARMONY-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-3493:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][nio]java.nio.Charset.encode()/decode() performance improvement.
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-3493
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3493
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: patch-3493.diff
>
>
> public void test()
> {
>    CharBuffer[] charbuffer = ...//omitted here, long data.
>    Charset charset = Charset.defaultCharset();
>    long startTime = System.currentTimeMillis();
>             for (int j = 0; j < 10000; j++) {
>                 for (int i = 0; i < charBuffers.length; i++) {
>                     charset.encode(charBuffers[i]);
>                 }
>             }
>             long endTime = System.currentTimeMillis();
>  System.out.println(endTime - startTime);
> }
> Harmony uses  2234 ms verses RI5 uses 859ms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Assigned: (HARMONY-3493) [classlib][nio]java.nio.Charset.encode()/decode() performance improvement.

Posted by Alexey Petrenko <al...@gmail.com>.
Paulex,

I was on vacation and I'm back home now.

SY, Alexey

2007/4/13, Yang Paulex <pa...@gmail.com>:
> Alexey,
>
> Are you looking at this one?
>
> 2007/3/26, Alexey Petrenko (JIRA) <ji...@apache.org>:
> >
> >
> >      [
> > https://issues.apache.org/jira/browse/HARMONY-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
> >
> > Alexey Petrenko reassigned HARMONY-3493:
> > ----------------------------------------
> >
> >     Assignee: Alexey Petrenko
> >
> > > [classlib][nio]java.nio.Charset.encode()/decode() performance
> > improvement.
> > >
> > --------------------------------------------------------------------------
> > >
> > >                 Key: HARMONY-3493
> > >                 URL: https://issues.apache.org/jira/browse/HARMONY-3493
> > >             Project: Harmony
> > >          Issue Type: Improvement
> > >          Components: Classlib
> > >            Reporter: Leo Li
> > >         Assigned To: Alexey Petrenko
> > >            Priority: Minor
> > >         Attachments: patch-3493.diff
> > >
> > >
> > > public void test()
> > > {
> > >    CharBuffer[] charbuffer = ...//omitted here, long data.
> > >    Charset charset = Charset.defaultCharset();
> > >    long startTime = System.currentTimeMillis();
> > >             for (int j = 0; j < 10000; j++) {
> > >                 for (int i = 0; i < charBuffers.length; i++) {
> > >                     charset.encode(charBuffers[i]);
> > >                 }
> > >             }
> > >             long endTime = System.currentTimeMillis();
> > >  System.out.println(endTime - startTime);
> > > }
> > > Harmony uses  2234 ms verses RI5 uses 859ms.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
> >
> >
>
>
> --
> Paulex Yang
> China Software Development laboratory
> IBM
>

Re: [jira] Assigned: (HARMONY-3493) [classlib][nio]java.nio.Charset.encode()/decode() performance improvement.

Posted by Yang Paulex <pa...@gmail.com>.
Alexey,

Are you looking at this one?

2007/3/26, Alexey Petrenko (JIRA) <ji...@apache.org>:
>
>
>      [
> https://issues.apache.org/jira/browse/HARMONY-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Alexey Petrenko reassigned HARMONY-3493:
> ----------------------------------------
>
>     Assignee: Alexey Petrenko
>
> > [classlib][nio]java.nio.Charset.encode()/decode() performance
> improvement.
> >
> --------------------------------------------------------------------------
> >
> >                 Key: HARMONY-3493
> >                 URL: https://issues.apache.org/jira/browse/HARMONY-3493
> >             Project: Harmony
> >          Issue Type: Improvement
> >          Components: Classlib
> >            Reporter: Leo Li
> >         Assigned To: Alexey Petrenko
> >            Priority: Minor
> >         Attachments: patch-3493.diff
> >
> >
> > public void test()
> > {
> >    CharBuffer[] charbuffer = ...//omitted here, long data.
> >    Charset charset = Charset.defaultCharset();
> >    long startTime = System.currentTimeMillis();
> >             for (int j = 0; j < 10000; j++) {
> >                 for (int i = 0; i < charBuffers.length; i++) {
> >                     charset.encode(charBuffers[i]);
> >                 }
> >             }
> >             long endTime = System.currentTimeMillis();
> >  System.out.println(endTime - startTime);
> > }
> > Harmony uses  2234 ms verses RI5 uses 859ms.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Paulex Yang
China Software Development laboratory
IBM