![]() |
Why Tank_Auth so slowly? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Why Tank_Auth so slowly? (/showthread.php?tid=19675) |
Why Tank_Auth so slowly? - El Forum - 06-15-2009 [eluser]vps4[/eluser] I just installed it. and run the login page. Quote:Page rendered in 1.1861 seconds, 3 queries, 0.43MB memory usage. it seems not database problem. but why it so slowly? Quote: [queries] => Array and in the controller file /* Location: ./application/controllers/auth.php */ I add benchmark for login function it just take 0.08 second. so, where it expend time? EDIT: I add benchmark for the __construct function Quote:$this->benchmark->mark('startc'); it take 0.70 second. How can I optimize it? and where is the other time? Why Tank_Auth so slowly? - El Forum - 06-15-2009 [eluser]TheFuzzy0ne[/eluser] Enable the profiler and see what queries are being made, and then see if there are any indexes missing. Perhaps you just need to optimise your table? Why Tank_Auth so slowly? - El Forum - 06-15-2009 [eluser]slowgary[/eluser] Have you ever SEEN a tank? They're powerful alright, but they don't move too fast. Why Tank_Auth so slowly? - El Forum - 06-15-2009 [eluser]Thorpe Obazee[/eluser] [quote author="slowgary" date="1245120832"]Have you ever SEEN a tank? They're powerful alright, but they don't move too fast.[/quote] lol. Why Tank_Auth so slowly? - El Forum - 06-15-2009 [eluser]vps4[/eluser] I found the reason, because i installed a new Antivirus software yestoday, when I stop it running, all will be ok!!! The RingSing Antivirus software is the son of old bitch. I think is Antivirus software and phpass problem. |