AIniverse Get the App

Chase Sub-50ms Page Loads

Coding

A performance loop that measures every page against the same benchmark and stops when they all clear the bar. Inspired by Forward Future's Loop Library.

Prompt

Step 1 — Set the benchmark
Define the exact load metric and the target (e.g. under 50 ms). Establish a repeatable way to measure every page and record the current numbers.

Step 2 — Make one change
Ask the AI for the single highest-impact optimization for the slowest page, and apply it.

Step 3 — Re-measure everywhere
Run the benchmark across every page again. Keep the change only if it improves the target with no regressions elsewhere.

Step 4 — Repeat until all pass
Continue until every page loads under the target. Stop when the goal is met or no further change helps.

Use this prompt in AIniverse

Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.

Open in App

More Coding prompts

Independent Verifier Pass

When implementation claims done, a separate verifier pass runs build, lint, and tests with no access to the implement...

API Contract Until Match

Loop until API responses match the OpenAPI or JSON Schema contract — catch drift between docs and implementation.

De-Sloppify Pass

After implementation, run a cleanup pass: remove debug code, tighten naming, delete dead branches, and align with pro...

Merge Conflict Resolver

Rebase or merge target branch, resolve conflicts file by file, and loop until the branch is current and tests pass.