audk/.pytool/Plugin
Michael D Kinney 3019f1bbab .pytool/Plugin/EccCheck: Add performance optimizations
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2986

Improve the performance of EccCheck by using a temp file
instead of stdout to capture the results of the git diff
commands. If a large patch set is passed into EccCheck,
using stdout could be slow and also added the large diff
content to the build log that is redundant information.

A second performance improvement is to filter the
modified directories to remove duplicate directories.
Complex libraries and modules that have subdirectories
with sources would be scanned twice if there were source
changes in both the main directory and subdirectories.
Filter out the subdirectories from the modified directory
list when this case is detected.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Acked-by: Sean Brogan <sean.brogan@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2021-11-29 06:38:51 +00:00
..
CharEncodingCheck .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
CompilerPlugin .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
DependencyCheck .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
DscCompleteCheck .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
EccCheck .pytool/Plugin/EccCheck: Add performance optimizations 2021-11-29 06:38:51 +00:00
GuidCheck .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
HostUnitTestCompilerPlugin .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
HostUnitTestDscCompleteCheck .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
LibraryClassCheck .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
LicenseCheck .pytool/Plugin: Add a plugin LicenseCheck 2020-07-31 02:49:51 +00:00
SpellCheck Pytool: SpellCheck: Defer path expansion in cspell parameters 2021-07-09 08:29:54 +00:00