Cupid debugging library causes framerate stutters

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
liuqahs15
Prole
Posts: 3
Joined: Fri Dec 26, 2014 4:53 pm

Cupid debugging library causes framerate stutters

Post 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.
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

Re: Cupid debugging library causes framerate stutters

Post 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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 3 guests