diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-08 00:32:33 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-08 00:32:33 +0200 |
commit | 5d996892ac76199886ba3e2754ff9c9fac2456d6 (patch) | |
tree | 01477d86a366e77e346150300efc505730a52010 /test | |
parent | 3e2ba9c2028f21d11988558f3557905d21e93808 (diff) | |
download | gitpython-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')
-rw-r--r-- | test/git/async/test_pool.py | 6 |
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 |