Notes on sampling functions speed tests