Skip to content

Conversation

@dihm
Copy link
Contributor

@dihm dihm commented Nov 21, 2025

Requires labscript-suite/labscript-utils#119

PR also adds more detailed startup logging, with an eye towards diagnosing why initial startup behavior has gotten so slow of late.

@dihm dihm added the enhancement New feature or request label Nov 21, 2025
@dihm
Copy link
Contributor Author

dihm commented Nov 24, 2025

Note: at least on my dev machine, PySide6 is having significantly longer analysis subprocess start times (40ms -> 600ms). Since those processes all load in series, starting lyse can be a real pain (which it already is since each process has to import matplotlib anyway which takes 250ms).

Anyway, need to dig in a little before merging to determine if this is really PySide6 fault or some other package in the environment that isn't identical.

Edit: Culprit is the QtWidgets.QApplication(sys.argv) constructor call in analysis_subprocess.py. It appears to be a semi-known issue with PySide vs PyQt. Probably not a lot that I can do about it, other than figuring out a way for the subprocesses to be executed in parallel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant