Posts Tagged python
Python Faster Than Java, At Least For BerkeleyDB
Posted by Jorge Alegre in Technology on February 22nd, 2010
I tested new Oracle Java edition for Berkeley DB and for my tests the word that best describes the product is FAIL. The conslussion more or less is that Oracle screwed Berkeley software. They have no HASH, only BTREES, many functionality of BerkeleyDB has been removed, etc… They say is BerkeleyDB with Java flavour, they have a weird sense of java humor then.
I was expecting factor of 5X as many blogs suggested that on real applications we have this improvement. And since BeerkeleyDB for me has a lot of memory use and processing as well I was expecting at least 2X factor. I got a 2X factor but on the contrary.
Results
I did test for creating a table of 1 million rows with 128MB memory Cache.
| Language | Time |
| Python | 12 sec |
| Java | 28 sec |
Tweet This Post
Plurk This Post
Digg This Post
Ping This Post

Recent Comments