implemented performance benchmark