Faster usage of the thread unsafe SimpleDateFormat is: private static final SimpleDateFormat FORMAT_PROTOTYPE = new SimpleDateFormat("...", Locale.ROOT); static { format.setTimeZone(GMT_ZONE); } protected SimpleDateFormat format = (SimpleDateFormat)FORMAT_PROTOTYPE.clone(); Please, apply this pattern to the formats[] field. It shoudl speed up the request processing a little bit. Thanks
Created attachment 25317 [details] Test performance creation of the Request() object
Created attachment 25318 [details] Requested changes added to the Request Class On my machine I saw an increase in roughly 12% of performance.
Thanks for the patch. Because Request objects are recycled this improvement will only apply on the creation of a Request object and even then the performance improvement is in the order of microseconds. The patch has been applied to 9.0.x for 9.0.0.M5 onwards.