Using python 3.6.7 - it takes 0.8 seconds to start a python code with 1 line of code:
import dask.dataframe as dd
How to speed up importing this module? Should I compile or run it with pypy (if yes - what is the process?)
Thanks.
Using python 3.6.7 - it takes 0.8 seconds to start a python code with 1 line of code:
import dask.dataframe as dd
How to speed up importing this module? Should I compile or run it with pypy (if yes - what is the process?)
Thanks.
First of all, what were your results when you ran it with pypy? I suggest using PyOxidizer to produce the executable, just like this post suggests. Also, a pretty neat solution is to have your imports in a server program and the rest in a client, just like this user mentions.
Finally, have you checked the official wiki on Performance Tips?