helper file for timing measurements