Description
In this course, you will learn:
- Benchmarking and optimizing your code will help it run faster. Throughout the course, you will use a practical Web Sockets game example to learn how to optimize memory and asynchronous JavaScript, as well as test and iterate.
- You'll work on garbage collection, memory profiling, data structures like as sets and arrays, and event loop management.
- Learn advanced techniques like memory pools and Prime's performance-driven programming philosophy, which will prepare you to develop blazingly fast and efficient programs!
Syllabus:
1. Benchmarking & Performance Monitoring
- Web Sockets Game Demo
- Running Benchmarks
- Inspecting & Debugging Performance
- Optimizing Code: Sets vs Array
- Refactoring Set to Array
2. Garbage Collection & Async Code
- Garbage Collector
- Memory Profiling
- Event Loop & Promises
- Refactoring Timer to Remove Promises
- Analyzing Results & Removing Async
- Speeding Up Web Sockets
- Analyzing Web Socket Results
3. Update & Memory Optimizations
- Refactoring Collision
- Revisiting the Memory Profiler
- Memory Pool
- Optimizing Logging
- Other Performance Considerations