[MPlayer-users] does debug compile affect performance?

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Mon Sep 8 21:11:20 CEST 2003


On Mon, 8 Sep 2003, D Richard Felker III wrote:

DRFI>> Well, I don't think I looked at RSS, but I can tell you for sure that
DRFI>> even multimedia programs or games that use all free cpu time run with no
DRFI>> slowdown at all when compiled with -g; I tested this several times.
DRFI>> Never checked mplayer, though, but results should be the same. But I
DRFI>> don't know how exactly MP_DEBUG and -DDEBUG will affect preformance,
DRFI>> there may be a reason in testing that...
DRFI>
DRFI>If RSS is bigger, it affects performance by making your system swap!!!

Yeah.. But, I doubt it will be significantly bigger.

OK, I'll recompile mplayer right now with -g3 and without -g and tell
the results - how rss will change and how speed of encoding will
(although I don't expect it to differ).
Maybe I'll even test effect of -DDEBUG to end with this question once
and for all.

-- 

Vladimir



More information about the MPlayer-users mailing list