1. Debug value inside core.php should always be 0 when running on production.
2. Be sure to set up module caching (from Advanced tab while editing modules) of at least a few minutes on all modules except User Login Box. Otherwise full module rendering will be done on every page call, and possibly database queries too.
3. Make sure that directory /app/tmp and directories inside it are writable (CHMOD 777).