commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [CSV] Performance
Date Thu, 15 Mar 2012 16:42:52 GMT
On 15 March 2012 16:10, Emmanuel Bourg <ebourg@apache.org> wrote:
> Le 15/03/2012 16:45, sebb a écrit :
>
>
>> So I then tried hauling the format method calls out of the loops into
>> final local variables.
>> This improves performance (slightly) in both client and server mode.
>
>
> Could you show some code please?

Ditto.

> I'm unable to reproduce this. I used local
> variables in simpleTokenLexer and the performance degrades by 14% (HotSpot
> server VM, JDK 6u31, Core 2 Duo).

I also used local vars in the other methods.

See http://people.apache.org/~sebb/CSV/

> Emmanuel Bourg
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message