# Profile query runtime behavior

> Use GRAPH.PROFILE to see per-operator runtime statistics and record counts for queries

- Skill: `falkordb/profile-query-runtime-behavior` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add falkordb/profile-query-runtime-behavior`
- Raw SKILL.md: https://api.skillmd.com/api/skills/falkordb/profile-query-runtime-behavior/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: falkordb (https://skillmd.com/u/falkordb)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/falkordb/profile-query-runtime-behavior

---


# Profile query runtime behavior

Use `GRAPH.PROFILE` to see per-operator runtime statistics and record counts.

## Usage

Use `GRAPH.PROFILE` to execute a query and receive detailed runtime metrics for each operation.

## Example

```bash
redis-cli GRAPH.PROFILE social "MATCH (u:User)-[:FRIENDS_WITH]->(f)
RETURN f.name ORDER BY f.name LIMIT 10"
```

## Notes

- `GRAPH.PROFILE` executes the query and returns detailed runtime information
- Shows actual records processed and time taken per operator
- More detailed than `GRAPH.EXPLAIN` as it includes actual execution metrics
- Useful for identifying performance bottlenecks in complex queries
- Helps understand which operations are most expensive

