If the barrel is ported, you already have the benefit of a comp. However, there are reasons to have ports and a comp if you are looking for almost no recoil effect and very flat shooting. It does take tuning of lots of things to accomplish this - overall weight, weight distribution, slide lightening, spring tuning, to name just a few.
The biggest rub is that you need a LOT of gas pressure to achieve this. So, 38 super can do this easily. Example one of my race guns had a 5 port comp and the slide was essentially stock. Even going to an 8# recoil spring, it would not function well. I cut two of the ports off the comp, cut two ports in the barrel (and milled the top of the slide flat and an exhaust for the two ports). Presto, worked like a charm. Just seems to float out there. So little recoil effect you barely need any grip at all.
But I wouldn't try this with a 9mm.