##// END OF EJS Templates
don't perform costly 'difference_update' on dependencies...
don't perform costly 'difference_update' on dependencies Scheduler: set1.difference_update(set2) can be very slow if set2 is large, even if set1 is empty, so use faster set1 = set1.difference(set2), and don't perform any difference operation on empty dependencies. The result was a dramatic reduction in throughput after the scheduler has routed many thousands of tasks, even with no task dependencies.

File last commit:

r3673:b9f54806
r4141:6443bc1b
Show More
iplogger
20 lines | 654 B | text/plain | TextLexer
#!/usr/bin/env python
# encoding: utf-8
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2009 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.parallel.apps.iploggerapp import launch_new_instance
launch_new_instance()