ANTIGRAVITY LABJP
TAG

Performance

17 articles
Back to all tags
Related:
antigravity8Antigravity5troubleshooting5Android3optimization2tips2ORM1CI1Testing1Live Wallpaper1WallpaperService1Jetpack Compose1
App Dev/2026-07-10Advanced

An Agent's ORM Code Made p95 Five Times Slower — Measuring Query Counts and Blocking Them in CI

N+1 queries slip past code review because the code looks correct. Here is a CI gate that measures query counts and judges them by their slope against input size, with working code and real numbers.

App Dev/2026-07-06Advanced

Building a Live Wallpaper That Doesn't Drain the Battery — Designing the WallpaperService Render Loop Around a Power Budget

Live wallpapers quietly burn battery because they keep drawing when nothing is visible. Here is the WallpaperService.Engine design I used to cut power draw by roughly 60% in a real wallpaper app, built around visibility, idle, and thermal gates.

App Dev/2026-06-25Advanced

Every Favorite Tap Was Redrawing Every Visible Wallpaper — Stopping Needless Recomposition in Compose, Measured

A record of fixing a wallpaper grid where toggling a single favorite recomposed every visible thumbnail. Covers turning on Composition Tracing to measure first, tracking the unstable parameter down, stabilizing the data model, handling lambdas and derived state, and comparing recomposition counts before and after from an indie developer's view.

App Dev/2026-06-23Advanced

My Daily Wallpaper Widget Stopped Updating — Measuring WidgetKit's Reload Budget and Rebuilding the Design

A widget that was supposed to rotate the wallpaper every day froze after a few days. Here is how I measured WidgetKit's timeline reload budget and extension memory limit, then rebuilt the design around a single daily timeline.

App Dev/2026-06-23Advanced

Only Slow Right After Install — Cutting Android Cold-Start Time with Baseline Profiles, Measured

Why an Android app stutters on launch only right after install or update, explained through JIT and Cloud Profiles, plus a measured walkthrough of cutting cold-start time with Baseline Profiles — from building a Macrobenchmark harness to staged rollout, from an indie developer's perspective.

Tips/2026-06-14Intermediate

Turning 'the Antigravity CLI feels faster' into a number with hyperfine

The Go-based Antigravity CLI feels snappier to start. Here is how to turn that impression into a reproducible number with hyperfine: warm vs cold runs, cumulative cost in automation, and a CI gate that catches regressions.

Antigravity/2026-05-22Intermediate

Why Antigravity's Workspace Indexing Stalls on Large Repositories — and How to Fix It

A walk-through of why Antigravity's indexer can spin forever on a monorepo, with the diagnostic steps and fixes I use on my own 12 GB repository.

Integrations/2026-05-01Advanced

Antigravity × Lighthouse CI: Catching Web Performance Regressions Automatically— Budgets, PR Comments, and Progressive Blocking

Wire Antigravity's AI to Lighthouse CI inside GitHub Actions and stop performance regressions before they reach production. This guide covers budget design, PR comments, progressive blocking, RUM integration, and cost controls — all in a shape that holds up in real teams.

Tips/2026-04-30Intermediate

Fixing Antigravity's Slow Performance and Broken File Watching on WSL2

If Antigravity feels sluggish on WSL2, ignores your saved files, or takes minutes to start, you're almost certainly hitting a WSL2 filesystem boundary issue. Here's how to diagnose and fix it for good.

App Dev/2026-04-26Advanced

A Multi-Agent SQL Tuning Workflow with Antigravity — Splitting Analysis, Strategy, Implementation, and Verification

Treat SQL tuning as a relay race instead of a single chat. This guide shows how to wire four specialised Antigravity agents — Analyzer, Strategist, Implementer, Verifier — into a repeatable workflow you can actually trust in production.

Tips/2026-04-21Intermediate

Antigravity Uses Too Much CPU and Memory: A Practical Fix Guide

When your laptop fans spin up and Antigravity holds several gigabytes of RAM, the fix starts by identifying which subprocess is actually misbehaving. Here's a per-process playbook.

Antigravity/2026-04-14Intermediate

Gemma 4 on Antigravity: Complete Debugging Guide for Errors and Performance Issues

Gemma 4 not loading, running too slowly, or producing poor output on Antigravity? This complete guide covers VRAM requirements, quantization settings, multimodal failures, and inference speed optimization — everything specific to Gemma 4's architecture.