Page 1 of 1

Cupid debugging library causes framerate stutters

Posted: Sun Dec 28, 2014 3:56 am
by liuqahs15
I'm new to love, but not programming/game dev in general. For some reason Cupid causes harsh framerate stutters, and I don't really know what the source is. I only discovered it because I was implementing a fixed time interval and my code made cupid crash the app. I commented out the line where I require cupid because it's unnecessary and then fixed my code, and everything worked. When I uncommented cupid, the framerate issues returned.

I don't know if anyone else has bumped into this, but I figured I'd make a thread in case someone has any ideas and other people have this problem. Would've saved me time if I had even an indication that cupid was causing the errors rather than my own code. It's a shame, because it's an extremely good debug console.

Re: Cupid debugging library causes framerate stutters

Posted: Sun Dec 28, 2014 9:24 pm
by Azhukar
For reference this is cupid https://bitbucket.org/pib/cupid/src

And this is likely the most intensive operation it does:
By default cupid will monitor all .lua files in the project directory, scanning it every so often. It's somewhat more efficient to turn this off and use UP commands. The remote module listens for console commands on UDP port 10137.
Disable automatic reloading, it seems to occur every second.