franneck94 / Vscode-C-Cpp-Runner

🚀 Compile, run and debug single or multiple C/C++ files with ease. 🚀
MIT License
53 stars 14 forks source link

[ENH]: Show compilation time #91

Closed Kol9yN closed 1 year ago

franneck94 commented 1 year ago

As a future note:

Clang and GCC have this flag: -ftime-report

MSVC: Visual Studio has /Bt (see VC++ Team Blog post) and /d2cgsummary (see my blog post) flags, and while they don’t contain much information and the UX of them is “a bit lacking”, they are at least something.

/Bt prints how much time “frontend” (preprocessing, parsing - everything that is about the “C++ language”) and the “backend” (optimizations and final machine code generation – much less specific to C++ language) takes.

franneck94 commented 1 year ago

Implemented in #105