Compressors use work input to increase the pressure of a gas. In this case, the efficiency is given by:
Note that in this case, since work is the input, the above equation is the inverse of the isentropic efficiency of a turbine, since turbines produce work as an output.