performance chech based on pivot selection