Reading of build-wrapper-dump.json might be slow on Windows with MSVC. Symptom of this - is empty lines in analysis log as shown below:
And negative impact is even bigger in case of multi-module configurations that do not utilize
CPP-1773 i.e. LTS <= SQ < 6.4.
This is caused by a slow processing of command-line option /AI. The whole argument such as /AIC: is considered as filename and such name is invalid - https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
Performance degradation in this case is a regression introduced by
We should not consider arguments that start with minus and slash as filenames:
Note that cl \hello.c works.
Conversion of minus into slash was added in
CPP-1330, but for completeness of test here: