ZBoylan / 3DPrinterUI

CS 350 - UI team
0 stars 0 forks source link

100% CPU usage #15

Open GeorgeVentura opened 6 years ago

GeorgeVentura commented 6 years ago

I'm getting 100% cpu usage on the gui

zbhujwala commented 6 years ago

I am trying to replicate the 100% CPU usage but I am unable to do so (the highest I can get it to is 10% usage by testing everything that is implemented currently.) What features did you use to max out your CPU usage? We can look at it tomorrow if needed.

EDIT: Were you happened to be connected to the printer at the time of testing? I was testing the gui out with Chris and he passed me a very heavy STL file to slice (20 minute slicing time) and the gui (which is still active during slicing) still only used 6-7% CPU usage. I was not connected to the printer at the time so that may be the cause of the CPU usage.

zbhujwala commented 6 years ago

During slicing of large STL files, I do sometime peak to 90% CPU usage, but only during slicing. Can anyone confirm any other high CPU usage outside of slicing?

ZBoylan commented 6 years ago

It's always running high for me. Wonder if it has to do with something inside of draw() which is always looping? Ran high for Steve as well.