node-imager icon indicating copy to clipboard operation
node-imager copied to clipboard

Performance of upload function

Open jensiepoo opened this issue 12 years ago • 2 comments

When my program executes to the upload function, it always uploads the first few files, and the entire program gets stuck somewhere. Usually, I have to stop the program, re-run a couple times, before the upload function starts to work again. It seems like theres a peak of the upload function that once my program hops over that peak, the upload function executes perfectly. However, if it doesn't jump over that peak, the program gets stuck. Has this happened to anyone?

jensiepoo avatar Aug 09 '13 20:08 jensiepoo

Yeah, sometimes I've noticed performance issues as well. It's only after I upload a few files. I'm gonna try to track it down, but it seems like some variables aren't getting emptied after a successful upload.

pruhstal avatar Jan 21 '14 19:01 pruhstal

I re-wrote the whole library using generators and graphicsmagick-stream. Made a pre-release https://github.com/imagerjs/imager/releases/tag/1.0.0-alpha1 feel free to try it out and give feedback. Thanks!

madhums avatar Sep 22 '14 16:09 madhums