Module Assign NameStore Str Import alias Import alias ImportFrom alias ImportFrom alias Import alias Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr ListComp Call NameLoad Str keyword BinOpAdd Str Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListComp NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num FunctionDef arguments args defaults body For NameStore Call NameLoad Call NameLoad BinOpDiv NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Num BinOpSub Call NameLoad AttributeLoad NameLoad attr Num decorator_list Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad BinOpDiv NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Num BinOpSub Call NameLoad AttributeLoad NameLoad attr Num decorator_list Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num For TupleStore NameStore NameStore AttributeLoad AttributeLoad NameLoad attr attr body Print NameLoad BinOpSub NameLoad NameLoad Assign NameStore NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad Dict Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list
N/A N/A __author__ Michael Meisinger N/A gevent N/A random pyon.datastore.datastore DatastoreManager pyon.public IonObject N/A ooi.timer N/A 
from prototype.couch.couch_concurrent import runcc
runcc(dict(num_obj=100000, num_read=2000, num_thread=3))
 CouchConcurrencyEval N/A object N/A __init__ N/A N/A self N/A N/A pyon.core.bootstrap container_instance N/A N/A self container container_instance N/A N/A self rr N/A N/A self container resource_registry N/A N/A self rr_store N/A N/A DatastoreManager get_datastore_instance resources N/A N/A self timer N/A N/A N/A ooi timer Timer N/A prepare_scenario1 N/A N/A self nums N/A N/A N/A num_objects N/A N/A nums get num_obj 10000 N/A N/A self res_objs N/A N/A IonObject InstrumentDevice name N/A resource_ N/A str i N/A i N/A xrange num_objects N/A res N/A N/A N/A self rr_store create_mult N/A self res_objs N/A N/A self res_ids N/A res_id N/A N/A _ res_id _ res N/A N/A N/A N/A self timer complete_step create N/A N/A N/A N/A self rr_store read_doc N/A N/A self res_ids N/A 0 N/A N/A N/A N/A self timer complete_step prep_done N/A run_cceval1 N/A N/A self nums N/A N/A N/A num_read N/A N/A nums get num_read 2000 N/A num_thread N/A N/A nums get num_thread 5 _proc N/A N/A N/A N/A N/A i N/A xrange N/A int N/A num_read num_thread N/A N/A res_obj N/A N/A N/A self rr read N/A N/A self res_ids N/A N/A N/A random randint 0 N/A N/A len N/A self res_ids 1 N/A N/A gls N/A N/A N/A gevent spawn _proc N/A i N/A xrange num_thread N/A N/A N/A gevent joinall gls N/A N/A N/A N/A self timer complete_step read_conc_same_n _proc N/A N/A N/A N/A N/A rr_store N/A N/A DatastoreManager get_datastore_instance resources N/A i N/A xrange N/A int N/A num_read num_thread N/A N/A res_obj N/A N/A rr_store read N/A N/A self res_ids N/A N/A N/A random randint 0 N/A N/A len N/A self res_ids 1 N/A N/A gls N/A N/A N/A gevent spawn _proc N/A i N/A xrange num_thread N/A N/A N/A gevent joinall gls N/A N/A N/A N/A self timer complete_step read_conc2_same_n N/A N/A N/A N/A self timer complete_step end N/A print_timers N/A N/A self N/A N/A N/A prior_t 0 N/A N/A l t N/A N/A self timer times N/A N/A l N/A t prior_t N/A prior_t t N/A N/A runcc N/A N/A nums N/A None N/A N/A nums N/A N/A nums None nums N/A N/A cce N/A CouchConcurrencyEval N/A N/A N/A cce prepare_scenario1 nums N/A N/A N/A cce run_cceval1 nums N/A N/A N/A cce print_timers N/A