Test query log for performance analysis