Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Goblin OGM
AIO Gremlin
Commits
99c4ce9d
Commit
99c4ce9d
authored
May 12, 2015
by
davebshow
Browse files
added profiler
parent
1bdda00a
Changes
1
Hide whitespace changes
Inline
Side-by-side
profiler.py
0 → 100644
View file @
99c4ce9d
import
cProfile
import
asyncio
import
aiogremlin
loop
=
asyncio
.
get_event_loop
()
gc
=
aiogremlin
.
GremlinClient
(
loop
=
loop
)
execute
=
gc
.
execute
(
"x + x"
,
bindings
=
{
"x"
:
4
})
cProfile
.
run
(
'loop.run_until_complete(execute)'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment