testing grid drawing performance