المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : gdiplus jpeg encodng performance?



C# Programming
02-04-2010, 03:00 PM
if i have placed this post in wrong board then please feel free to move it.

so..can anyone tell me why gdiplus is more then twice as slow in encoding jpeg images on windows xp compared to windows 7?

i need a fast jpeg encoding and gdiplus is fine as long as i use windows 7 but on windows xp its to slow for what i need, so currently im using Blackfin Fast JPEG Encoding (http://blog.frankvh.com/2009/06/09/blackfin-fast-jpeg-encoding/) on windows xp but its still around 40% slower then gdi+ on windows 7.


Encoding 100 images of size 1980 x 1080 on my machine:

GDI+ windows 7: 3000 to 3500 millseconds (extremly fast!)
GDI+ windows XP: ~8000 millisecs (too slow)
Blackfin Fast JPEG: around 5000 ms on any OS

any suggestions how to improve the speed of gdi+ on XP?