You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Strigun (JIRA)" <ji...@apache.org> on 2007/04/24 14:26:15 UTC
[jira] Created: (HARMONY-3744) [classlib][luni][performance]
performance improvement for java.lang.Character class (toUpperCase,
toLowerCase, getType)
[classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
-----------------------------------------------------------------------------------------------------------------------
Key: HARMONY-3744
URL: https://issues.apache.org/jira/browse/HARMONY-3744
Project: Harmony
Issue Type: Improvement
Components: Classlib
Reporter: Vladimir Strigun
Frequently used values in getType, toUpperCase and toLowerСase methods were cached. First 1000 values for every method were cached as static arrays. The patch was verified with unit tests and all benchmarks. I have 5-7% speedup for Dacapo.jython benchmark without degradation on other scenarios.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3744) [classlib][luni][performance]
performance improvement for java.lang.Character class (toUpperCase,
toLowerCase, getType)
Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Petrenko reassigned HARMONY-3744:
----------------------------------------
Assignee: Alexey Petrenko
> [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3744
> URL: https://issues.apache.org/jira/browse/HARMONY-3744
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Reporter: Vladimir Strigun
> Assigned To: Alexey Petrenko
> Attachments: Harmony-3744.diff
>
>
> Frequently used values in getType, toUpperCase and toLowerСase methods were cached. First 1000 values for every method were cached as static arrays. The patch was verified with unit tests and all benchmarks. I have 5-7% speedup for Dacapo.jython benchmark without degradation on other scenarios.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3744) [classlib][luni][performance]
performance improvement for java.lang.Character class (toUpperCase,
toLowerCase, getType)
Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Petrenko resolved HARMONY-3744.
--------------------------------------
Resolution: Fixed
The patch has been applied.
Please verify.
> [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3744
> URL: https://issues.apache.org/jira/browse/HARMONY-3744
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Reporter: Vladimir Strigun
> Assigned To: Alexey Petrenko
> Attachments: Harmony-3744.diff
>
>
> Frequently used values in getType, toUpperCase and toLowerСase methods were cached. First 1000 values for every method were cached as static arrays. The patch was verified with unit tests and all benchmarks. I have 5-7% speedup for Dacapo.jython benchmark without degradation on other scenarios.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3744) [classlib][luni][performance]
performance improvement for java.lang.Character class (toUpperCase,
toLowerCase, getType)
Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Strigun updated HARMONY-3744:
--------------------------------------
Attachment: Harmony-3744.diff
the patch
> [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3744
> URL: https://issues.apache.org/jira/browse/HARMONY-3744
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Reporter: Vladimir Strigun
> Attachments: Harmony-3744.diff
>
>
> Frequently used values in getType, toUpperCase and toLowerСase methods were cached. First 1000 values for every method were cached as static arrays. The patch was verified with unit tests and all benchmarks. I have 5-7% speedup for Dacapo.jython benchmark without degradation on other scenarios.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3744) [classlib][luni][performance]
performance improvement for java.lang.Character class (toUpperCase,
toLowerCase, getType)
Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Petrenko closed HARMONY-3744.
------------------------------------
> [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3744
> URL: https://issues.apache.org/jira/browse/HARMONY-3744
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Reporter: Vladimir Strigun
> Assigned To: Alexey Petrenko
> Attachments: Harmony-3744.diff
>
>
> Frequently used values in getType, toUpperCase and toLowerСase methods were cached. First 1000 values for every method were cached as static arrays. The patch was verified with unit tests and all benchmarks. I have 5-7% speedup for Dacapo.jython benchmark without degradation on other scenarios.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3744) [classlib][luni][performance]
performance improvement for java.lang.Character class (toUpperCase,
toLowerCase, getType)
Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496207 ]
Vladimir Strigun commented on HARMONY-3744:
-------------------------------------------
Thanks Alexey,
patch applied as expected
> [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3744
> URL: https://issues.apache.org/jira/browse/HARMONY-3744
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Reporter: Vladimir Strigun
> Assigned To: Alexey Petrenko
> Attachments: Harmony-3744.diff
>
>
> Frequently used values in getType, toUpperCase and toLowerСase methods were cached. First 1000 values for every method were cached as static arrays. The patch was verified with unit tests and all benchmarks. I have 5-7% speedup for Dacapo.jython benchmark without degradation on other scenarios.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3744) [classlib][luni][performance]
performance improvement for java.lang.Character class (toUpperCase,
toLowerCase, getType)
Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Strigun updated HARMONY-3744:
--------------------------------------
Patch Info: [Patch Available]
> [classlib][luni][performance] performance improvement for java.lang.Character class (toUpperCase, toLowerCase, getType)
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3744
> URL: https://issues.apache.org/jira/browse/HARMONY-3744
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Reporter: Vladimir Strigun
> Attachments: Harmony-3744.diff
>
>
> Frequently used values in getType, toUpperCase and toLowerСase methods were cached. First 1000 values for every method were cached as static arrays. The patch was verified with unit tests and all benchmarks. I have 5-7% speedup for Dacapo.jython benchmark without degradation on other scenarios.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.