]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: cache the defined Guid tool to improve the performance
authorYonghong Zhu <yonghong.zhu@intel.com>
Tue, 29 Mar 2016 04:59:43 +0000 (12:59 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 6 Apr 2016 05:40:14 +0000 (13:40 +0800)
commit213ae07750fc7532e8ba62a234e958388d1f0359
tree9709b843f922df4e401d604289c3bcd8bb09cfb0
parent024bdafc6800ee1e219df16bc11ca7a4c007a81d
BaseTools: cache the defined Guid tool to improve the performance

Current GenFds Tool class GuidSection() is parsing the tools_def.txt for
every GUID'ed section that has a GUID defined tool, it cause a bad
performance. so this patch cache the defined Guid tool to improve the
performance.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
BaseTools/Source/Python/GenFds/GuidSection.py