Public-Health-Scotland / hsmr

Reproducible Analytical Pipeline of the Hospital Standardised Mortality Ratio (HSMR) quarterly publication
9 stars 1 forks source link

Run times of scripts #113

Open lucindalawrie opened 5 years ago

lucindalawrie commented 5 years ago

Hi guys - I've been working on an IR and I wanted to see how long it took to run (because I already knew it would be super fast!!) and remembered timing R scripts at uni using 'Sys.time()' to take start and end times and then subtracting the two - turns out my IR took 3.40711 mins to run! Thought it might be good to add something like this to the scripts, even if it's just for the next run, to get a more accurate run time.

robynm01 commented 5 years ago

Sounds good!