tarakc02 / ratelimitr

Rate limiting for R functions
Other
41 stars 0 forks source link

Use proc.time() or microbenchmark::get_nanotime() instead of Sys.time() #11

Closed tarakc02 closed 7 years ago

tarakc02 commented 7 years ago

Especially on Windows, there is a ton of overhead for Sys.time() (10x compared to proc.time(). Using Sys.time() to determine how long to wait muddies everything.