Yes, this delay is understandable. You are using
stored variable which has a similar mechanism to those of
cloud variable. Essentially those variable will verify and pull data from your device’s storage which are much slower that
If you hold the stored variable value in an app variable and compare it then you will see a huge performance in time. Doing that, however, will require a kind of management approach to keep the main function of
stored variable which are to retain values between sessions.