base64: add a benchmark for a pure syntax check.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									ea4da94895
								
							
						
					
					
						commit
						01084336b7
					
				@ -184,6 +184,12 @@ int main(void)
 | 
			
		||||
        STOP_TIMER("decode")
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    for(i=0; i<10000; i++){
 | 
			
		||||
        START_TIMER
 | 
			
		||||
        av_base64_decode(NULL, out, 0);
 | 
			
		||||
        STOP_TIMER("sytax check")
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return error_count;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user