Changeset 3890 for trunk/tests/Orm

Show
Ignore:
Timestamp:
02/23/08 22:04:39 (11 months ago)
Author:
romanb
Message:

validator refactorings and others

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/Orm/Component/AccessTest.php

    r3882 r3890  
    4545    } 
    4646 
     47    public function testAccessorOverridePerformance() { 
     48        $this->user->username; 
     49        $start = microtime(true); 
     50        for ($i = 0; $i < 1; $i++) { 
     51            $this->user->username; 
     52        } 
     53        $end = microtime(true); 
     54        echo ($end - $start) . " seconds" . PHP_EOL; 
     55    } 
     56 
    4757    /** 
    4858     * @test