Commit 01084336 authored by Michael Niedermayer's avatar Michael Niedermayer

base64: add a benchmark for a pure syntax check.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ea4da948
...@@ -184,6 +184,12 @@ int main(void) ...@@ -184,6 +184,12 @@ int main(void)
STOP_TIMER("decode") STOP_TIMER("decode")
} }
for(i=0; i<10000; i++){
START_TIMER
av_base64_decode(NULL, out, 0);
STOP_TIMER("sytax check")
}
return error_count; return error_count;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment