Change default value of checkpoint_segments in postgreSQL to at least 10 for better performance?

The Postgre official document recommends to set checkpoint_segments to at least 10, which improves the performance.
"Unless you’re running on a very small configuration, you’ll almost certainly be better setting this to at least 10, which also allows usefully increasing the completion target. ".

I wonder if the default need to be changed for performance concern. Thanks.

I would give it a try and see. I assume you are using the postgresql image, so any settings changes would be handled in your config.yml file.

It is probably better to measure your current performance and decide if you have a problem first. Are you looking to make your tests run faster?