harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5122) [classlib][icu] significant performance degradation atfter ICU related commits
Date Wed, 14 Nov 2007 12:10:43 GMT

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

Aleksey Shipilev updated HARMONY-5122:
--------------------------------------

    Attachment: testDLT.java

During the investigation I've found that performance problems on SPECjbb2005 are caused by
method SimpleTimeZone.useDaylightTime().  After REVERTING this chunk:

Index: modules/luni/src/main/java/java/util/SimpleTimeZone.java
===================================================================
--- modules/luni/src/main/java/java/util/SimpleTimeZone.java	(revision 593468)
+++ modules/luni/src/main/java/java/util/SimpleTimeZone.java	(revision 593469)
@@ -837,7 +738,7 @@
 	 */
 	@Override
     public boolean useDaylightTime() {
-		return useDaylight;
+		return icuTZ.useDaylightTime();
 	}
 
 	private static final ObjectStreamField[] serialPersistentFields = {

On the attached microtest running on Windows/ia32 Harmony:

Harmony-r593446
elapsed: 4906
elapsed: 1375
elapsed: 1360
elapsed: 1375
elapsed: 1375
elapsed: 1359
elapsed: 1375
elapsed: 1359
elapsed: 1359
elapsed: 1375

Harmony-r593469 (with guilty commit):
elapsed: 6265
elapsed: 2734
elapsed: 2734
elapsed: 2735
elapsed: 2734
elapsed: 2734
elapsed: 2734
elapsed: 2735
elapsed: 2734
elapsed: 2735

Harmony-r593469 (with guilty commit AND reverted chunk):
elapsed: 4735
elapsed: 1375
elapsed: 1359
elapsed: 1375
elapsed: 1375
elapsed: 1360
elapsed: 1375
elapsed: 1375
elapsed: 1359
elapsed: 1375


> [classlib][icu] significant performance degradation atfter ICU related commits
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-5122
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5122
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: windows 32, linux 32
>            Reporter: Rustem Rafikov
>         Attachments: testDLT.java
>
>
> Significant performance degradation is observed  on SPECjbb2005 after ICU related commits.
> There were two such commits:
> 1. r592434 - "Apply patch Harmony-5061 which removes the duplicate locale data"
> 2. r593469 - "fix the regression that we have different locale data for Europe/London,
along with some fixes for other difference against RI"
> The second one causes 15-20% degradation on jbb2005. 

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


Mime
View raw message