# Antigravity Lag Fix: Enable Performance Mode to Solve Editor Freezing Issues
## Say Goodbye to Antigravity Lag: The Ultimate Guide to Enabling Performance Mode\n\nMany developers have encountered frustrating editor lag, stuttering, or even complete freezes while using the **Antigravity** tool, especially when making API calls. This can severely impact productivity and the overall development experience. This video dives into the root cause of this issue and provides a proven solution for both **macOS** and **Windows** users: enabling Performance Mode.\n\n### Why Does Antigravity Lag?\n\nThe core of the problem lies in **GPU acceleration**. In certain configurations or scenarios, Antigravity's rendering tasks are handled exclusively by the CPU, leaving the more powerful dedicated or integrated graphics card (GPU) idle. When the CPU becomes overloaded, it leads to an unresponsive UI and lag. The \"Performance Mode\" detailed in this guide essentially uses a specific command to **force the GPU to participate in the rendering process**, thereby offloading the CPU and resolving the performance bottleneck.\n\n### Step-by-Step Guide: How to Enable Performance Mode\n\nAll necessary commands and resources can be found in the companion article `dpit.lib00.com` mentioned in the video.\n\n#### For macOS Users\n\n1. Visit the resource website to find the launch command for macOS.\n2. Open your Terminal application.\n3. Paste the copied command into the terminal and press Enter to execute it.\n\n```bash\n# This is an example command; please use the latest one from the article.\n/Applications/Antigravity.app/Contents/MacOS/Antigravity --force-gpu-rasterization\n```\nThis will launch Antigravity directly in Performance Mode, and you should notice a significant improvement immediately.\n\n#### For Windows Users\n\n1. Locate the **Antigravity** shortcut icon on your desktop.\n2. Right-click the shortcut and select **\"Properties\"**.\n3. In the Properties window, find the **\"Target\"** input field.\n4. At the very end of the text in the \"Target\" field, first **add a space**, and then paste the Windows-specific command copied from the resource website.\n5. The modified \"Target\" path should look something like this: `\"C:\\Path\\To\\Antigravity.exe\" --force-gpu-rasterization`.\n6. Click **\"Apply\"** and then **\"OK\"** to save your changes.\n\nFrom now on, every time you launch Antigravity using this shortcut, it will automatically run in Performance Mode.\n\n### Conclusion\n\nBased on feedback from the video creator and community members, enabling Performance Mode is highly likely to resolve or significantly alleviate the stuttering issues in Antigravity. If you've been struggling with this problem, giving this method a try is highly recommended. We hope this tutorial was helpful! Please share your results in the comments section—your feedback is invaluable to the community.