Parallel engine is slow with taskflow version upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskflow |
New
|
Undecided
|
Unassigned |
Bug Description
We are facing slowness executing workload with parallel engine with python3.
The workflow is similar to:
```class ParallelWorkflow:
def initflow(self):
self._flow = lf.Flow(self.name)
# pyhton2 execute
def execute(self):
result = engines.run(
# pyhton3 execute
def execute(self):
result = engines.run(
```
With python2.7, taskflow version is: 0.1.4.dev51 and with python3.6, it's 4.4.0
We found significant time difference (5 times more with py3) in execution of the workflow with the versions.
It was running with default engine however we got some optimization after passing engine to engines.run (see: execute def)
The application uses Eventlet. Adding executor is not very helpful. Still not optimized enough.
Could you please guide how can we achieve expected performance here? Or are we missing anything?