
Hi there, I did a little update to include more files. Now I have 26580 jpeg files distributed over 10 folders. I also tried to reduce the number of image memory allocation by reusing the same image over and over again. The new code can be found here: http://pastebin.com/B8R1MuCs I run each backend three times. Here are the results: IO2: 1. 30.975 sec 2. 29.894 sec 3. 25.595 sec io_new: 1. 33.086 sec 2. 28.223 sec 3. 28.867 sec So far, I have changed any code inside my backend ( io_new ). The next step is to profile. Regards, Christian On Tue, Dec 14, 2010 at 3:26 PM, Christian Henning <chhenning@gmail.com> wrote:
Hi there, I did a little performance test of io_new vs io2. The code is here. http://pastebin.com/eCeFZuMS
On my machine io_new runs in 1.15sec for 2658 jpegs. IO2 run in 1.005sec.
All jpegs are the same image but they are a different file. This way I'm sure I don't have to convert the image into a different color space. I did that since io2 doesn't support any_image, I believe.
Thanks, Christian