Change committed in 13756. Decided that we should actually not do what the TODO was suggesting. See commit log repeated below:
Consistently use CompilerDNA values to record compilation times during bootimage writing instead of timing the opt compiler and using DNA for the baseline compiler. We used to think that it was better to really time the compilations, but we can't actually get reliable times from the Host VM because we can't control for GC pauses in the middle of compilation. It's also not clear that compilation times on the build machine would actually be useful to guide recompilation decisions during actual runtime. Therefore, this change causes us to uniformly use CompilerDNA to estimate the compile time for bootimage compilation for the purpose of guiding runtime recompilation decisions. This may not be very accurate, but at least it is a stable and easy to reason about metric.