[limb-svn] r6406 - 3.x/trunk/limb/active_record/tests/bench

svn at limb-project.com svn at limb-project.com
Wed Oct 10 13:43:27 MSD 2007


Author: pachanga
Date: 2007-10-10 13:43:26 +0400 (Wed, 10 Oct 2007)
New Revision: 6406
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6406

Modified:
   3.x/trunk/limb/active_record/tests/bench/fetching.php
Log:
-- bench typos fixes

Modified: 3.x/trunk/limb/active_record/tests/bench/fetching.php
===================================================================
--- 3.x/trunk/limb/active_record/tests/bench/fetching.php	2007-10-10 04:57:08 UTC (rev 6405)
+++ 3.x/trunk/limb/active_record/tests/bench/fetching.php	2007-10-10 09:43:26 UTC (rev 6406)
@@ -48,7 +48,7 @@
 {
   $rs = lmbActiveRecord :: find('Foo');
   foreach($rs as $obj)
-    $foo = $obj->get('foo');
+    $foo = $obj->get('bar');
 }
 
 echo "lmbActiveRecord fetching, getter: " . (microtime(true) - $mark) . "\n";
@@ -59,7 +59,7 @@
 {
   $rs = lmbActiveRecord :: find('Foo');
   foreach($rs as $obj)
-    $foo = $obj->foo;
+    $foo = $obj->bar;
 }
 
 echo "lmbActiveRecord fetching, attr access: " . (microtime(true) - $mark) . "\n";
@@ -70,7 +70,7 @@
 {
   $rs = Foo :: find();
   foreach($rs as $obj)
-    $foo = $obj->get('foo');
+    $foo = $obj->get('bar');
 }
 
 echo "Foo fetching, getter: " . (microtime(true) - $mark) . "\n";



More information about the limb-svn mailing list