Build times should be cumulative
eaigner opened this issue · comments
Sometimes files show up multiple times with different build times. I suppose this is because of target dependencies. It would be nice if identical lines would be grouped and their cumulative build time displayed.
Sometimes files show up multiple times with different build times. I suppose this is because of target dependencies.
The plugin displays build times for functions rather than files (see the Function column). That would be why you see the same file show up multiple times.
No. It's the same function name AND same file name
Ah, that would be a bug. I haven't actually seen this for any of my projects. Let me see if I am able to reproduce this when I have a moment.
If you have the time and are able to build the plugin yourself, it would be interesting to see if that goes away if:
return time.hashValue ^ text.hashValue
is swapped to:
return text.hashValue
in CMRawMeasure.swift.
Let me check
By the way. Is there a reason the results are capped at 20?
I added it for performance reasons but never benchmarked it. It could likely be increased.
Thanks for this find and your commits. Have merged the branch to master...