Benchmark: BoneCP vs DBPool

Ask around here!

Benchmark: BoneCP vs DBPool

Postby dilshat » Fri Dec 17, 2010 8:57 am

Hi everybody!

It is really interesting whether such tests have ever been conducted.
DBPool seems to be a very elaborate lib.
http://www.snaq.net/java/DBPool/

Is it possible to compare it to BoneCP?
dilshat
 
Posts: 2
Joined: Fri Dec 17, 2010 8:53 am

Re: Benchmark: BoneCP vs DBPool

Postby wwadge » Fri Dec 17, 2010 1:11 pm

I will add this to the suite of benchmarks though looking at the code, I seriously doubt it will beat BoneCP under multi-threaded contention since the getConnection method is marked as synchronized!

Wallace
wwadge
Site Admin
 
Posts: 728
Joined: Mon Oct 19, 2009 7:50 pm

Re: Benchmark: BoneCP vs DBPool

Postby wwadge » Fri Dec 24, 2010 9:04 am

I've done the benchmark test. As expected, DBPool performed very poorly.
bonecp-singlethread-poolsize-100-threads-200.png
bonecp-singlethread-poolsize-100-threads-200
bonecp-singlethread-poolsize-100-threads-200.png (15.63 KiB) Viewed 1908 times

bonecp-multithread-0ms-delay-poolsize-100-threads-200.png
multithread-0ms-delay-poolsize-100-threads-200
bonecp-multithread-0ms-delay-poolsize-100-threads-200.png (42.57 KiB) Viewed 1908 times
wwadge
Site Admin
 
Posts: 728
Joined: Mon Oct 19, 2009 7:50 pm

Re: Benchmark: BoneCP vs DBPool

Postby dilshat » Mon Dec 27, 2010 8:28 am

Thank you for the test!
Great news!
I'm moving to BoneCP :)
dilshat
 
Posts: 2
Joined: Fri Dec 17, 2010 8:53 am


Return to BoneCP - Help, Q&A, Whatever!

Who is online

Users browsing this forum: No registered users and 1 guest

cron