C✳CODEZ.WIN
🌐 English

Localized reading guide

workers-profilingPurpose, usage and source

Profile or debug CPU usage and memory allocation in deployed Cloudflare Workers and Durable Objects. Then use this information to optimize your code.

Source retrieved:

Source repository
cloudflare/skills
SKILL.md
skills/workers-profiling/SKILL.md
Repository stars
3,222
Repository updated
2026-10-31
Categories
Development
Last collected

License: Apache-2.0

Workflow excerpts are reading aids, not executable instructions from Codez. No third-party Skill was run to produce this page.

The purpose and workflow passages below are upstream material, organized and translated for reading. They are distinct from the separately labeled Codez editorial analysis.

What this Skill does

Profile or debug CPU usage and memory allocation in deployed Cloudflare Workers and Durable Objects. Then use this information to optimize your code.

How the upstream workflow works

Profiling steps

Identify the symptom and affected workload: CPU usage, latency, allocation pressure, or memory growth. Confirm the account, Worker, environment, and deployed version with the user. For a Durable Object, also confirm its owning Worker, namespace, and instance. Choose CPU or heap profiling from the current guide's supported types and meanings.

Upstream passage · L15 ↗

Workers profiling

Find expensive functions or memory allocations in deployed code and come up with ways to fix them.

Upstream passage · L6 ↗

Retrieve the docs

Start with the production profiling guide to understand how Workers and Durable Objects profiling works.

Upstream passage · L10 ↗

Requirements and setup

No short requirements passage was selected from this file. This does not mean the Skill has no dependencies. Check the repository setup instructions and referenced files.

Limits and quality checks

No separate limits passage was selected from this file. This does not mean the Skill is safe for every input or environment. Review the complete source and validate your own result.

Start with a safe trial

  1. Check the supported host and the repository installation instructions. Keep the Skill directory and its referenced scripts, assets and documentation together; SKILL.md alone may omit dependencies.
  2. Give the agent your real input, desired output and acceptance criteria. Invocation syntax and available tools depend on the host; this site does not assume a universal install command.
  3. Try the source workflow in a disposable project or on a copy. Review operations that change files, remote services or billable resources before allowing them.
  4. Validate the output against the source quality checks and your own requirements. A successful trigger or a high repository Star count does not establish a correct result.

Skill format and directory specification ↗

Read further in the source

Translation and scope

This reading guide selects passages from the pinned upstream SKILL.md. Translation is assisted. It is not a complete manual or a claim of tested compatibility. Read the original and its referenced files before use.

This introduction refers to the pinned version below; current repository activity and collection time are shown separately.

Source retrieved
Source commit
49a31e0b3229ccdffe4944be9c61bc7481d1d432
Source SHA-256
fec05a080c90f019e1e93e5e1ca3416bb89362655dfc158458301f461cb29839
Back to the full Skill catalog