v1.2 added constant time measurements