Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speedup qdac snapshot #686

Merged
merged 13 commits into from
Aug 3, 2017
Merged

Conversation

jenshnielsen
Copy link
Collaborator

This significantly speeds up the qdac snapshotting such as when adding it to a station. This is done by using _get_status to read parameters at once rather than one by one.

My benchmark shows

Creating a station with a QDac. Before 30 s, with this change 0.5 s without updating currents.

Updating currents adds about another 11 seconds both to the instrument creation and snapshot

@jenshnielsen jenshnielsen merged commit 667b2c6 into microsoft:master Aug 3, 2017
@jenshnielsen jenshnielsen deleted the speedup_qdac branch August 3, 2017 08:17
giulioungaretti pushed a commit that referenced this pull request Aug 3, 2017
Author: Jens Hedegaard Nielsen <jenshnielsen@gmail.com>

    Speedup qdac snapshot (#686)
@jenshnielsen jenshnielsen mentioned this pull request Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant