Performance Estimation

Use Jeff Dean and Sanjay Ghemawat's canonical estimation guidance for back-of-the-envelope performance calculations. Use when comparing designs before implementation, estimating latency or resource cost, reasoning about operation counts, or deciding what is likely to dominate.

boshjerns 60f46c5 2 files · 1.1 KB Updated

File contents

Estimation

Read the exact current source section before applying it:

python3 ~/.codex/skills/performance-hints/scripts/fetch_section.py estimation --output text

Canonical section: Estimation

Attribute the guidance to Jeff Dean and Sanjay Ghemawat. Do not assume every hint applies: inspect the code, identify the relevant cost, and measure or estimate before recommending a change.

This section includes:

  • Example: Time to quicksort a billion 4 byte numbers
  • Example: Time to generate a web page with 30 image thumbnails

boshjerns/performance-hints-agent-skills/tree/main/skills/performance-estimation commit 60f46c5ca6

Frequently asked questions

npx skillmds@latest add boshjerns/performance-estimation