refs #6218
[arvados.git] / sdk / python / tests / performance / test_a_sample.py
diff --git a/sdk/python/tests/performance/test_a_sample.py b/sdk/python/tests/performance/test_a_sample.py
new file mode 100644 (file)
index 0000000..dff0984
--- /dev/null
@@ -0,0 +1,15 @@
+import unittest
+
+from performance_profiler import profiled
+
+class PerformanceTestSample(unittest.TestCase):
+    def foo(self):
+        bar = 64
+
+    @profiled
+    def test_profiled_decorator(self):
+        j = 0
+        for i in range(0,2**20):
+            j += i
+        self.foo()
+        print 'Hello'