Benchmarking the recursive quantum approximate optimization algorithm