MetanoKid / cpp-build-analyzer

Analyzes MSVC C++ compilations with C++ Build Insights SDK
GNU General Public License v3.0
80 stars 2 forks source link

Limit number of Function entries to show in flame graph #14

Closed MetanoKid closed 4 years ago

MetanoKid commented 4 years ago

Flame graph files get increasingly large with Function entries, which not only have long names but there are a lot of them.

We could argue functions that take a low amount of time to compile are adding noise instead of helping you detect issues in your build times.

It would be interesting discarding those functions that take less than a number of some time unit (i.e. those that take less than 10 milliseconds?). We could add an optional command-line option for this number and use a default value if missing.