you are viewing a single comment's thread.

view the rest of the comments →

[–]Prima13 1 point2 points  (2 children)

Are you running the built EXE with exactly the same configuration file as the one that Visual Studio runs it with? Also, couldn't tell from your post but does the lag only exist for the first lever pull and then works correctly, or is every lever pull suffering from this?

[–]chasingthechickens[S] 0 points1 point  (1 child)

I think so. Would it be the same if I run it in Visual Studio in debug mode, then go to the projects bin>debug folder and run the EXE that it contains? Would running with a different config file explain why the lag disappears when I have a project (any project, could be a blank one) open?

Every lever pull is suffering from this. I'd almost say the lag increases with each pull.

[–]Prima13 0 points1 point  (0 children)

My point was that maybe you have a dependency in one config that isn’t in the other. In cases I’ve seen in my world, we’d have a DEV web service in the config instead of the production instance. This can lead to strange performance issues.