American Airlines sends out surveys to about 12% of passengers after their flights, and they get a 10% response rate — or about 90,000 surveys back each month. That way they can compare their performance month-over-month.
To compare their performance against other airlines they use metrics from JD Power and Airs@t.