generic-poky/bitbake/lib/bb
Richard Purdie 0381b78aa4 bitbake: event/utils/methodpool: Add a cache of compiled code objects
With the addition of function line number handling, the overhead of
the compile functions is no longer negligible. We tend to compile
the same pieces of code over and over again so wrapping a cache around
this is beneficial and removes the overhead of line numbered functions.

Life cycle of a cache using a global like this is in theory problematic
although in reality unlikely to be an issue. It can be dealt with
if/as/when we deal with the other global caches.

(Bitbake rev: 98d7002d1dca4b62042e1589fd5b9b3805d57f7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-22 00:02:05 +00:00
..
fetch2 bitbake: fetch: use orig localpath when calling orig method 2015-12-18 12:18:19 +00:00
parse bitbake: BBHandler: Improve IN_PYTHON_EOF handling 2015-12-22 00:02:05 +00:00
pysh bitbake: lib: fix no newline at end of file 2014-07-04 09:28:36 +01:00
server bitbake: server/process: Handle SIGTERM more gracefully 2015-09-09 14:27:55 +01:00
tests bitbake: bitbake: rename REGEX, REGEX_URI, and GITTAGREGEX. 2015-12-08 10:20:31 +00:00
ui bitbake: knotty: Improve exception error message 2015-12-18 12:18:19 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: bitbake/lib: Update version to 1.28.0 2015-10-01 15:17:53 +01:00
build.py bitbake: build/utils: Add BB_TASK_IONICE_LEVEL support 2015-10-29 07:35:52 +00:00
cache.py bitbake: cache: Don't try to expand __inherit_data 2015-11-16 11:55:07 +00:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: codeparser: Only load the codeparser cache once 2015-11-16 11:55:06 +00:00
command.py bitbake: command: Add getSetVariable command 2015-10-29 07:35:51 +00:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: cooker: Ensure BB_CONSOLE remains correct over server resets 2015-10-29 07:35:52 +00:00
cookerdata.py bitbake: ast/event/utils: Improve tracebacks to include file and line numbers more correctly 2015-12-18 12:18:19 +00:00
daemonize.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
data.py bitbake: data_smart: Improve override history logging 2015-07-24 23:28:35 +01:00
data_smart.py bitbake: data_smart: Only support lowercase OVERRIDES 2015-11-16 11:55:08 +00:00
event.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
main.py bitbake: cooker: preserve pre and post configs 2015-10-27 07:24:30 +00:00
methodpool.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00
monitordisk.py bitbake: monitordisk: don't log when not monitoring a filesystem for inodes 2014-09-29 12:08:48 +01:00
msg.py bitbake: Fix default function parameter assignment to a list 2015-08-19 18:05:44 +01:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Avoid fsync() calls 2014-05-03 11:24:48 +01:00
process.py bitbake: Fix default function parameter assignment to a list 2015-08-19 18:05:44 +01:00
providers.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
runqueue.py bitbake: runqueue: Add support for <task>- syntax 2015-12-18 12:18:19 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen: Make it clear why nostamp tasks signatures don't match 2015-10-01 07:43:38 +01:00
taskdata.py bitbake: taskdata: Add a function to return the virtual/ mapping data 2015-10-01 07:43:38 +01:00
tinfoil.py bitbake: tinfoil: remove logging handler at shutdown 2015-09-23 22:44:56 +01:00
utils.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00