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

HscMapper: cache the camera object #79

Merged
merged 1 commit into from May 10, 2017
Merged

HscMapper: cache the camera object #79

merged 1 commit into from May 10, 2017

Conversation

PaulPrice
Copy link
Contributor

The lion's share of the time in instantiating a butler goes to
building the camera object, because that involves parsing a Config
with many lines, and a stat call for each line to get the traceback.
We cache the camera once it's built so that subsequent butler
instantiations (e.g., for multiprocessing or pipe_drivers) don't
suffer the same overhead.

The lion's share of the time in instantiating a butler goes to
building the camera object, because that involves parsing a Config
with many lines, and a stat call for each line to get the traceback.
We cache the camera once it's built so that subsequent butler
instantiations (e.g., for multiprocessing or pipe_drivers) don't
suffer the same overhead.
@PaulPrice PaulPrice merged commit 31e1df3 into master May 10, 2017
@ktlim ktlim deleted the tickets/DM-10490 branch August 25, 2018 06:45
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