Rizin
unix-like reverse engineering framework and cli tools
test-lz4-speed.py File Reference

Go to the source code of this file.

Namespaces

 test-lz4-speed
 

Functions

def test-lz4-speed.hashfile (hasher, fname, blocksize=65536)
 
def test-lz4-speed.log (text)
 
def test-lz4-speed.execute (command, print_command=True, print_output=False, print_error=True, param_shell=True)
 
def test-lz4-speed.does_command_exist (command)
 
def test-lz4-speed.send_email (emails, topic, text, have_mutt, have_mail)
 
def test-lz4-speed.send_email_with_attachments (branch, commit, last_commit, args, text, results_files, logFileName, have_mutt, have_mail)
 
def test-lz4-speed.git_get_branches ()
 
def test-lz4-speed.git_get_changes (branch, commit, last_commit)
 
def test-lz4-speed.get_last_results (resultsFileName)
 
def test-lz4-speed.benchmark_and_compare (branch, commit, last_commit, args, executableName, md5sum, compilerVersion, resultsFileName, testFilePath, fileName, last_csize, last_cspeed, last_dspeed)
 
def test-lz4-speed.update_config_file (branch, commit)
 
def test-lz4-speed.double_check (branch, commit, args, executableName, md5sum, compilerVersion, resultsFileName, filePath, fileName)
 
def test-lz4-speed.test_commit (branch, commit, last_commit, args, testFilePaths, have_mutt, have_mail)
 

Variables

string test-lz4-speed.script_version = 'v1.7.2 (2016-11-08)'
 
string test-lz4-speed.default_repo_url = 'https://github.com/lz4/lz4.git'
 
string test-lz4-speed.working_dir_name = 'speedTest'
 
string test-lz4-speed.working_path = os.getcwd() + '/' + working_dir_name
 
string test-lz4-speed.clone_path = working_path + '/' + 'lz4'
 
string test-lz4-speed.email_header = 'lz4_speedTest'
 
 test-lz4-speed.pid = str(os.getpid())
 
bool test-lz4-speed.verbose = False
 
string test-lz4-speed.clang_version = "unknown"
 
string test-lz4-speed.gcc_version = "unknown"
 
 test-lz4-speed.args = None
 
 test-lz4-speed.parser = argparse.ArgumentParser()
 
 test-lz4-speed.help
 
 test-lz4-speed.default
 
 test-lz4-speed.type
 
 test-lz4-speed.float
 
 test-lz4-speed.int
 
 test-lz4-speed.dest
 
 test-lz4-speed.action
 
 test-lz4-speed.testFileNames = args.testFileNames.split()
 
list test-lz4-speed.testFilePaths = []
 
 test-lz4-speed.fileName = os.path.expanduser(fileName)
 
def test-lz4-speed.have_mutt = does_command_exist("mutt -h")
 
def test-lz4-speed.have_mail = does_command_exist("mail -V")
 
 test-lz4-speed.cwd
 
string test-lz4-speed.pidfile = "./speedTest.pid"
 
string test-lz4-speed.branch = ""
 
string test-lz4-speed.commit = ""
 
bool test-lz4-speed.first_time = True
 
 test-lz4-speed.loadavg = os.getloadavg()[0]
 
def test-lz4-speed.branches = git_get_branches()
 
def test-lz4-speed.last_commit = update_config_file(branch, commit)
 
 test-lz4-speed.stack = traceback.format_exc()
 
string test-lz4-speed.email_topic = '[%s:%s] ERROR in %s:%s' % (email_header, pid, branch, commit)