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
440d2d74
Commit
440d2d74
authored
May 12, 2015
by
davebshow
Browse files
adding profiler
parent
4d6693aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
profile.py
0 → 100644
View file @
440d2d74
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