The stats script is almost certainly the culprit, though not directly. If it is the first script you put on a fresh saved.cfg file, the scripts after it won't be bothered so much, and your FPS should stay normal. Gibstick's suggestion should do the trick.
The FPS depression should be even less pronounced once all the console looping is consolidated.
The FPS depression should be even less pronounced once all the console looping is consolidated.