mseaberg / Commissioning_Tools

0 stars 0 forks source link

Try to profile the code to see what eats up CPU/takes the most time #71

Open mseaberg opened 3 years ago

mseaberg commented 3 years ago

It would be nice to see if there is a way to make this lighter weight, might not be possible, but worth looking into.

mseaberg commented 3 years ago

Implemented QTimer in timer branch, would make it easy to adjust the repetition rate if I added a control on the GUI.

mseaberg commented 3 years ago

Doesn't seem like there's anything obvious to make more lightweight, could try to minimize any duplicate calculations for which there hasn't currently been much effort.

mseaberg commented 2 years ago

Use py-spy to check. Probably need to initialize all large arrays so they don't keep being created.