benchmark test helpers