james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [Mime4j] Benchmark of 0.3 vs 0.4
Date Tue, 05 Aug 2008 08:19:41 GMT
Niklas Therning wrote:
> Hi,
> I've done some benchmarking of the recent performance improvements in 
> trunk vs Mime4j 0.3. I must say that the result is very promising! :)
> I did my tests on about 130000 messages, most of them less than 10 kB 
> in size. All message files had been cached by the Linux file cache 
> when I conducted the tests so it doesn't take the disk I/O in 
> consideration. I guess I should also run the tests without the cache 
> but I don't know how to force it to flush. The test uses the SAX-like 
> parser interface and a ContentHandler which does nothing (only 
> consumes the data).

> As you can see 0.4 is about twice as fast on messages less than 10 kB 
> in size and about 10 times faster for messages larger than 100 kB. 
> That is quite amazing!
> Please let me know if my benchmarking method is flawed in any way. I'm 
> attaching the source code of the test tool.

I was getting similar results with my tests (up to 9 times faster 
parsing of large messages)



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

View raw message