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?
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)
self._ flow.add(
self. _preworkflow,
self. _generatedata,
self. _operations,
self. _postworkflow)
# pyhton2 execute
self. _flow,
engine_ conf='parallel' ,
backend= {'connection' : self._store[ 'connection' ]},
store= self._store)
def execute(self):
result = engines.run(
# pyhton3 execute
self. _flow,
engine= 'parallel' ,
engine_ conf='parallel' ,
backend= {'connection' : self._store[ 'connection' ]},
store= self._store)
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?