performance measurements for 2d