remove extra SLEEP prints during startup on non-release builds

this was useful for startup profiling, but there are better methods available now

partially reverts 2850c28167
This commit is contained in:
Mike Blumenkrantz 2016-12-19 10:54:17 -05:00
parent fbb514e009
commit 30b25f16d1
1 changed files with 3 additions and 14 deletions

View File

@ -1799,21 +1799,10 @@ _e_main_cb_idle_after(void *data EINA_UNUSED)
eet_clearcache();
edje_freeze();
#ifdef E_RELEASE_BUILD
if (first_idle)
{
TS("SLEEP");
first_idle = 0;
e_precache_end = EINA_TRUE;
}
#else
if (first_idle++ < 60)
{
TS("SLEEP");
if (!first_idle)
e_precache_end = EINA_TRUE;
}
#endif
TS("SLEEP");
first_idle = 0;
e_precache_end = EINA_TRUE;
return ECORE_CALLBACK_RENEW;
}