Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias identifier Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword ListLoad Call NameLoad keyword Str keyword Num keyword Num Call NameLoad keyword Str keyword Num keyword Num keyword ListLoad Num Num Num Num Call NameLoad keyword Str keyword Num keyword Num Call NameLoad keyword Str keyword Num keyword Num Call NameLoad keyword Str keyword Num keyword Num keyword ListLoad Num Num Num Num Call NameLoad keyword Str keyword Num keyword Num keyword Call NameLoad keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num keyword ListLoad Num Num Num Num keyword Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr AttributeLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Expr AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Expr AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Expr AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Expr AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr attr With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Num Assign NameStore ListComp ListLoad NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad TryFinally body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num NameLoad Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Yield Call NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Num Expr Yield Call NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Num decorator_list Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Lambda arguments args defaults ListLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults kwarg body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore BinOpAdd ListLoad ListLoad Call NameLoad keyword AttributeLoad NameLoad attr ListComp ListLoad Call NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword Str keyword ListLoad Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Str Str TryFinally body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Num finalbody Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults kwarg body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp ListLoad NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad TryFinally body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str ListLoad Str ListLoad Str Str Str Str Str Str Dict Str Str Str Str ListLoad Str ListLoad Str Str Str Str Str Str Dict Str Str Str Str ListLoad Str ListLoad Str Str Str Str Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore ListComp Dict Str Str NameLoad Num comprehension NameStore NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad NameLoad ListLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Str ListLoad Str With Call AttributeLoad NameLoad attr Str keyword NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Num SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A sys N/A textwrap N/A tempfile N/A StringIO unittest TestCase flexmock flexmock N/A mock N/A zmq.green zmq N/A msgpack N/A ssbench ssbench.master Master ssbench.run_results RunResults ssbench swift_client client ssbench.tests.test_scenario ScenarioFixture TestMaster N/A ScenarioFixture TestCase N/A N/A maxDiff None setUp N/A N/A self N/A N/A N/A N/A self scenario_dict N/A dict name Master Test Scenario - ablkei sizes N/A N/A dict name tiny size_min 99 size_max 100 N/A dict name small size_min 1990 size_max 1990 crud_profile N/A 71 9 12 8 N/A dict name medium size_min 2990 size_max 3000 N/A dict name unused size_min 9876543 size_max 9876543 N/A dict name large size_min 399000 size_max 400000 crud_profile N/A 16 61 7 16 N/A dict name huge size_min 49900000 size_max 71499999 initial_files N/A dict tiny 300 small 400 medium 500 large 200 huge 70 operation_count 5000 crud_profile N/A 5 3 1 1 user_count 2 N/A N/A N/A N/A super TestMaster self setUp N/A N/A self zmq_host slick.queue.com N/A N/A self zmq_work_port 7482 N/A N/A self zmq_results_port 18398 N/A N/A self work_endpoint N/A tcp://%s:%d N/A N/A self zmq_host N/A self zmq_work_port N/A N/A self results_endpoint N/A tcp://%s:%d N/A N/A self zmq_host N/A self zmq_results_port N/A N/A self mock_context N/A flexmock N/A N/A N/A N/A N/A flexmock N/A zmq Context new_instances N/A self mock_context once N/A N/A self mock_work_push N/A flexmock send N/A self _send N/A N/A N/A N/A N/A N/A N/A N/A N/A self mock_context should_receive socket with_args N/A zmq PUSH and_return N/A self mock_work_push once N/A N/A N/A N/A N/A N/A N/A self mock_work_push should_receive bind with_args N/A self work_endpoint once N/A N/A self mock_results_pull N/A flexmock recv N/A self _recv N/A N/A N/A N/A N/A N/A N/A N/A N/A self mock_context should_receive socket with_args N/A zmq PULL and_return N/A self mock_results_pull once N/A N/A N/A N/A N/A N/A N/A self mock_results_pull should_receive bind with_args N/A self results_endpoint once N/A N/A N/A N/A mock patch object N/A ssbench master is_ipv6 mock_is_ipv6 N/A N/A N/A mock_is_ipv6 return_value False N/A N/A self master N/A Master N/A self zmq_host N/A self zmq_work_port N/A self zmq_results_port connect_timeout 3.14159 network_timeout 2.71828 N/A N/A N/A mock_is_ipv6 assert_called_once_with N/A self zmq_host N/A N/A self _send_calls N/A N/A N/A self _recv_returns N/A N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A super TestMaster self tearDown N/A _send N/A N/A self data N/A N/A N/A N/A N/A N/A self _send_calls append data N/A _recv N/A N/A self N/A N/A N/A value N/A N/A N/A self _recv_returns pop 0 N/A value N/A assert_bench_output N/A N/A self output expected N/A N/A N/A expected_stderr         Benchmark Run:
          X    work job raised an exception
          .  <  1s first-byte-latency
          o  <  3s first-byte-latency
          O  < 10s first-byte-latency
          * >= 10s first-byte-latency
          _  <  1s last-byte-latency  (CREATE or UPDATE)
          |  <  3s last-byte-latency  (CREATE or UPDATE)
          ^  < 10s last-byte-latency  (CREATE or UPDATE)
          @ >= 10s last-byte-latency  (CREATE or UPDATE)
         N/A expected_stderr N/A N/A textwrap dedent expected_stderr N/A expected_stderr N/A expected N/A N/A N/A self assertEqual output expected_stderr N/A test_run_scenario_with_noop N/A N/A self N/A N/A N/A bench_jobs N/A list N/A N/A N/A self scenario bench_jobs N/A job_result N/A dict type type container container name john.smith first_byte_latency 0 N/A recvs N/A N/A job_result N/A _ N/A range N/A len bench_jobs N/A N/A self _recv_returns N/A map N/A msgpack dumps recvs N/A process_raw_results_calls N/A mock_process_raw_results N/A N/A raw_results N/A N/A N/A N/A N/A process_raw_results_calls append raw_results N/A N/A temp_file N/A N/A tempfile NamedTemporaryFile N/A mock_run_results N/A flexmock N/A RunResults N/A temp_file name N/A N/A N/A N/A N/A N/A N/A mock_run_results should_receive process_raw_results replace_with mock_process_raw_results times N/A len bench_jobs N/A ori_stderr N/A sys stderr N/A stderr N/A N/A StringIO StringIO N/A N/A sys stderr stderr N/A N/A N/A N/A N/A N/A self master run_scenario N/A self scenario auth_kwargs N/A noop True run_results mock_run_results N/A N/A N/A N/A sys stderr flush N/A N/A N/A sys stderr ori_stderr N/A parsed_calls N/A map N/A N/A N/A d N/A N/A N/A N/A msgpack loads d N/A 0 process_raw_results_calls N/A expected_results N/A N/A job_result N/A len bench_jobs N/A N/A N/A self assertEqual parsed_calls expected_results N/A test_run_scenario_only_doable_job_should_pass N/A N/A self N/A N/A not_doable_jobs N/A N/A N/A N/A N/A N/A N/A dict type N/A ssbench CREATE_OBJECT size_str small test_id 0 N/A N/A N/A dict type N/A ssbench READ_OBJECT size_str small test_id 1 N/A N/A N/A self scenario N/A flexmock N/A self scenario N/A N/A N/A N/A N/A N/A self scenario should_receive bench_jobs replace_with not_doable_jobs N/A N/A N/A N/A N/A N/A self scenario should_receive initial_jobs replace_with N/A N/A N/A N/A N/A N/A mock_client N/A flexmock client N/A N/A N/A mock_client should_receive head_container N/A bench_jobs N/A list N/A N/A N/A self scenario bench_jobs mock_result N/A N/A N/A kwargs N/A N/A job_result N/A dict type N/A ssbench READ_OBJECT size_str small container container name john.smith first_byte_latency 0 N/A N/A N/A job_result update kwargs N/A job_result N/A N/A recvs N/A N/A N/A N/A mock_result type N/A ssbench CREATE_OBJECT N/A N/A N/A mock_result N/A i N/A range N/A len bench_jobs N/A N/A self _recv_returns N/A map N/A msgpack dumps recvs N/A auth_kwargs N/A dict token MOCK_TOKEN storage_urls N/A http://127.0.0.1:8080/auth/v1.0 N/A orig_stderr N/A sys stderr N/A N/A sys stderr N/A open /dev/null wb N/A N/A N/A N/A N/A N/A self master run_scenario N/A self scenario auth_kwargs auth_kwargs run_results None batch_size 2 N/A N/A N/A sys stderr orig_stderr N/A sent_jobs N/A map N/A msgpack loads N/A self _send_calls N/A sent_jobs N/A sum sent_jobs N/A N/A N/A N/A self assertNotIn None sent_jobs N/A test_run_scenario_output N/A N/A self N/A N/A N/A N/A N/A self scenario operation_count 100 N/A bench_jobs N/A list N/A N/A N/A self scenario bench_jobs run_with_args N/A N/A N/A kwargs N/A N/A job_result N/A dict type type container container name john.smith N/A N/A N/A job_result update kwargs N/A recvs N/A N/A job_result N/A _ N/A range N/A len bench_jobs N/A N/A self _recv_returns N/A map N/A msgpack dumps recvs N/A ori_stderr N/A sys stderr N/A stderr N/A N/A StringIO StringIO N/A N/A sys stderr stderr N/A N/A N/A N/A N/A N/A self master run_scenario N/A self scenario auth_kwargs N/A noop True run_results None N/A N/A N/A N/A sys stderr flush N/A N/A N/A sys stderr ori_stderr N/A stderr_output N/A N/A stderr getvalue N/A stderr_output N/A N/A first_byte_0s N/A run_with_args first_byte_latency 0 N/A N/A N/A self assert_bench_output first_byte_0s N/A . N/A len bench_jobs N/A first_byte_lt3s N/A run_with_args first_byte_latency 2 N/A N/A N/A self assert_bench_output first_byte_lt3s N/A o N/A len bench_jobs N/A first_byte_lt10s N/A run_with_args first_byte_latency 8 N/A N/A N/A self assert_bench_output first_byte_lt10s N/A O N/A len bench_jobs N/A first_byte_ge10s N/A run_with_args first_byte_latency 12 N/A N/A N/A self assert_bench_output first_byte_ge10s N/A * N/A len bench_jobs N/A last_byte_0s N/A run_with_args last_byte_latency 0 N/A N/A N/A self assert_bench_output last_byte_0s N/A _ N/A len bench_jobs N/A last_byte_lt3s N/A run_with_args last_byte_latency 2 N/A N/A N/A self assert_bench_output last_byte_lt3s N/A | N/A len bench_jobs N/A last_byte_lt10s N/A run_with_args last_byte_latency 8 N/A N/A N/A self assert_bench_output last_byte_lt10s N/A ^ N/A len bench_jobs N/A last_byte_ge10s N/A run_with_args last_byte_latency 12 N/A N/A N/A self assert_bench_output last_byte_ge10s N/A @ N/A len bench_jobs N/A exception_output N/A run_with_args exception 1 N/A N/A N/A self assert_bench_output exception_output N/A X N/A len bench_jobs N/A test_cleanup_containers N/A N/A self N/A N/A N/A container_test_sets N/A N/A delete_containers other_containers base policy N/A ssbench_001_default_policy N/A foo bar ssbench_001_ec_policy ssbench_002_stuff ssbench default_policy N/A delete_containers other_containers base policy N/A ssbench_001_ec_policy N/A foo bar ssbench_001_default_policy ssbench_002_stuff ssbench ec_policy N/A delete_containers other_containers base policy N/A ssbench_002_stuff N/A foo bar ssbench_001_ec_policy ssbench_001_ec_policy ssbench stuff N/A test_input container_test_sets N/A N/A client N/A N/A mock Mock N/A policy N/A test_input N/A policy N/A base_name N/A test_input N/A base N/A delete_containers N/A test_input N/A delete_containers N/A other_containers N/A test_input N/A other_containers N/A all_containers N/A delete_containers other_containers N/A container_info N/A N/A name count container 0 N/A container all_containers N/A N/A N/A client get_account return_value N/A None container_info N/A N/A N/A client get_container return_value N/A None N/A N/A N/A N/A client http_connection return_value None N/A auth_args N/A token storage_urls auth_token N/A http://storageUrl N/A N/A N/A mock patch ssbench.master.client new client N/A N/A N/A N/A N/A self master cleanup_containers auth_args base_name 1 policy N/A expected_calls N/A N/A container delete_containers N/A N/A N/A N/A expected_calls append N/A N/A mock call N/A N/A auth_args N/A storage_urls N/A 0 N/A auth_args N/A token container http_conn None N/A N/A N/A N/A client delete_container assert_has_calls expected_calls any_order True N/A N/A