Why 'if' node doesnt affect the performance?

The IF node is not improving performance because of the way it is implemented in the material editor. Take a look at this thread.

Please, also take your time to upvote these:
Request1
Request2