watson / ipp-printer

An IPP printer written in Node.js
MIT License
555 stars 80 forks source link

Very slow on low cpu computers #26

Closed voxsoftware closed 5 years ago

voxsoftware commented 5 years ago

Very slow on low cpu computers. I have a virtual printer written using this module. In all my past test works good (with decent CPU computers), but after usage in real clients, report me very slow application. After some tests, i see that slow is in receive the job. I tested for example in Atom C2350, with notepad++ write a little test, and press CTRL+P, delays about 10 seconds in shows printer dialog, and later make click in print, delays about 20 seconds in receive file in nodejs code. If I delete the virtual printer, printer dialogs shows in 1 second, and all other printers don't delay more than 2 seconds in receive documents. I really can confirm that delay is only with printers created with this ipp-printer