There will be little difference between 357 mag velocity in a 18.5 vs a 20 inch barrel.
357 mag powders burn quickly reaching a pressure peak while the bullet is still in the barrel, in contrast to bottle neck magnum calibers which are slower burning and continue building pressure until the bullet is much nearer the end of the barrel.
As has been mentioned above, this means that beyond a certain length (it works out to about 14-18 inches for 22 LR) no significant velocity is gained by lengthening the barrel. Actually for such calibers long barrels, can even slow the projectile beyond what it would have been for a shorter barrel. Realize that friction also continues as the bullet traverses the bore.
This from Ballistics by the Inch
Ballistics by the Inch
Click to enlarge.
The proper way to do this is to take a long rifle barrel and cut it off, an inch at a time, recrowning the barrel after each cut. Then velocity measurements are gathered at each length and a table is constructed.
I suspect that the tables above were constructed from firing
different rifles with different barrel lengths, rather than a single rifle and cutting the barrel.
In any event, note that the fasted measured velocities were at 16" barrel length. Although there was some variation in velocity with lengths longer than 16", the changes in velocity thereafter were small.
The value of a chart like this one, is not the absolute numbers, but the trend. Velocity will increase with barrel length up to a certain length, and afterward will decrease. This maximum is different for different calibers, different bullet weights, different powder choices, and different loads. No doubt there are other factors as well.
Beyond that, increasing barrel length serves only to contribute to esthetics, sight radius, balance, and weight.