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

CLDR Ticket #8854(new unittest)

Opened 3 years ago

Last modified 13 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:


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.


Change History

comment:1 Changed 3 years ago by emmons

  • Milestone changed from 29 to upcoming

comment:2 Changed 13 months ago by emmons

  • Milestone changed from upcoming to UNSCH

Add a comment

Modify Ticket

as new

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

Note: See TracTickets for help on using tickets.