Am seeing ~19% CPU time spent on string concatenations when parsing a large
number of sitemap files. This is due to :
* SiteMapURL.toString using implicit concatenations (String s = "url=\"" + url
+ "\",")
* SiteMapURL.toString being called unnecessarily e.g. LOG.debug(" " + (i + 1)
+ ". " + sUrl);
The patch attached improved the toString() implementation and checks for the
log levels before building the strings
Original issue reported on code.google.com by digitalpebble on 24 May 2013 at 2:07
Original issue reported on code.google.com by
digitalpebble
on 24 May 2013 at 2:07