The G45 with a comp keeps the x300U clean and fits G34 holsters.
The he slide velocity is faster on the G45 and returns the front sight faster. The G17 has a slightly slower slide velocity. If you add a comp, it’s longer overall. If you add an X300U, it carbons over the lens. Other than that, no positives I can think of for either.