One good indicator is your scan cycle time. In Simatic Manager, Go to PLC-> Module Information. To me, over 100ms is unacceptable. However, I think the default is set to 250ms.
Also, check your load memory. Load memory is the place where your code is stoed in the PLC. But I doubt the PLC will allow you overfill this storage without giving you a fault.