implement benchmark method to measure background job