Some performance related code examples