The variable is how fast your FPS (Frames Per Second) is. Scratch runs at 30 FPS, no higher. If you are lagging, you can easily tell because the counter goes much lower than 30. Sometimes the counter is a bit off, and it will go a bit higher than 30.