forked from enlightenment/enlightenment
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:
parent
fbb514e009
commit
30b25f16d1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue