projects
/
arvados.git
/ blob
b99ca64a3e8d959d87d783bdaf0052d0e9f21ac1
[arvados.git]
/
sdk
/
python
/
tests
/
performance
/
test_a_sample.py
1
from __future__ import print_function
2
from __future__ import absolute_import
3
import unittest
4
5
from .performance_profiler import profiled
6
7
class PerformanceTestSample(unittest.TestCase):
8
def foo(self):
9
bar = 64
10
11
@profiled
12
def test_profiled_decorator(self):
13
j = 0
14
for i in range(0,2**20):
15
j += i
16
self.foo()
17
print('Hello')