If you look in your reloading manuals and a specific firearm is listed for testing then a strain gauge is glued to the barrel to measure chamber pressure. When a strain gauge is used a cartridge of a known chamber pressure is test fired to check the calibration.
In the Lyman reloading manual, you will see loads tested with a universal receiver and pressure test barrel that has a chamber and bore at minimum SAAMI dimensions. The pressure will be tested with a copper crusher or piezoelectric transducer and are direct pressure readings.
Then you add all the variations in reloading components, bullets, cases, primers etc. and you will see variations in the reloading data.
One of the first things you need to do using Quick Load is to get the case capacity of a case fired in your rifle. Then you use a chronograph and change the burn rate until the Quickload velocity matches the chronograph. After all this you have the "ball park" chamber pressure for your rifle.
My Savage .223 with a 1in9 twist has a longer throat than my AR15 rifles, and most load data you see is for short throated .223 rifles with a 1in12 or 1in14 twist. Meaning my Savage .223 can be loaded warmer than most manuals.
Below look at the variations in freebore length "N" and freebore diameter "G" and you will see why the reloading data can vary. And this is just chamber throat variations and we haven't included variations in reloading components, bullets, cases, primers etc.
Below is a custom hand lapped barrel and the bottom photo is a new button rifled Savage barrel. And I always wondered how much difference in chamber pressure would be between these two barrels.