14 lines
		
	
	
	
		
			216 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			216 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| test_description="Tests performance of reading the index"
 | |
| 
 | |
| . ./perf-lib.sh
 | |
| 
 | |
| test_perf_default_repo
 | |
| 
 | |
| count=1000
 | |
| test_perf "read_cache/discard_cache $count times" "
 | |
| 	test-tool read-cache $count
 | |
| "
 | |
| 
 | |
| test_done
 |