track and measure performance