SND@LHC Software
|
Variables | |
log_file = logging.FileHandler(filename='benchmarking_dummydata.log', mode='a', encoding='utf-8') | |
fmt = logging.Formatter() | |
logger = logging.Logger(name='benchmarking', level=logging.INFO) | |
msg | |
factory = APIFactory() | |
cdb_api = factory.construct_DB_API("conditionsDatabase/tests/test_mongodb/test_mongodb_config.yml") | |
wall_time_start = time.time() | |
cpu_time_start = time.clock() | |
wall_time_end = time.time() | |
cpu_time_end = time.clock() | |
list | group_detector_parent = [] |
detector_name = detector_and_parent[0] | |
detector_parent = detector_and_parent[1] | |
dict | values = {"T853_MA_853": [814, 973, 65]} |
str | reconstructed_detector_id = "" |
daniel = dummydata_generator.create_big_daniel() | |
This module benchmarks some of the CDB API functions.
conditionsDatabase.tests.benchmark_api.cdb_api = factory.construct_DB_API("conditionsDatabase/tests/test_mongodb/test_mongodb_config.yml") |
Definition at line 23 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.cpu_time_end = time.clock() |
Definition at line 32 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.cpu_time_start = time.clock() |
Definition at line 27 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.daniel = dummydata_generator.create_big_daniel() |
Definition at line 89 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.detector_name = detector_and_parent[0] |
Definition at line 69 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.detector_parent = detector_and_parent[1] |
Definition at line 70 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.factory = APIFactory() |
Definition at line 22 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.fmt = logging.Formatter() |
Definition at line 12 of file benchmark_api.py.
list conditionsDatabase.tests.benchmark_api.group_detector_parent = [] |
Definition at line 62 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.log_file = logging.FileHandler(filename='benchmarking_dummydata.log', mode='a', encoding='utf-8') |
Definition at line 11 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.logger = logging.Logger(name='benchmarking', level=logging.INFO) |
Definition at line 14 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.msg |
Definition at line 16 of file benchmark_api.py.
str conditionsDatabase.tests.benchmark_api.reconstructed_detector_id = "" |
Definition at line 74 of file benchmark_api.py.
dict conditionsDatabase.tests.benchmark_api.values = {"T853_MA_853": [814, 973, 65]} |
Definition at line 72 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.wall_time_end = time.time() |
Definition at line 31 of file benchmark_api.py.
conditionsDatabase.tests.benchmark_api.wall_time_start = time.time() |
Definition at line 26 of file benchmark_api.py.