extracting records per second in unit tests