Topics Covered

  • Duration: 80 minutes

  • Learning Objectives:

    • Learn techniques to debug Node.js applications effectively.

    • Explore strategies for optimizing performance in Node.js.

  • Outline:

    1. Debugging Node.js using built-in tools and third-party libraries.

    2. Identifying common performance bottlenecks.

    3. Optimizing the event loop and memory usage.

    4. Profiling applications and reading performance metrics​.

  • Student Activity:

    • Debug a sample Node.js application with errors and identify the issues.

    • Use a performance profiling tool like clinic.js to measure and optimize application speed.

  • Homework Assignment:

    • Profile your API built in Lesson 7 and identify areas for performance improvement.

    • Write a summary of your debugging experience, detailing the tools and techniques used.

Last updated