From 3c3bd0c2fa80d747f25401c17b785c7c2f3787ca Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Jun 2011 10:33:56 +0100 Subject: Drop psyco support At best it gave 1-2% improvement now, its 32 bit x86 only and isn't supported after python 2.6. PyPy is probably a better option now. Signed-off-by: Richard Purdie --- lib/bb/cooker.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/bb/cooker.py') diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 86cdd9538..27ca330e4 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -900,19 +900,6 @@ class BBCooker: if self.state != state.parsing: self.parseConfiguration () - # Import Psyco if available and not disabled - import platform - if platform.machine() in ['i386', 'i486', 'i586', 'i686']: - if not self.configuration.disable_psyco: - try: - import psyco - except ImportError: - collectlog.info("Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.") - else: - psyco.bind( CookerParser.parse_next ) - else: - collectlog.info("You have disabled Psyco. This decreases performance.") - self.status = bb.cache.CacheData(self.caches_array) ignore = bb.data.getVar("ASSUME_PROVIDED", self.configuration.data, 1) or "" -- cgit 1.2.3-korg