Shader - material Instruction count

Basic material - shader instruction count in UE 4.27 is 659 and in UE 5.1 is 246, why?
How does this affect performance?