mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-11-03 21:23:45 +00:00 
			
		
		
		
	This PR introduces a new `crates` directory and moves all "product" crates into that folder. Part of #2059.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			493 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			493 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env sh
 | 
						|
 | 
						|
###
 | 
						|
# Benchmark Ruff's performance against a variety of similar tools, suppressing output as much as
 | 
						|
# possible (so as to reduce I/O overhead).
 | 
						|
###
 | 
						|
 | 
						|
hyperfine --ignore-failure --warmup 5 \
 | 
						|
  "./target/release/ruff ./crates/ruff/resources/test/cpython/ --no-cache --silent" \
 | 
						|
  "pycodestyle ./crates/ruff/resources/test/cpython -qq" \
 | 
						|
  "flake8 ./crates/ruff/resources/test/cpython -qq" \
 | 
						|
  "pylint ./crates/ruff/resources/test/cpython -j 0  --recursive=y --disable=E,W,C,R"
 |