base64: add a benchmark for a pure syntax check.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user