clang-tools 19.0.0git
Functions | Variables
TidyFastChecks Namespace Reference

Functions

def read_old_fast (path)
 
def measure ()
 

Variables

int FAST_THRESHOLD = 8
 
int SLOW_THRESHOLD = 15
 
argparse parser = argparse.ArgumentParser()
 
 help
 
 default
 
 action
 
argparse args = parser.parse_args()
 
list old_fast = list(read_old_fast(args.target)) if os.path.exists(args.target) else []
 
 file
 
 buffering
 
int threshold = SLOW_THRESHOLD if check in old_fast else FAST_THRESHOLD
 
str decision = threshold else "SLOW"
 

Function Documentation

◆ measure()

def TidyFastChecks.measure ( )

Definition at line 67 of file TidyFastChecks.py.

◆ read_old_fast()

def TidyFastChecks.read_old_fast (   path)

Definition at line 47 of file TidyFastChecks.py.

Variable Documentation

◆ action

TidyFastChecks.action

Definition at line 43 of file TidyFastChecks.py.

◆ args

argparse TidyFastChecks.args = parser.parse_args()

Definition at line 44 of file TidyFastChecks.py.

◆ buffering

TidyFastChecks.buffering

Definition at line 92 of file TidyFastChecks.py.

◆ decision

str TidyFastChecks.decision = threshold else "SLOW"

Definition at line 109 of file TidyFastChecks.py.

◆ default

TidyFastChecks.default

Definition at line 32 of file TidyFastChecks.py.

◆ FAST_THRESHOLD

int TidyFastChecks.FAST_THRESHOLD = 8

Definition at line 24 of file TidyFastChecks.py.

◆ file

TidyFastChecks.file

Definition at line 63 of file TidyFastChecks.py.

◆ help

TidyFastChecks.help

Definition at line 30 of file TidyFastChecks.py.

◆ old_fast

list TidyFastChecks.old_fast = list(read_old_fast(args.target)) if os.path.exists(args.target) else []

Definition at line 62 of file TidyFastChecks.py.

◆ parser

argparse TidyFastChecks.parser = argparse.ArgumentParser()

Definition at line 27 of file TidyFastChecks.py.

◆ SLOW_THRESHOLD

int TidyFastChecks.SLOW_THRESHOLD = 15

Definition at line 25 of file TidyFastChecks.py.

◆ threshold

int TidyFastChecks.threshold = SLOW_THRESHOLD if check in old_fast else FAST_THRESHOLD

Definition at line 108 of file TidyFastChecks.py.