Collecting compilation time with 'bCompilerTrace' flag in UBT

Hi folks,

I’m a newbie to UE development. Nice to meet you all :slight_smile:

Currently I’m trying to get the compilation time of each C/C++ files. I successfully generate those timing data by using the ‘bCompilerTrace’ flag. However, I found that the results are all aggregated into a kind of binary file (i.e. *.timing.bin)

My questions are:

  1. How do I read those “*.timing.bin” files? And what is the rationale behind aggregating them into a binary format rather than plain text like JSON?
  2. Is there any “–help” or document for all the command line options for UBT? I know there is a web page for Build Configuration but from what I understanded, UBT can do more things like invoking individual ToolMode. I just can’t figure out how to do it.

Thank you!

1 Like