Performance analysis of optimised CMOS comparator