test the performance of the producer