# performance on dandelion # read 2.6% # decode 30%, 2598800 bytes takes 1.78 seconds # show 13% all: stv680-read stv680-decode stv680-show stv680-read: stv680-read.c gcc stv680-read.c -o stv680-read -O2 -lusb -Wall stv680-decode: stv680-decode.c Makefile gcc stv680-decode.c -o stv680-decode -O3 -Wall -g -march=pentium-mmx -fomit-frame-pointer gcc stv680-decode.c -S -o stv680-decode.S -O3 -Wall -g -march=pentium-mmx -fomit-frame-pointer stv680-show: stv680-show.c gcc stv680-show.c -o stv680-show -O2 -lSDL -Wall test: # sh -c "echo 64f5393af55ba3ae3891c9bc179810cc -; ./stv680-decode < stv.raw |md5sum; time ./stv680-decode-reference < stv.raw > /dev/null ; time ./stv680-decode < stv.raw > /dev/null" sh -c "echo a96505a40324492e873417ffb5ae3c2a; ./stv680-decode < stv4.raw |md5sum; time ./stv680-decode-reference < stv4.raw > /dev/null ; time ./stv680-decode < stv4.raw > /dev/null"