This lag has been an issue for a year now. It was introduced after 1.21.1. There is a lag spike every 5-8 seconds that last from 1-2 seconds. This seems to only take place on Apple Silicon processors as it doesn’t take place on my 2014 Macbook Pro with an Intel Processor. I have taken every possible troubleshooting procedure and method. Thought this would be updated in 1.21.5. I sent a few emails last April about fixing this issue. It is still prevalent. Please fix. Thanks.
Please upload a video recording of this issue with the debug screen and FPS chart (F3+2) enabled.
You can record your screen using software such as OBS or the built-in Screenshot app (shift+cmd+5).