Assuming comparable loads are loaded to the same pressure levels the load with the heavier powder charge will usually show the biggest gains.
For example, a .38 special with a 158 gr. SWC will gain (in an 18 inch vs. 6 inch barrel) about 125 fps when loaded with Unique and about 200 fps and loaded with Blue Dot. That assumes both are loaded to SAAMI maximum pressures, or thereabouts.