Since it works fast in the production process, but slower on your computer, it can be a connection to an external resource, that is, to a database or to others.
Turn on tracing in your application, and then see where processing takes too much time. You can reduce this by adding trace messages in your application in places that you think might cause the problem.
You can also see if this is happening on another workstation with a clean OS to determine if it could be something on your local machine, causing problems.
source share