Exercise - Implement performance profiling using GitHub Copilot
Important
To complete this exercise, you need an active GitHub account and a Visual Studio Code environment configured for C# development. For help with configuring your lab environment, see Configure lab environment for GitHub Copilot Labs. For help with enabling GitHub Copilot in Visual Studio Code, see Enable GitHub Copilot in Visual Studio Code.
In this exercise, you use GitHub Copilot to identify and address performance bottlenecks and code inefficiencies in an e-commerce order processing application. You analyze the existing codebase, identify areas for improvement, refactor the code using GitHub Copilot, and test the refactored code to ensure performance enhancements while maintaining functionality.
Tasks include:
- Reviewing the existing codebase and establishing baseline performance metrics.
- Identifying performance bottlenecks using GitHub Copilot Chat (Ask mode).
- Refactoring performance-critical code using GitHub Copilot Chat (Agent mode).
- Testing and verifying the refactored code.
When you select the launch exercise button, the browser navigates to a public GitHub page that provides instructions for this exercise.
When you finish the exercise, return here for:
- A quick knowledge check.
- A summary of what you learned during this module.
- A badge for completing this module.
