The ideal process would appear vertical on a TS diagram. In the real process there is friction, turbulence and, possibly, shock losses, making the exit temperature, for a given pressure ratio, higher than ideal. The shallower the positive slope on the TS diagram, the less efficient the compression process.