commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <benerit...@googlemail.com>
Subject Re: [CSV] Performance
Date Thu, 15 Mar 2012 12:55:27 GMT
Am 15. März 2012 13:50 schrieb Gary Gregory <garydgregory@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 <sebbaz@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-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message