[INSTRM-2083] Enabling the threading function when doing centroid Created: 13/Oct/23  Updated: 24/Nov/23  Resolved: 24/Nov/23

Status: Done
Project: Instrument control development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: chyan Assignee: karr
Resolution: Done Votes: 0
Labels: EngRun
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2023-11-09 at 12.23.29 AM.png    
Sprint: EDR+AIT

 Description   

The current centroid code takes around 2 seconds to finish. We should be able to make it faster by turn on the threading function.



 Comments   
Comment by arnaud.lefur [ 09/Nov/23 ]

Branch was merged, I guess that ticket should be closed.
Have you quantified the gain ? from 2 seconds to ... ?

Comment by chyan [ 09/Nov/23 ]

I would like to keep the for a little bit longer since I have not yet test on the telescope. See this plot.

The overhead is 2s for each centroid run and now is ~0.2s.

Generated at Sat Feb 10 16:42:50 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.