Tool for testing performance of sql statements