diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-01 11:29:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-01 18:02:07 +0000 |
commit | 680fb343be5d0a7f9abbe9c75ca232abe5871663 (patch) | |
tree | 37c8d9217e12bf278f4323951c29410a8bc14ec7 /scripts/lib/argparse_oe.py | |
parent | 3b0af8dc0f796345d1f1ba77ea35bbd090a5feb3 (diff) | |
download | openembedded-core-680fb343be5d0a7f9abbe9c75ca232abe5871663.tar.gz openembedded-core-680fb343be5d0a7f9abbe9c75ca232abe5871663.tar.bz2 openembedded-core-680fb343be5d0a7f9abbe9c75ca232abe5871663.zip |
staging: Reduce the number of mkdirs calls
The number of mkdir calls was showing up high on the profile charts since
it was getting called once per file which is excessive. Each call results
in one or more syscalls which is bad for performance. Cache which
directories we've seen to reduce the calls to a more reasonable number
and speed up recipe specific sysroots.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions