Przejdź do treści
Biblioteka skilli
DevOps i chmura · Analiza

workers-profiling

/workers-profiling

Profiluje zużycie CPU i alokację pamięci we wdrożonych Cloudflare Workers i Durable Objects oraz wykorzystuje wyniki do optymalizacji kodu.

Repozytorium
skills ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
15.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 15.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Profiluje zużycie CPU i alokację pamięci we wdrożonych Cloudflare Workers i Durable Objects oraz wykorzystuje wyniki do optymalizacji kodu.

Oryginalny opis (EN)

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

Jak działa

  1. Retrieve the docs
  2. Profiling steps
  3. Inspect the evidence
  4. Optimise
  5. Report findings
Sekcje z nagłówków SKILL.md, w oryginale · 41 linii, 263 słów
Podgląd SKILL.md
---
name: workers-profiling
description: Profile or debug CPU usage and memory allocation in deployed Cloudflare Workers and Durable Objects. Then use this information to optimize your code.
---

# Workers profiling

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

## Retrieve the docs

Start with the [production profiling guide](https://developers.cloudflare.com/workers/observability/profiling-in-production/index.md) to understand how
Workers and Durable Objects profiling works.

## Profiling steps

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

Where possible, use the [`cf` CLI](https://developers.cloudflare.com/cf/index.md) to capture profiles. If the user requests `cf`, inspect the installed version's command help and schema where available.

If `cf` isn't available, consider prompting the user whether they would like to install it.


The profiling API will return a pprof file which you can analyze directly, or using appropriate tools like Go's `pprof` utility.

## Inspect the evidence

- Read the pprof file and analyse it for hotspots
- Map hotspots to functions and source locations when evidence supports it; report missing symbols or source mappings.
- If filenames and function names are pointing at the generated JavaScript, consider suggesting to the user to enable source maps and re-do the profiling.

## Optimise

Propose the smallest code change supported by the capture which resolves the issues identified.

## Report findings

Return a concise report with:

- Evidence for each finding: file, function, source location, and metric with units, where available.
- The smallest actionable change and how to check its effect.

Wersje

RepozytoriumWynikLicencja
Ta strona · cloudflare/skills90Apache-2.0
fcakyon/claude-codex-settings90Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 8821dbbcc2b1 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100cloudflare-workers-expert
    Buduje i debuguje Cloudflare Workers, Durable Objects, KV, R2, D1 i Queues z wzorcami poprawnymi dla edge.
  • 100cloudflare-workers-performance
    Optymalizuje wydajność Cloudflare Workers pod kątem CPU, pamięci, cache i rozmiaru pakietu, przy wolnych workerach, dużych opóźnieniach, cold startach i limitach.
  • 95sentry-cloudflare-sdk
    Konfiguruje pełne SDK Sentry dla Cloudflare Workers i Pages, w tym Durable Objects, Queues, Workflows i Hono: monitoring błędów, tracing, logi, crony i monitoring AI.
  • 95cloud-native-cloudflare-workers
    Projektuje aplikacje Cloudflare Workers i dobiera magazyn danych, czyli KV, D1, R2 lub Durable Objects, z limitami środowiska.
  • 100cloudflare
    Pomaga pisać i sprawdzać kod Cloudflare Workers, Durable Objects, KV, R2, D1 i Wrangler, a także przenosić z Pages oraz konfigurować Access i Tunnel.
  • 90cloudflare-workers
    Buduje i utrzymuje Cloudflare Workers z typowanymi powiązaniami, integracją KV, R2, D1 i Durable Objects oraz Wrangler.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.