Firing somebody who is doing a decent job causes a lot of damage. The first company I worked at fired two devs after implementing new metrics and determining they were 15-20% less productive than the rest of the team.
In reality these two guys were doing a good job; just not quite as good a job as the rest of us. I immediately started looking for a new job and within six months the entire rest of the team left.