Calculate average transactions per second