• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Email sending takes 36 seconds!

#4
[eluser]xwero[/eluser]
Add benchmarks markers where you think the problem is. For example
Code:
$this->benchmark->mark('to_class');
$this->email->message($msg);
$this->benchmark->mark('to_server');
$this->email->send();
$this->benchmark->mark('done');
echo $this->benchmark->elapsed_time('to_class', 'to_server');
echo $this->benchmark->elapsed_time('to_server', 'done');
If the elapsed times are short the problem lays somewhere else.


Messages In This Thread
Email sending takes 36 seconds! - by El Forum - 09-09-2008, 07:55 PM
Email sending takes 36 seconds! - by El Forum - 09-10-2008, 12:23 AM
Email sending takes 36 seconds! - by El Forum - 09-10-2008, 03:41 AM
Email sending takes 36 seconds! - by El Forum - 09-10-2008, 04:00 AM
Email sending takes 36 seconds! - by El Forum - 09-10-2008, 05:39 PM
Email sending takes 36 seconds! - by El Forum - 09-11-2008, 12:08 AM
Email sending takes 36 seconds! - by El Forum - 09-11-2008, 02:28 AM
Email sending takes 36 seconds! - by El Forum - 09-11-2008, 02:34 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.