Ayush Garg

Search

SearchSearch

Recently Updated

  • Hi, I am Ayush 1️⃣9️⃣

    Jan 31, 2026

    • Flash Attention

      Jan 31, 2026

      • Hyperic

        Jan 31, 2026

        • Obsidian

          Jan 31, 2026

          Home

          ❯

          List of Notes

          ❯

          C++ Optimizations

          C++ Optimizations

          Oct 27, 2025, 1 min read

          Video Link: https://youtu.be/hp4Nlf8IRgs?si=-em6S7XQZkgdqGgY

          GZip §

          GZip is an algorithm that can help you reduce the size of the payload

          smaller payload = faster

          Flame Graph §

          Run your program on FlameGraph to be able to tell what’s on your stack and what’s taking the CPU the most time to execute

          https://github.com/brendangregg/FlameGraph

          Batching §

          If there’s a lot of the same operations that need to be done, try doing it all at once and storing them, it’s a lot faster

          Graph View

          • GZip
          • Flame Graph
          • Batching

          Backlinks

          • No backlinks found

          Created by Ayush Garg using Quartz , © 2026

          • GitHub
          • Linkedin
          • Blog
          • Twitter