I noticed one unexpected of alteryx.
If I add some simple python code then any action in the workflow will be incredibly slow.
I have to wait 5 seconds to drag connectors or even if I want to move an icon to another place it can take few seconds.
I have no idea why it does slow down the whole workflow creation. It's not about running the workflow, it's about just dragging and dropping empty icons.
Any ideas to stop this slowdown?
It drives me crazy as it extends the creation time 4-5 times
Without python alteryx would be useless, so I can't remove python code.
Python operates in a virtual environment. This is always true of Python. Accessing the Python code requires booting/accessing this VM and installing the necessary packages.
The speed you are seeing is because Alteryx caches metadata to allow for actions and your workflow stream. Python is unexpected (ie Alteryx has no idea what is going on inside of the tool and how it affects your metadata) so any change there effects all the other tools disproportionately...
I understand that, but why it slows the whole process of creating workflow?
Even if I don't touch the python tool (I don't connect it) I will be extremely slow to put unconnected icon into workflow.
a few things. yes development with the python tool can slow things but it let's see if we can get this working a bit better:
1) one put your python tool in a macro. this should prevent it changing everything.
2) what are your system specs (ie how much ram do you have?)
3) how large is your python code - and how many packages do you install/use?
4) can you post a screen grab of your workflow? trying to understand the scopes involved and if any other tools may be causing lags.
It may also be helpful to add a select tool after the Python tool and "Cache and run" the workflow so that the logic doesn't need to execute again.
@gregx Not sure if you got this solved but was googling around and found the solution posted here. Made a massive difference for me.
User | Count |
---|---|
107 | |
82 | |
70 | |
54 | |
40 |