You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding many lines of gcode at once while a print is in progress, the printer stutters noticeably. For instance when sending 2000 lines, this takes about 220ms to process. With the current client behaviour of sending 500 lines each time, the printer does not stutter.
500 lines take about 55ms to process, so processing time seems to depend linearly on the amount of lines (about 1 msec per 9 lines).
We could have a look into this to find any bottlenecks and possibly make improvements there.
Creating a separate thread for printing to make it immune to other 'chores' would of course be an option, but might also add unnecessary complexity and risk of race condition bugs.
The text was updated successfully, but these errors were encountered:
When adding many lines of gcode at once while a print is in progress, the printer stutters noticeably. For instance when sending 2000 lines, this takes about 220ms to process. With the current client behaviour of sending 500 lines each time, the printer does not stutter.
500 lines take about 55ms to process, so processing time seems to depend linearly on the amount of lines (about 1 msec per 9 lines).
We could have a look into this to find any bottlenecks and possibly make improvements there.
Creating a separate thread for printing to make it immune to other 'chores' would of course be an option, but might also add unnecessary complexity and risk of race condition bugs.
The text was updated successfully, but these errors were encountered: