My experience is that a list of employees ordered by (compensation/contribution) is created, sorted highest to lowest. Those nearer the top of the list are most likely to be let go, those lower on the list are most likely to stay. And, contribution != performance. Profitability (margin) and revenue growth of the product and team affect contribution as much as individual performance.