Am 15. März 2012 13:50 schrieb Gary Gregory <garydgreg...@gmail.com>: > Can you put your perf test code and resources in SVN so I do not have to > write on please? >
Hi Gary, have a look at http://markmail.org/message/x73i3hl63rjqdyfa (I agree with you, that having a clean performance test in SVN would be better) Regards, Benedikt > Gary > > On Thu, Mar 15, 2012 at 8:34 AM, sebb <seb...@gmail.com> wrote: > >> In my testing, using final class variables for delimiter, escape etc >> (set in ctor) shaves about 1 sec off the time to read the world town >> data file compared with accessing these fields inline through the >> format field. >> >> Average time goes from c. 25.5 to c. 24.5 which is a 4% improvement. >> >> I suspect this is partly because the fetches are currently in loops >> rather than any getter overhead. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 > Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org