projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
8005: Add tar Ruby build dependency on CentOS 6.
[arvados.git]
/
sdk
/
python
/
tests
/
performance
/
test_a_sample.py
1
import unittest
2
3
from performance_profiler import profiled
4
5
class PerformanceTestSample(unittest.TestCase):
6
def foo(self):
7
bar = 64
8
9
@profiled
10
def test_profiled_decorator(self):
11
j = 0
12
for i in range(0,2**20):
13
j += i
14
self.foo()
15
print 'Hello'