Add proper benchmarking; does not require the function to work correctly for the benchmarking to work.