Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Num Str NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Num BinOpLShift Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Num BinOpLShift Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Dict Str Dict Str Dict Str Str Num Num Dict Str Str Str Num NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Dict Str Dict Str Dict Str Str Num Num Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad Num NameLoad Str NameLoad Str Num Str NameLoad NameLoad Num NameLoad NameLoad Num Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A datetime N/A os.path N/A unittest N/A json N/A contextlib N/A types N/A collections N/A sys N/A StringIO N/A tempfile N/A time N/A copy N/A esbench.client ClientTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self tmp N/A sys stdout N/A N/A sys stdout N/A N/A StringIO StringIO N/A tearDown N/A N/A self N/A N/A N/A N/A sys stdout N/A self tmp N/A test_args_run N/A N/A self N/A N/A N/A parser N/A N/A N/A esbench client args_parser N/A args N/A N/A parser parse_args N/A N/A run split N/A N/A N/A self assertEqual N/A args __dict__ N/A verbose segments reps maxsize name no_load command observations data append config_file_path host port shards False None None 1mb N/A args name False run None None False N/A N/A N/A os path normpath N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ ../ config.json localhost 9200 None N/A N/A N/A self assertRaises SystemExit N/A parser parse_args N/A N/A run -h split N/A test_args_show N/A N/A self N/A N/A N/A parser N/A N/A N/A esbench client args_parser N/A args N/A N/A parser parse_args N/A N/A show split N/A N/A N/A self assertEqual N/A args __dict__ N/A command fields host port format verbose ids show (?!observation.segments.segments)((benchmark.meta.benchmark_start)|(observation.meta.benchmark_id)|(observation.meta.observation_id)|(observation.meta.observation_sequence_no)|(observation.segments.num_committed_segments)|(observation.segments.num_search_segments)|(observation.segments.t_optimize_in_millis)|(observation.stats.docs.count)|(observation.stats.store.size_in_bytes)|(observation.stats.fielddata.memory_size_in_bytes)|(observation.stats.search.groups.*query_time_in_millis_per_query$)) localhost 9200 csv False N/A all N/A N/A N/A self assertRaises SystemExit N/A parser parse_args N/A N/A show -h split N/A test_parse_maxsize N/A N/A self N/A N/A N/A N/A N/A self assertRaises AttributeError N/A N/A esbench client parse_maxsize N/A 10 N/A N/A N/A self assertEqual N/A 10 0 N/A N/A N/A esbench client parse_maxsize 10 N/A N/A N/A self assertEqual N/A 0 N/A 1 10 N/A N/A N/A esbench client parse_maxsize 1kb N/A N/A N/A self assertEqual N/A 0 N/A 1 20 N/A N/A N/A esbench client parse_maxsize 1mb N/A N/A TestConfig N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self tf N/A N/A tempfile NamedTemporaryFile N/A N/A self base_config N/A index config N/A settings N/A index N/A number_of_replicas number_of_shards 0 1 N/A observations segments reps 10 None 100 N/A N/A N/A N/A self tf write N/A N/A json dumps N/A self base_config N/A N/A N/A N/A self tf flush N/A N/A self maxDiff None N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self tf close N/A test_load_config N/A N/A self N/A N/A N/A c N/A N/A N/A esbench client load_config N/A N/A self tf name N/A N/A N/A self assertEqual c N/A self base_config N/A test_merge_config N/A N/A self N/A N/A N/A argv N/A N/A N/A N/A N/A esbench client args_parser parse_args N/A N/A run split N/A c N/A N/A N/A esbench client merge_config argv argv config N/A N/A copy deepcopy N/A self base_config N/A N/A N/A c N/A config N/A name None N/A N/A N/A c N/A config N/A config_file_path None N/A N/A N/A self assertEqual c N/A index config N/A settings N/A index N/A number_of_replicas number_of_shards 0 1 N/A verbose segments reps shards maxsize no_load command observations host config_file_path data port append name max_byte_size max_n False None 100 None 1mb False run 10 localhost None None 9200 False None 1048576 0 N/A argv N/A N/A N/A N/A N/A esbench client args_parser parse_args N/A N/A run --observations 100 --shards 2 100mb split N/A c N/A N/A N/A esbench client merge_config argv argv config N/A N/A copy deepcopy N/A self base_config N/A N/A N/A self assertEqual N/A N/A c N/A config N/A observations 100 N/A N/A N/A self assertEqual N/A N/A c N/A config N/A shards 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A c N/A index N/A settings N/A index N/A number_of_shards 2 N/A N/A N/A self assertEqual N/A N/A c N/A config N/A maxsize 100mb N/A N/A N/A self assertEqual N/A N/A c N/A config N/A max_byte_size 104857600 N/A N/A N/A self assertEqual N/A N/A c N/A config N/A max_n 0 N/A argv N/A N/A N/A N/A N/A esbench client args_parser parse_args N/A N/A run --observations 100 --no-load --shards 2 100 split N/A c N/A N/A N/A esbench client merge_config argv argv config N/A N/A copy deepcopy N/A self base_config N/A N/A N/A self assertEqual N/A N/A c N/A config N/A max_byte_size 0 N/A N/A N/A self assertEqual N/A N/A c N/A config N/A max_n 100 N/A N/A N/A self assertEqual N/A N/A c N/A config N/A no_load True N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main