I have a 9-inch and 5-inch pistol upper (and a 16-inch carbine). The 9-inch build is a bit easier as it used standard pistol length gas system and there are lots of handguard options. 9-inch give or take an inch or two is a good compromise length for quiet operation and still short enough to be convenient. Commercial subsonic ammo seems to work best in barrel around 9 inches too. Many of the commercial subsonic offerings go super sonic in my 16-inch gun.
All this said if your considering a brace on your pistol I would wait till early next year when we should know what the ATF is going to do about braced pistols.
My 5-inch. An old AAC 5-inch barrel with a 1:5 twist. The handguard is a modified DPMS tubular that works well over my Suppressor. Sights are a Vortex Sparc AR and 3x magnifier. SBA 3 pistol brace.
View attachment 1108029
The gas tube is a bit short... the gas port is ~3.8 ahead of the tip of the bullet...
9-inch pistol. Again AAC 9-inch barrel and matching AAC Square Drop handguard (Key-Mod compatible, tactical candy corn). The sight is a Vortex Spitfire 3X prism (Gen1).
JMHO but I would not bother with a 5-inch unless your going to actually put a suppressor on it. Even with subsonic ammo it sort of obnoxious to shoot without the suppressor. For that matter without a suppressor I would not bother with a pistol 300 BO at all. I would go with a 16-inch and 300 Ham'r but that is sliding of topic.