RobertGummesson / BuildTimeAnalyzer-for-Xcode

Build Time Analyzer for Swift
MIT License
4.3k stars 260 forks source link

possible enhancement to print the result to log file #16

Closed steve21124 closed 8 years ago

steve21124 commented 8 years ago

by the way, using the logger from https://thatthinginswift.com/debug-long-compile-times-swift/

and your BuildTimeAnalyzer seems like the compile time did not match

RobertGummesson commented 8 years ago

They will match if you compare the same log files (and not two separate builds). How did you make the comparison?

steve21124 commented 8 years ago

by do sorting | egrep '.[0-9]ms' | sort -t "." -k 1 -n | tail -10.......

however, second look, there are multiple methods inside one class in separate line. probably because of that one, the numbers are off. ....

fyi: there is another performance report https://github.com/tumblr/SwiftCompilationPerformanceReporter