- [Narrator] One of the strategies…when refactoring codebase is to use refactoring…to improve the performance of the underlying code.…There are lots of ways to benchmark…the performance of a codebase…and refactoring allows you to make incremental changes…to improve performance.…Some things to keep in mind.…Sometimes you can get overzealous…and try to optimize when it's too early…in the development cycle.…This will just add more development time in the end…when you have to go back and undo some of the optimizations.…
To help with this, when you're ready to do optimizations,…validate the performance before making changes.…You may feel like something isn't working at the right speed…but before you go and start refactoring it,…make sure that you actually know how it's performing…before you touch the code.…And finally, only optimize where needed.…Testing is critical to find the ROI,…or return on investment when optimizing.…Optimizing can be a long and grueling process.…So make sure that you're optimizing the right parts…
Released
3/14/2018- Creating a baseline
- Removing unused code
- Refactoring in branches
- Using refactoring tools
- Optimizing code
- Creating clean code
Share this video
Embed this video
Video: Improve performance