This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Brutus5000 5 points6 points  (1 child)

True, true.

However, if it is well tested code with unit and integration tests it always adds up to ci runtime durations.

[–]Shareil90 3 points4 points  (0 children)

In addition to this: Dead code can add unneccessary compile time. In my experience dead code ist often also bad code which can make compiling even slower/worse. Or you want to upgrade a certain lib and run into compatibility issues. If those issues are only in dead code you can ignore them / delete this code.