Click the green flag. This project will tell you the FPS (frames per second) your project is running at. Copy the code inside "Stage" to use this. It's only one script. It is the script shown in the project.
The code blocks are a screenshot from scratch. Please give credit if you use this.