Skip to content

Instantly share code, notes, and snippets.

@rustyrazorblade
Created April 21, 2014 17:11
Show Gist options
  • Save rustyrazorblade/11149141 to your computer and use it in GitHub Desktop.
Save rustyrazorblade/11149141 to your computer and use it in GitHub Desktop.
cqlengine profile
6177317 function calls (6105118 primitive calls) in 8.067 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.028 0.028 8.075 8.075 ctest.py:1(<module>)
10000 0.066 0.000 7.910 0.001 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/models.py:470(create)
10000 0.071 0.000 7.754 0.001 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/query.py:521(create)
10000 0.086 0.000 7.219 0.001 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/models.py:489(save)
10000 0.168 0.000 5.402 0.001 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/query.py:821(save)
10000 0.010 0.000 4.422 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/query.py:727(_execute)
10003 0.040 0.000 4.414 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/connection.py:242(execute)
10007 0.081 0.000 4.123 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/connection.py:215(execute)
10007 0.031 0.000 3.533 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cql/cursor.py:72(execute)
10007 0.024 0.000 2.963 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cql/thrifteries.py:72(get_response)
10007 0.011 0.000 2.925 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cql/thrifteries.py:94(handle_cql_execution_errors)
10007 0.019 0.000 2.914 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cql/cassandra/Cassandra.py:1775(execute_cql3_query)
10007 0.042 0.000 2.440 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cql/cassandra/Cassandra.py:1795(recv_execute_cql3_query)
10013 0.027 0.000 2.318 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/thrift/protocol/TBinaryProtocol.py:125(readMessageBegin)
30039 0.031 0.000 2.257 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/thrift/protocol/TBinaryProtocol.py:205(readI32)
60078/40052 0.089 0.000 2.241 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/thrift/transport/TTransport.py:54(readAll)
40052 0.047 0.000 2.187 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/thrift/transport/TTransport.py:266(read)
10013 0.043 0.000 2.115 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/thrift/transport/TTransport.py:274(readFrame)
20026 0.044 0.000 1.986 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/thrift/transport/TSocket.py:101(read)
20026 1.937 0.000 1.937 0.000 {method 'recv' of '_socket.socket' objects}
10000 0.045 0.000 0.922 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/models.py:418(validate)
110040/60002 0.283 0.000 0.807 0.000 /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py:145(deepcopy)
30000 0.039 0.000 0.700 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/columns.py:35(reset_previous_value)
20000 0.104 0.000 0.584 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/columns.py:386(validate)
160000 0.127 0.000 0.507 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/models.py:447(__len__)
10007 0.010 0.000 0.503 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cql/cursor.py:65(prepare_inline)
10007 0.015 0.000 0.493 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cql/query.py:62(prepare_inline)
40000 0.020 0.000 0.480 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cqlengine/columns.py:126(validate)
10007 0.116 0.000 0.478 0.000 /Users/jhaddad/.virtualenvs/tmp/lib/python2.7/site-packages/cql/query.py:32(replace_param_substitutions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment