I’ve seen (I think on SO) the use of a function similar to system.time that assesses the time of multiple functions at once and spits out one output. I can’t remember what it was and an internet search with the terms I’m using does not yield the response I want.
Anyone know the name/location of the function I’m talking about?
You want the rbenchmark package and its
benchmarkfunction. (There is also the related and more specialised microbenchmark package.)Here is the beginning of the example section: