Re: Translation2 Containers

From: Date: Sun, 04 Jul 2004 11:40:30 +0000
Subject: Re: Translation2 Containers
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13481@lists.php.net to get a copy of this message
Hi Lorenzo, Thanks for the tip! Michael Lorenzo Alberton wrote:
On Sat, 03 Jul 2004 10:50:50 -0300, Michael wrote:
Before I embark on this task, I am wondering if anyone has done some simple benchmarks on the various Translation2 containers. Thanks, Michael
Hi Michael, I can only give you a rough esteem of the speed of the containers, since I haven't done any real and complete benchmark. I suppose the gettext driver is the fastest one, especially if you have prefetch=false and you don't use get[Raw]Page(), since it relies on the gettext native extension which is really fast. But also when using prefetch=true or get[Raw]Page() you probably get pretty good performances, since Michael Wallner did a wonderful job with his php File_Gettext class. Regarding the db drivers, I have some more concrete figures, and I can tell you that - from fastest to slowest - this is the order: MDB2 MDB DB with the difference between each one being often small. In this thread you can see some benchmark results I got some weeks ago: http://marc.theaimsgroup.com/?t=108237910300005&r=1&w=2 I don't know anything about the dataobjectsimple driver, better if you ask Alan. HTH Regards, -- Lorenzo Alberton http://pear.php.net/user/quipo


« previous php.pear.general (#13481) next »