commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [CSV] Performance
Date Thu, 15 Mar 2012 12:43:51 GMT
Le 15/03/2012 13:34, sebb a écrit :
> 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.

Did you run with the client or the server VM? My tests were all with the 
server VM.


Emmanuel Bourg


Mime
View raw message