[Digikam-devel] [Bug 213001] scrolling when under-exposure indicator

Andi Clemens andi.clemens at gmx.net
Wed Nov 4 11:35:38 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=213001





--- Comment #2 from Andi Clemens <andi clemens gmx net>  2009-11-04 12:35:36 ---
Still displaying operations in digiKam are very slow, and the bottleneck in
most cases is DImgScale::dimgScaleAARGB().
As far as I can see with OProfile (a much better profiler then valgrind +
callgrind, no system slowdowns and a system wide profiling), pureColorMask()
can not be optimized anymore.
So we need to make dimgScaleAARGB() faster (but I don't understand this 
algorithm right now).


samples  %        image name               app name                 symbol name
56319    31.2541  no-vmlinux               no-vmlinux               /no-vmlinux
32226    17.8838  libdigikamcore.so.1.0.0  libdigikamcore.so.1.0.0 
Digikam::DImgScale::dimgScaleAARGB(Digikam::DImgScale::__dimg_scale_info*,
unsigned int*, int, int, int, int, int, int, int, int)
25042    13.8970  libQtGui.so.4.5.3        libQtGui.so.4.5.3       
/usr/lib/libQtGui.so.4.5.3
15489     8.5956  nvidia_drv.so            nvidia_drv.so           
/usr/lib/xorg/modules/drivers/nvidia_drv.so
13449     7.4635  libdigikamcore.so.1.0.0  libdigikamcore.so.1.0.0 
Digikam::DImg::pureColorMask(Digikam::ExposureSettingsContainer*)
8897      4.9374  libdigikamcore.so.1.0.0  libdigikamcore.so.1.0.0 
Digikam::DImg::bitBlt(unsigned char const*, unsigned char*, int, int, int, int,
int, int, unsigned int, unsigned int, unsigned int, unsigned int, bool, int,
int)
5542      3.0755  libGLcore.so.190.42      libGLcore.so.190.42     
/usr/lib/libGLcore.so.190.42
3404      1.8890  Xorg                     Xorg                    
/usr/bin/Xorg
2591      1.4379  anon (tgid:16625 range:0xb3e9f000-0xb473f000) eclipse        
         anon (tgid:16625 range:0xb3e9f000-0xb473f000)
1547      0.8585  libQtCore.so.4.5.3       libQtCore.so.4.5.3      
/usr/lib/libQtCore.so.4.5.3
949       0.5266  libc-2.10.1.so           libc-2.10.1.so           _int_malloc
633       0.3513  libpthread-2.10.1.so     libpthread-2.10.1.so    
pthread_mutex_lock
554       0.3074  libpthread-2.10.1.so     libpthread-2.10.1.so    
__pthread_mutex_unlock_usercnt
529       0.2936  libc-2.10.1.so           libc-2.10.1.so           malloc
519       0.2880  oprofiled                oprofiled               
/usr/bin/oprofiled
471       0.2614  libpixman-1.so.0.16.2    libpixman-1.so.0.16.2   
pixman_rasterize_edges_accessors
397       0.2203  libc-2.10.1.so           libc-2.10.1.so           free
368       0.2042  [vdso] (tgid:9156 range:0xb7788000-0xb7789000) Xorg          
          [vdso] (tgid:9156 range:0xb7788000-0xb7789000)
327       0.1815  libc-2.10.1.so           libc-2.10.1.so           strcmp
314       0.1743  librt-2.10.1.so          librt-2.10.1.so         
clock_gettime
312       0.1731  libc-2.10.1.so           libc-2.10.1.so           _int_free
281       0.1559  libc-2.10.1.so           libc-2.10.1.so           memmove
276       0.1532  libc-2.10.1.so           libc-2.10.1.so           memcpy
264       0.1465  libc-2.10.1.so           libc-2.10.1.so           memset
209       0.1160  libglib-2.0.so.0.2200.2  libglib-2.0.so.0.2200.2 
g_main_context_check
183       0.1016  libjvm.so                libjvm.so               
SymbolTable::lookup(int, char const*, int, unsigned int)
172       0.0955  libdigikamcore.so.1.0.0  libdigikamcore.so.1.0.0 
Digikam::DImgScale::dimgCalcApoints(int, int, int)
151       0.0838  libglib-2.0.so.0.2200.2  libglib-2.0.so.0.2200.2 
g_main_context_prepare
146       0.0810  libc-2.10.1.so           libc-2.10.1.so          
__i686.get_pc_thunk.bx
146       0.0810  libc-2.10.1.so           libc-2.10.1.so          
malloc_consolidate
145       0.0805  libc-2.10.1.so           libc-2.10.1.so          
pthread_mutex_lock
141       0.0782  libc-2.10.1.so           libc-2.10.1.so          
pthread_mutex_unlock
133       0.0738  bash                     bash                     /bin/bash
124       0.0688  libglib-2.0.so.0.2200.2  libglib-2.0.so.0.2200.2 
g_main_context_iterate
114       0.0633  libjvm.so                libjvm.so               
instanceKlass::oop_oop_iterate_nv(oopDesc*, FastScanClosure*)
106       0.0588  [vdso] (tgid:9321 range:0xb773a000-0xb773b000) kwin          
          [vdso] (tgid:9321 range:0xb773a000-0xb773b000)
95        0.0527  libdigikamcore.so.1.0.0  libdigikamcore.so.1.0.0 
Digikam::DImgScale::dimgCalcYPoints(unsigned int*, int, int, int)
91        0.0505  libglib-2.0.so.0.2200.2  libglib-2.0.so.0.2200.2 
g_main_context_dispatch
89        0.0494  libjvm.so                libjvm.so               
jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*,
JNI_ArgumentPusher*, Thread*)
85        0.0472  libpthread-2.10.1.so     libpthread-2.10.1.so    
__i686.get_pc_thunk.bx
84        0.0466  libjvm.so                libjvm.so               
Runtime1::primitive_arraycopy(HeapWord*, HeapWord*, int)
76        0.0422  libc-2.10.1.so           libc-2.10.1.so           mbrtowc
76        0.0422  libc-2.10.1.so           libc-2.10.1.so           strlen
74        0.0411  libc-2.10.1.so           libc-2.10.1.so           strcspn
74        0.0411  libjvm.so                libjvm.so               
DefNewGeneration::copy_to_survivor_space(oopDesc*)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list