diff options
author | Joey Vagedes <joeyvagedes@microsoft.com> | 2024-08-01 16:08:52 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-04 07:30:59 +0000 |
commit | 159f1aee56d270d2575e50eb2af077abe182fc9b (patch) | |
tree | 1c1c78bb465ced39229e49ff172ef35a17f558eb /.gitmodules | |
parent | f203a6db92eedf03ac544ed270404cb29d3dea7f (diff) | |
download | edk2-159f1aee56d270d2575e50eb2af077abe182fc9b.tar.gz |
BaseTools/WinRcPath: Improve Performance.
WinRcPath generally takes about 2 seconds to run, due to calling
multiple .bat files behind the scenes. This change reduces this time to
~0 seconds due to the following changes:
1. It will attempt to load the path from the cache, which is located a
$(WORKSPACE)/Conf/.rc_path. If the loading is a success and the rc_path
still exists, it will use it.
2. If the cache did not exist, or the path provided by the cache does
not exist, it will find the rc path via the .bat files. If that
succeeds, it will write the path to the cache.
Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions