diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-03 20:25:01 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-03 20:31:18 +0100 |
commit | f2840c626d2eb712055ccb5dcbad25d040f17ce1 (patch) | |
tree | 15b771106a507fe284ab610bf0d141fa9255f4f2 /git/test/performance/test_utils.py | |
parent | 342a0276dbf11366ae91ce28dcceddc332c97eaf (diff) | |
download | gitpython-f2840c626d2eb712055ccb5dcbad25d040f17ce1.tar.gz |
Auto-skip performance tests more quietly on travis
... and be able to run performance tests independently of the chosen performance test repo
Now all tests run fine locally
Diffstat (limited to 'git/test/performance/test_utils.py')
-rw-r--r-- | git/test/performance/test_utils.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/git/test/performance/test_utils.py b/git/test/performance/test_utils.py index b0d6fa48..e7c33aa2 100644 --- a/git/test/performance/test_utils.py +++ b/git/test/performance/test_utils.py @@ -2,8 +2,6 @@ from time import time import sys -from gitdb.test.lib import skip_on_travis_ci - from lib import ( TestBigRepoR ) @@ -11,7 +9,6 @@ from lib import ( class TestUtilPerformance(TestBigRepoR): - @skip_on_travis_ci def test_access(self): # compare dict vs. slot access class Slotty(object): @@ -66,7 +63,6 @@ class TestUtilPerformance(TestBigRepoR): cls.__name__, na, elapsed, na / elapsed) # END for each sequence - @skip_on_travis_ci def test_instantiation(self): ni = 100000 max_num_items = 4 @@ -109,7 +105,6 @@ class TestUtilPerformance(TestBigRepoR): elapsed = time() - st print >> sys.stderr, "Created %i tuples tuple((1,2,3,4)) in %f s ( %f tuples / s)" % (ni, elapsed, ni / elapsed) - @skip_on_travis_ci def test_unpacking_vs_indexing(self): ni = 1000000 list_items = [1, 2, 3, 4] @@ -141,7 +136,6 @@ class TestUtilPerformance(TestBigRepoR): ni, type(sequence).__name__, len(sequence), elapsed, ni / elapsed) # END for each sequence - @skip_on_travis_ci def test_large_list_vs_iteration(self): # what costs more: alloc/realloc of lists, or the cpu strain of iterators ? def slow_iter(ni): @@ -166,7 +160,6 @@ class TestUtilPerformance(TestBigRepoR): print >> sys.stderr, "Iterated %i items from iterator in %f s ( %f acc / s)" % (ni, elapsed, ni / elapsed) # END for each number of iterations - @skip_on_travis_ci def test_type_vs_inst_class(self): class NewType(object): pass |