If() and if..then speed differences

Interesting conclusion. Now t find out why the string if() is slower than the normal string if end if.