sbailey / surveyqa

DESI Survey QA Dashboard
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

parallelizing the code and tweaking the nightly code to be faster #62

Closed ana-lyons closed 5 years ago

ana-lyons commented 5 years ago

Added in snippet of code to parallelize the generation of the nightly pages- I did some experimenting and I have 4 cpu on my computer, and reducing this to 2 does not significantly make things faster (on average things are a couple seconds slower). I also made the small change to the nightly page to not have a timezone aware time object for the find_night() function.

sbailey commented 5 years ago

Looks good, thanks.