Log In  


The Picotron desktop now slows down to sub 30fps when multiple GFX and Code files are open at the same time.

I may be a bit of a power user as I have 20 code tabs and 11 GFX tabs open constantly in my project, but this wasn't an issue in 0.2.0d so I thought I'd mention it.

When these files are open, launching the cart takes upwards of 30 seconds and the game runs sub 30fps despite cpu() idling around 50%.

It happens for me when opening the 13th tab. I'm not certain if the amount of data in each tab matters as I've tested with more code tabs open and less GFX, as well as more GFX tabs open and less code tabs.

4


It appears to be the number of editors/tabs open.

Here's how to reproduce it.

  1. Reboot to start with a blank cart
  2. Open 10 new tabs in the code editor (12 in total will be open in the code editor)
  3. Open one more code tab and note the performance decrease

Note: Closing any tab, whether it be a code tab or otherwise, the performance will return.


1

running into this with notify(). passing a non-string to notify() freezes picotron, unless many tabs are open.


1

I've also been experiencing slowdowns in general that don't seem to correlate to CPU usage. I've downpatched back to 0.2.0d in the meantime.


Thanks for the report @washburnello -- I'll improve this for 0.2.0h which will be out soonish. CPU distribution is still a WIP, but editor tabs are meant to be very lightweight when not visible (and especially when a fullscreen game is running).

@maxthemooshroom I think that was just a coincidence! notify() wasn't coercing the message into a string -- fixed for 0.2.0h

@ProgramGamer did you also have many tabs open when experiencing slowdowns? The issue was with the number of processes running rather than just total cpu usage.



[Please log in to post a comment]