My codeigniter application responding in 4-5 seconds.Environment is wamp( echo phpinfo(); with in 50ms). I have tried the following things.
echo "test"; exit; on main index.php : TTFB time ~ 100ms
echo "test"; exit; on main application/config/constant.php : TTFB time ~ 500ms
echo "test"; exit; on main application/config/config.php : TTFB time ~ 600ms
echo "test"; exit; on main application/config/database.php : TTFB time ~ 2s
echo "test"; exit; on main application/config/route.php : TTFB time ~ 1.5s
echo "test"; exit; on main application/controller/main.php : TTFB time ~ 4.8s
echo "test"; exit; on main application/controller/secondary.php(with calling of models) : TTFB time ~ 4.9s
I have run the same application on another system, it is working fine, the system having the same environment ( i.e same system architecture and apache modules ), Unable to understand what's going wrong.