The moose likes Performance and the fly likes ResourceBundle and performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "ResourceBundle and performance" Watch "ResourceBundle and performance" New topic

ResourceBundle and performance

Mark Webb

Joined: Aug 31, 2002
Posts: 10
I was wondering what kind of performance hit my program is taking by using ResourceBundles instead of loading the information using the Properties class. I have 5 files that I load using a ResourceBundle, and knowing the the ResouceBundle class uses reflection..etc, there must be some performance degredation versus loading the information into the JVM using the Properties class.
Thanks in advance for the help.
It is sorta covered in the JavaRanch Style Guide.
subject: ResourceBundle and performance
It's not a secret anymore!