BENCHMARK
Syntax
BENCHMARK(count,expr)
Description
The BENCHMARK() function executes the scalar expression expr count times and returns 0. If the arguments are invalid, such as NULL values or a negative count, it returns NULL.
expr must be a scalar expression. BENCHMARK() can be used to measure the performance of scalar expressions. The reported time is the client-side execution time, not the server-side CPU time.