discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=83f64194bacdc18fad743426dc39a2c0d87fbe85

commit 83f64194bacdc18fad743426dc39a2c0d87fbe85
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Dec 19 10:54:17 2016 -0500

    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 108edf6..b609c58 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -1786,21 +1786,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;
 }

-- 


Reply via email to