OmniSciDB  ab4938a6a3
run_synthetic_benchmark Namespace Reference

Variables

 parser = ArgumentParser()
 
 required = parser.add_argument_group("required arguments")
 
 dest
 
 default
 
 help
 
 action
 
 args = parser.parse_args()
 
bool is_remote_server = True
 
 synthetic_table
 
tuple result_dir_name
 
string query_dir = "synthetic_benchmark/queries/"
 
 all_query_list = os.listdir(query_dir)
 
list benchmark_args = ["--user", args.user]
 
 refBench
 
 printer
 

Variable Documentation

◆ action

run_synthetic_benchmark.action

Definition at line 107 of file run_synthetic_benchmark.py.

◆ all_query_list

run_synthetic_benchmark.all_query_list = os.listdir(query_dir)

Definition at line 183 of file run_synthetic_benchmark.py.

◆ args

run_synthetic_benchmark.args = parser.parse_args()

Definition at line 120 of file run_synthetic_benchmark.py.

◆ benchmark_args

list run_synthetic_benchmark.benchmark_args = ["--user", args.user]

Definition at line 186 of file run_synthetic_benchmark.py.

◆ default

run_synthetic_benchmark.default

Definition at line 12 of file run_synthetic_benchmark.py.

◆ dest

run_synthetic_benchmark.dest

Definition at line 12 of file run_synthetic_benchmark.py.

◆ help

run_synthetic_benchmark.help

Definition at line 32 of file run_synthetic_benchmark.py.

◆ is_remote_server

bool run_synthetic_benchmark.is_remote_server = True

Definition at line 135 of file run_synthetic_benchmark.py.

◆ parser

run_synthetic_benchmark.parser = ArgumentParser()

Definition at line 10 of file run_synthetic_benchmark.py.

◆ printer

run_synthetic_benchmark.printer
Initial value:
1 = PrettyPrint(
2  refBench, None, args.attribute, False
3  ).printAttribute()

Definition at line 228 of file run_synthetic_benchmark.py.

◆ query_dir

string run_synthetic_benchmark.query_dir = "synthetic_benchmark/queries/"

Definition at line 181 of file run_synthetic_benchmark.py.

◆ refBench

run_synthetic_benchmark.refBench
Initial value:
1 = BenchmarkLoader(
2  result_dir_name, os.listdir(result_dir_name)
3  )

Definition at line 224 of file run_synthetic_benchmark.py.

◆ required

run_synthetic_benchmark.required = parser.add_argument_group("required arguments")

Definition at line 11 of file run_synthetic_benchmark.py.

◆ result_dir_name

tuple run_synthetic_benchmark.result_dir_name
Initial value:
1 = (
2  args.result_dir
3  + "/"
4  + args.label
5  + "/"
6  + args.gpu_label
7  + "/Benchmarks/"
8  )

Definition at line 167 of file run_synthetic_benchmark.py.

◆ synthetic_table

run_synthetic_benchmark.synthetic_table
Initial value:
1 = SyntheticTable(
2  table_name=args.table_name,
3  fragment_size=int(args.fragment_size),
4  num_fragments=int(args.num_fragments),
5  db_name=args.name,
6  db_user=args.user,
7  db_password=args.password,
8  db_server=args.server,
9  db_port=int(args.port),
10  data_dir_path=args.data_dir,
11  is_remote_server=is_remote_server,
12  )

Definition at line 140 of file run_synthetic_benchmark.py.