Comparator is intended functions speed comparison