Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 15139 invoked from network); 13 Dec 2006 15:42:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 15:42:54 -0000 Received: (qmail 75914 invoked by uid 500); 13 Dec 2006 15:42:57 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 75892 invoked by uid 500); 13 Dec 2006 15:42:57 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 75839 invoked by uid 99); 13 Dec 2006 15:42:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 07:42:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 07:42:47 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A87F7141A3 for ; Wed, 13 Dec 2006 07:42:27 -0800 (PST) Message-ID: <26334582.1166024547499.JavaMail.jira@brutus> Date: Wed, 13 Dec 2006 07:42:27 -0800 (PST) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-1980) [classlib][performance] performance improvement for luni and nio_char modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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