function initialize() { parent::initialize(); $this->cache = new CDummyCache(); // $this->db->schemaCacheID = true; // $this->db->schemaCache = $this->cache; // // $this->db->getTableSchema('Author'); // $this->db->getTableSchema('Book'); }
<?php require dirname(__FILE__) . '/YiiMTestSuite.php'; $time = microtime(true); $memory = memory_get_usage(true); $test = new YiiMTestSuite(); $test->initialize(); $test->run(); echo sprintf(" %11s | %6.2f |\n", number_format(memory_get_usage(true) - $memory), microtime(true) - $time);