A good rule of thumb is that there is a 50fps gain/loss for every inch of barrel. So, if the section from the rear of the port(s) to the muzzle were completely removed, the loss would be proportional to the reduction in barrel length. The velocity loss from the ports would always be less than if that portion of the barrel were removed.
Jim