Files
codeql/cpp/ql/src/Metrics/Files/FTimeInFrontend.qhelp
Mathias Vorreiter Pedersen d0dd71ba10 Apply suggestions from code review
Co-authored-by: hubwriter <54933897+hubwriter@users.noreply.github.com>
2020-10-22 12:53:35 +02:00

30 lines
933 B
XML

<!DOCTYPE qhelp PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<qhelp>
<overview>
<p>This metric measures the amount of time (in milliseconds) spent compiling a C/C++ file, including time spent processing all files included by the pre-processor.</p>
<p>Files that take too long to build usually have too many includes. </p>
</overview>
<recommendation>
<p>Files that take a long time to build should be checked to see if they are including only the necessary files in order to reduce build time.</p>
</recommendation>
<references>
<li>
MSDN Library: <a href="https://docs.microsoft.com/en-us/cpp/preprocessor/hash-include-directive-c-cpp">#include directive (C/C++)</a>
</li>
<li>
<a href="http://gcc.gnu.org/onlinedocs/cpp/Include-Operation.html#Include-Operation">Include operation</a>
</li>
<li>
<a href="http://www.drdobbs.com/cpp/c-compilation-speed/228701711">C++ Compilation Speed</a>
</li>
</references>
</qhelp>