A minifier changes the source file by removing or shortening syntax that the parser can safely transform. A server may also compress the resulting bytes during transfer. Measure the input and output at each stage. A smaller source file does not reveal what a repeat visitor transferred from cache.
Start with a known function
Load the JavaScript Minifier sample containing the campaign rate function. Record the input and output byte counts shown by the browser. Confirm that the function still implements the same calculation using a test with 45 clicks and 3,000 impressions. Preserve the readable source and compare against the generated file you plan to deliver.
Now run the CSS Minifier on the sample card declaration. Check the browser computed style before and after if you want to test semantics. Source whitespace and shorthand can change while rendered padding remains the same. License comments may have to survive, depending on how the code was licensed.
Confirm the actual transfer separately
Deploy a staging build, open the Network panel and request one asset with cache disabled. Record the response's compression header, encoded size and decoded size. Reload with caching allowed and record whether a network response was needed. Local tool byte counts are uncompressed UTF-8 bytes. Those numbers belong in a separate column from transfer measurements.
Avoid pasting code from an unfamiliar site into an execution environment to test equivalence. Test your own application with its build and test commands, and use the minifier only to transform source. It does not resolve imports, run the result or establish that a site became faster.