Personally I want speed in a GUI application. So I always use pyqtgraph, even sometime modifying the pyqtgraph source in order to have what I need. It is well written, so modifying it is easy. If a calculation is slowing me down I can transform it in a Fortran or C code and use ctypes to link it to Python.
Il Mer 12 Ott 2022, 23:36 Martin Chase <[email protected]> ha scritto: > Heya, > > There isn't any performance difference between QThreads and python > Threads; that's mostly a difference of how you want to integrate with Qt > (QThreads fit into the rest of the Qt lifecycle better). Otherwise, the > question that I ask to determine thread v. multiprocess is: will my worker > mostly be sitting around waiting? If that's the case (e.g. waiting on i/o), > then using a thread is great. Otherwise, if the worker needs to do a bunch > of heavy work before the data is ready to display (e.g. it's the output of > a difficult analysis), put that work on a different core. > > Only matplotlib is as good at plotting as matplotlib; it's the best python > plotting library. If that's your minimum bar, I agree that you'll be > writing everything yourself from scratch. PyQtGraph is built for > performance, though, so you're going to need the best of both libraries if > that's your use-case. > > Good luck, > - Martin > > -- > You received this message because you are subscribed to the Google Groups > "pyqtgraph" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyqtgraph/CAD_p8v3668bj82zYmWi%2Bns_DfHK4JHAbwvb8oSmitU-RkArFpA%40mail.gmail.com > <https://groups.google.com/d/msgid/pyqtgraph/CAD_p8v3668bj82zYmWi%2Bns_DfHK4JHAbwvb8oSmitU-RkArFpA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/CACwj3kUb7toyty5sAE4vP6mV3YsRxQ%2BjGMxRh-hecLFvy9w2DA%40mail.gmail.com.
