Comparing an alternative function's performance using the microbenchmarking package