Search code examples
codeigniterprofilermse

Codeigniter is too, too slow. What config is wrong?


My web server was good with codeigniter, but after i move my server on new windows server, it is too slow. I checked my code step by step, but it is same config and code. I just wrote simple code in main controller class.

public function testA()
{
  $this->output->enable_profiler(TRUE);
}

There is no mysql query, only show profiler data.

But it shows too slow.

Loading Time: Base Classes 8.4310

Controller Execution Time ( Batch / TestA ) 7.7913

Total Execution Time 16.2224

The running time is 16 seconds.

What is wrong with codeigniter?


Solution

  • It is MSE (Microsoft Security Essential) problem. If i turn off real-time protection, then it rans in a 0.1 seconds.