testing performance and redrawing