implemented performance test for streaming