[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #8854(new unittest)

Opened 2 years ago

Last modified 5 months ago

Performance Improvements for unit tests and production code.

Reported by: emmons Owned by: emmons
Component: perf Data Locale:
Phase: rc Review:
Weeks: Data Xpath:
Xref:

Description

Split off from the 28 ticket....

Investigate some known performance improvements for the unit tests, such as the following:

1). Use of CLDRConfig.getEnglish(), CLDRConfig.getRoot() wherever possible, which will use a singleton cached version instead of creating a new CLDRFile.

2). Use of ImmutableSet from Guava for creating constants instead of HashSet - it claims to be faster.

3). Use of Enum and EnumSet where it makes sense.

I'm sure there are others. As much as we run the unit tests, it's worth our while to make them efficient.

Attachments

Change History

comment:1 Changed 23 months ago by emmons

  • Milestone changed from 29 to upcoming

comment:2 Changed 5 months ago by emmons

  • Milestone changed from upcoming to UNSCH
View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.