Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
9.0.0
-
None
Description
Two usages of String.format frequently show up in my production profiler:
Both methods are potentially called dozens or even hundreds of times for large pages.
String.format has horrible performance and should mostly be used for generating error messages and debug information. For a detailed analysis see: https://redfin.engineering/java-string-concatenation-which-way-is-best-8f590a7d22a8
We should replace String.format with simple concatenation in both instances.