enhance performance by flush per second