Engine Masters have done some great episodes on pipe diameter and mufflers. It's worth the subscription price to understand what's what before you spend hundreds or thousands on exhaust.
And the crappy sounding mufflers did significantly better on power, unfortunately.