Start the Workshop map
Subscribe to CS2 FPS BENCHMARK DUST2 in Steam and wait for the download. Open the Workshop Maps list in CS2, select the map and start the test. Let it finish, then open the console and find the final VProf line with Avg and P1.
Compare two settings
Do a warm-up run, then record several repeats. Change one setting, such as resolution, and run the same test again. Avg reports average FPS, while P1 helps compare slow frames. If the difference is smaller than the variation between runs, repeat the test.
Check the result in a match
The map runs a local scenario, so the numbers can differ from online play. Use it to compare two settings on the same system, then check your choice in a real match.