You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2006/12/13 16:42:27 UTC

[jira] Resolved: (HARMONY-1980) [classlib][performance] performance improvement for luni and nio_char modules

     [ http://issues.apache.org/jira/browse/HARMONY-1980?page=all ]

Tim Ellison resolved HARMONY-1980.
----------------------------------

    Resolution: Fixed

Thanks Vladimir.

Patch applied to LUNI and NIO_CHAR modules are repo revision r486690.

Please check that it was applied as you expected.


> [classlib][performance] performance improvement for luni and nio_char modules
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-1980
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1980
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Vladimir Strigun
>         Assigned To: Tim Ellison
>         Attachments: Harmony-1980.diff, Harmony-1980.r486308.diff
>
>
> I've analyzed API frequently used in all Dacapo[1] benchmarks and found several places in luni and nio_char modules that can be improved. Suggested fix gives about 10-15% boost on average for Dacapo executed on DRLVM. I'll post more details to dev list.
> Attached fix contains modifications for the following classes: java.io.BufferedReader, java.io.InputStreamReader, java.nio.charset.CharsetDecoder and java.nio.charset.CharsetEncoder.  
> Please have a look to the results of Dacapo execution (values are in millisec, so the less the better): 
> Small workload
> 	OrigBuild   Patched
> bloat	996,078	1024,85
> chart	1240,777	1068,112
> fop	250,433	232,957
> hsqldb	348,942	361,139
> jython	831,143	824,775
> lusearch	1854,95	1870,969
> luindex	339,45	231,314
> pmd	29,704	23,638
> default workload
> 	OrigBuild   Patched
> bloat	168733,562	175493,467
> chart	31651,792	25681,751
> fop	2546,289	2512,045
> hsqldb	22873,608	13555,515
> jython	128207,303	92863,28
> lusearch	29425,991	30064,153
> luindex	17825,795	18083,898
> pmd	44548,724	40225,694
> [1] http://dacapobench.sourceforge.net

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira