# Performance API Design

> Use Jeff Dean and Sanjay Ghemawat's canonical API performance guidance. Use when designing or reviewing bulk APIs, view types, caller-provided storage, precomputed arguments, or thread-compatible versus thread-safe interfaces.

- Skill: `boshjerns/performance-api-design` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add boshjerns/performance-api-design`
- Raw SKILL.md: https://api.skillmd.com/api/skills/boshjerns/performance-api-design/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: boshjerns (https://skillmd.com/u/boshjerns)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/boshjerns/performance-api-design

---


# API considerations

Read the exact current source section before applying it:

```bash
python3 ~/.codex/skills/performance-hints/scripts/fetch_section.py api-considerations --output text
```

Canonical section: [API considerations](https://abseil.io/fast/hints#api-considerations)

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:
- Bulk APIs
- View types
- Pre-allocated/pre-computed arguments
- Thread-compatible vs. Thread-safe types


