[FFmpeg-cvslog] random thoughts about refactoring

Michael Niedermayer michaelni
Mon Jan 11 05:27:28 CET 2010


On Sun, Jan 10, 2010 at 10:56:35PM +0000, Carl Eugen Hoyos wrote:
> compn <tempn <at> twmi.rr.com> writes:
> 
> > [16:28] <astrange>
> >
> http://github.com/astrange/ffmpeg/commit/4964d8dede05662da59becaacbb2f3f0c5462cdd oh,
> i
> > submitted this one with a slight speedup but didn't get a practical reply
> 
> http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/95145

> [PATCH] remove useless mov in cabac

from the thread:

863 dezicycles in get_cabac_noinline, 2097086 runs, 66 skips
843 dezicycles in get_cabac_noinline, 4194185 runs, 119 skips

After:
1299 dezicycles in get_cabac_noinline, 32764 runs, 4 skips
1073 dezicycles in get_cabac_noinline, 65529 runs, 7 skips
1025 dezicycles in get_cabac_noinline, 131061 runs, 11 skips
969 dezicycles in get_cabac_noinline, 262123 runs, 21 skips
923 dezicycles in get_cabac_noinline, 524253 runs, 35 skips
887 dezicycles in get_cabac_noinline, 1048508 runs, 68 skips
864 dezicycles in get_cabac_noinline, 2097015 runs, 137 skips
845 dezicycles in get_cabac_noinline, 4194074 runs, 230 skips

to me this looks like its slower

dezicycles is +2 and skips are alot more both indicate slowdown
does someone have different numbers? or maybe some idea on how
to make it actually faster?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20100111/78f77cab/attachment.pgp>



More information about the ffmpeg-cvslog mailing list