uujgii / web-to-print-scripts

Automatically exported from code.google.com/p/web-to-print-scripts
0 stars 0 forks source link

imageEditor.js gobbles up CPU #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The attached image shows the machine was busy. It was linked to imageEditor.js.

Need to test it with large and small number of images in the library. There may 
be some other reason. 

Original issue reported on code.google.com by zetapri...@gmail.com on 14 Oct 2010 at 10:53

Attachments:

GoogleCodeExporter commented 9 years ago
Test on realestate.zetaprints.com

Original comment by zetapri...@gmail.com on 19 Oct 2010 at 10:41

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 20 Oct 2010 at 7:17

GoogleCodeExporter commented 9 years ago
Hope I understood correctly...
Tried editing images in my library and monitored my CPU activity in the 
process. Pretty much got same results for both a large library and a empty 
library.
Image editor adds ~ 10% to my CPU usage while opening, closing or rotating a 
image.
Image editor adds ~ 20-30% to my CPU usage while cropping or saving a image.

Did not see anything like in the screenshot but, (in IE) I consider it usual to 
have a jumpy / scrambled / semi frozen window scroll when my image library is 
big. This happens until every single image on the page is loaded and I do see 
segmented scrolling before it does load all of them.

Scripts on realestate at the time of testing:
http://zetaprints.com/java/dev/20100707/imageEditor.js
http://zetaprints.com/java/dev/20100707/multiFileUpload.js
http://zetaprints.com/java/dev/20100707/fileUpload.js
http://zetaprints.com/java/dev/20100614/colorPicker.js

Original comment by agur...@gmail.com on 20 Oct 2010 at 12:54