[MPlayer-advusers] slow down with menu off

Adam Sulmicki adam at cfar.umd.edu
Tue Jan 2 23:46:30 CET 2007


hello folks,
 	I finally managed to get mplayer+profile working.

 	can someone knowlegable take a look and see what's going on?

 	basically no menus, or menus shown is fast.

 	however, menus enabled, but not displayed is slow.

here are numbers and gprof info:

no-m BENCHMARKs: VC:   1.315s VO:   0.345s A:   0.000s Sys:   0.033s =1.693s
no-m BENCHMARK%: VC: 77.6381% VO: 20.3899% A:  0.0000% Sys:  1.9720% =100.0%

m-s   BENCHMARKs: VC:   1.330s VO:   1.021s A:   0.000s Sys:   0.033s =2.384s
m-s   BENCHMARK%: VC: 55.7768% VO: 42.8464% A:  0.0000% Sys:  1.3769% =100.0%

m     BENCHMARKs: VC:   1.311s VO:   5.568s A:   0.000s Sys:   0.033s =6.913s
       BENCHMARK%: VC: 18.9645% VO: 80.5551% A:  0.0000% Sys:  0.4805% =100.0%

m-s-e BENCHMARKs: VC:   1.324s VO:   4.348s A:   0.000s Sys:   0.034s =5.706s
m-s-e BENCHMARK%: VC: 23.2081% VO: 76.2028% A:  0.0000% Sys:  0.5891% =100.0%

m = -menu
s = -menu-startup
e = press esc, as soon as menu appears.

* no menu
  time   seconds   seconds    calls  ms/call  ms/call  name
  25.47      0.27     0.27      100     2.70     2.70  yv12toyuy2_MMX
  14.15      0.42     0.15   118266     0.00     0.00  put_pixels16_mmx

* menu + menu-startup
  time   seconds   seconds    calls   s/call   s/call  name
  39.02      0.64     0.64     3400     0.00     0.00  vo_draw_alpha_yuy2
  10.37      0.81     0.17   118266     0.00     0.00  put_pixels16_mmx
  10.37      0.98     0.17      100     0.00     0.00  yv12toyuy2_MMX

* menu enabled, but not shown
  time   seconds   seconds    calls   s/call   s/call  name
  79.96      4.35     4.35      100     0.04     0.04  mem2agpcpy
   5.33      4.64     0.29      100     0.00     0.00  yv12toyuy2_MMX
   2.02      4.75     0.11   118266     0.00     0.00  put_pixels16_mmx

* menu enabled, shown on startup, press ESC as soon as possible.
  time   seconds   seconds    calls   s/call   s/call  name
  71.05      3.19     3.19       73     0.04     0.04  mem2agpcpy
   5.35      3.43     0.24      100     0.00     0.00  yv12toyuy2_MMX
   4.45      3.63     0.20      918     0.00     0.00  vo_draw_alpha_yuy2

 	full details at :

http://www.missl.cs.umd.edu/~adam/mp/gprof/


ideas?

-- 
Adam Sulmicki
http://www.eax.com 	The Supreme Headquarters of the 32 bit registers



More information about the MPlayer-advusers mailing list