From 99c4ce9df1aa087b885e712973f45f19d7789f1a Mon Sep 17 00:00:00 2001
From: davebshow <davebshow@gmail.com>
Date: Tue, 12 May 2015 18:46:44 -0400
Subject: [PATCH] added profiler

---
 profiler.py | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 profiler.py

diff --git a/profiler.py b/profiler.py
new file mode 100644
index 0000000..2559772
--- /dev/null
+++ b/profiler.py
@@ -0,0 +1,9 @@
+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)')
-- 
GitLab