function1(args; kwargs) and function2(args; kwargs) are two functions that, given the same input, return the same output. I would like to check that function1 is faster than function2. Both of these functions take a very long time to run (10 minutes). I tried using @btime but this seems to take ages. My guess is that it is running the function thousands of times. I don't care too much about how precise the average is, so how can I benchmark the functions with just 1 or 2 runs?