I use a Glock G34 9mm in USPSA matches, (a longer version of the G17), for me at least it outperforms all the other poly pistols I have tried. The other polymer candidates were H&K P30L, S&W M&P PRO, Springfield Armory XD, XDm 5.25, and the FNP 9mm. I currently own SIG, Beretta, CZ and Colt 9mm pistols.The only 9mm pistol that I've shot that can out perform the G34 is my STI 1911, way more than your price point. Price of magazines, availability of upgrades like sights and triggers, plus ease of install of these upgrades really points to a Glock. I have about 12 magazines for the G34, installed Dawson Precision adjustable fiber optic sights and a Glocktriggers,com Apex trigger. The trigger alone, was the best investment, literally drop in easy, and it looses all the striker fired trigger creep, it will work on a G17 too. If your only choices are between the G17 and XDm, no comparison for me Glock all the way, M&P Pro a close second, CZ 75 SA third.