Spigot and Paper set parameters that can greatly improve performances. If your server undergoes lags, you can quickly check if your server is well optimized.

You can quickly check if your Minecraft server configuration is properly optimized. Recommended values aim to provide the best from your server without compromising the gameplay.