summaryrefslogtreecommitdiff
path: root/test/git
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-08 00:32:33 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-08 00:32:33 +0200
commit5d996892ac76199886ba3e2754ff9c9fac2456d6 (patch)
tree01477d86a366e77e346150300efc505730a52010 /test/git
parent3e2ba9c2028f21d11988558f3557905d21e93808 (diff)
downloadgitpython-5d996892ac76199886ba3e2754ff9c9fac2456d6.tar.gz
test implementation of async-queue with everything stripped from it that didn't seem necessary - its a failure, something is wrong - performance not much better than the original one, its depending on the condition performance actually, which I don't get faster
Diffstat (limited to 'test/git')
-rw-r--r--test/git/async/test_pool.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/git/async/test_pool.py b/test/git/async/test_pool.py
index 29c13188..0d779f39 100644
--- a/test/git/async/test_pool.py
+++ b/test/git/async/test_pool.py
@@ -61,6 +61,12 @@ class TestThreadPool(TestBase):
max_threads = cpu_count()
+ def _add_triple_task(self, p):
+ """Add a triplet of feeder, transformer and finalizer to the pool, like
+ t1 -> t2 -> t3, return all 3 return channels in order"""
+ t1 = TestThreadTaskNode(make_iter(), 'iterator', None)
+ # TODO:
+
def _assert_single_task(self, p, async=False):
"""Performs testing in a synchronized environment"""
null_tasks = p.num_tasks() # in case we had some before