ef3f8d221a5afefb01d655448ce7e3f537399810,src/python/pants/engine/exp/engine.py,LocalMultiprocessEngine,__init__,#LocalMultiprocessEngine#Any#Any#Any#,372

Before Change


    :param bool debug: `True` to turn on pickling error debug mode (slower); false by default.
    
    super(LocalMultiprocessEngine, self).__init__(local_scheduler)
    self._pool_size = pool_size if pool_size and pool_size > 0 else multiprocessing.cpu_count()
    self._pool = multiprocessing.Pool(self._pool_size)
    self._debug = debug

  class Executor(FailSlowHelper):

After Change


                       TODO: disable by default, and enable in the pantsbuild/pants repo.
    
    super(LocalMultiprocessEngine, self).__init__(scheduler)
    self._pool_size = pool_size if pool_size and pool_size > 0 else 2 * multiprocessing.cpu_count()
    self._pool = multiprocessing.Pool(self._pool_size)
    self._debug = debug

  class Executor(object):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: ef3f8d221a5afefb01d655448ce7e3f537399810
Time: 2016-01-26
Author: stuhood@gmail.com
File Name: src/python/pants/engine/exp/engine.py
Class Name: LocalMultiprocessEngine
Method Name: __init__


Project Name: RaRe-Technologies/gensim
Commit Name: 5855af556fd0eaafb68a0988d63bf1631999a8d7
Time: 2014-09-12
Author: ziky90@gmail.com
File Name: gensim/models/ldamodelmulticore.py
Class Name: LdaModelMulticore
Method Name: __init__


Project Name: pyannote/pyannote-audio
Commit Name: 22ebf9884f9fe6fe25a4bdf0d916ab0540ed61cb
Time: 2019-12-20
Author: bredin@limsi.fr
File Name: pyannote/audio/applications/pyannote_audio.py
Class Name:
Method Name: main


Project Name: RaRe-Technologies/gensim
Commit Name: 2bb8e1dfeadfef943c888f7e4e735fd161535475
Time: 2017-11-06
Author: horpto@users.noreply.github.com
File Name: gensim/test/test_coherencemodel.py
Class Name: TestCoherenceModel
Method Name: testProcesses


Project Name: metagenome-atlas/atlas
Commit Name: a32215e7ee3d1d123b522a4b4dc4dff17df910d6
Time: 2016-08-17
Author: seanmcolby@gmail.com
File Name: das_pipeline_v002.py
Class Name:
Method Name: fragGeneScanPlus