From 30b25f16d173b6bb6186971d24338c82f98d7899 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 19 Dec 2016 10:54:17 -0500 Subject: [PATCH] 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 2850c2816758f8398fb87c6e653f3bd4ebc9f992 --- src/bin/e_main.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/bin/e_main.c b/src/bin/e_main.c index cb5d875a2..862a16d05 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -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; }