Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

perf

/perf

Mierzy i poprawia wydajność strony three.js: wywołania rysowania, trójkąty, tekstury i czasy klatek.

Repozytorium
Threesmith ↗
Licencja
MIT
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

96/ 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ść31 / 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
0
Przestarzałość

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

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Mierzy i poprawia wydajność strony three.js: wywołania rysowania, trójkąty, tekstury i czasy klatek.

Wyzwalacze z opisu

het haperttraaglage fpssneller makenlaadtijdgeheugen loopt op

Argumenty

/perf [what is slow, optional]
Oryginalny opis (EN)

Use when a three.js page is slow, stutters, has low fps, loads slowly, uses too much memory or GPU memory, heats a phone, or when asked to optimise a three.js scene. Measures first (draw calls, triangles, programs, textures, frame times), finds the cause with the review and lessons from real projects, changes one thing at a time and measures again. Also in Dutch: "het hapert", "traag", "lage fps", "sneller maken", "laadtijd", "geheugen loopt op".

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 23 linii, 267 słów

Podgląd SKILL.md
---
name: perf
description: Use when a three.js page is slow, stutters, has low fps, loads slowly, uses too much memory or GPU memory, heats a phone, or when asked to optimise a three.js scene. Measures first (draw calls, triangles, programs, textures, frame times), finds the cause with the review and lessons from real projects, changes one thing at a time and measures again. Also in Dutch: "het hapert", "traag", "lage fps", "sneller maken", "laadtijd", "geheugen loopt op".
argument-hint: "[what is slow, optional]"
---

# Make a three.js scene faster, measured

Work on $ARGUMENTS (or what the user named). Never optimise without a number before and after.

1. **Measure first.** `three_perf` on the page (with `steps` for what happens in it) gives draw calls, triangles,
   programs, geometries and textures (exact, the same on every GPU) and frame times (relative: headless Chromium draws
   in software, so compare runs, do not quote them as real fps). It keeps the last run and shows the change.
2. **Let the review point.** `three_review` and read the `performance` category: allocations in the loop, geometry or
   materials made per frame, scene traversal per frame, uncapped pixel ratio, huge shadow maps, many meshes that
   should be instanced. `three_assets` names textures above 4096 and big uncompressed models.
3. **Ask what real projects learned.** `three_lessons` with topic `performance` or the symptom ("many draw calls",
   "hitch when a model loads", "shader compile stutter").
4. **One change at a time.** Typical wins, biggest first: fewer draw calls (InstancedMesh, BatchedMesh, merged static
   geometry, shared materials), pixel ratio capped at 2, compressed models (Draco or meshopt) and textures (KTX2),
   smaller shadow maps with a tight shadow camera, `renderer.compileAsync` before the first frame, work moved out of
   the loop.
5. **Measure again** with `three_perf`, the same case. Keep the change only when the numbers say so.
6. **Memory that grows** while the user switches levels or opens and closes things: `three_leaks` with the steps of
   one cycle. It says what grows per cycle (geometries, textures, objects by type); after the fix it must be 0.

End with a table: change, before, after, kept or dropped.

Wersje

RepozytoriumWynikLicencja
Ta strona · laaielichter/Threesmith96MIT
duronext/jig100MIT
dxos/dxos100Apache-2.0
anilsoylu/famiglia100Apache-2.0
jisuzzzz/haechi100MIT
oliver-kriska/claude-elixir-phoenix100MIT
8beeeaaat/touchdesigner-mcp100MIT
8beeeaaat/touchdesigner-mcp100MIT
htlin222/dotfiles100MIT

Migawka bazy z 13.11.2026 · wersja paczki 627df4845fa6 (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

  • 96perf-pass
    Diagnozuje i naprawia problemy z wydajnością, takie jak niski FPS, zacinanie i rosnąca pamięć, mierząc przed i po.
  • 100threejs-scene-doctor
    Diagnozuje działającą aplikację Three.js: wywołania rysowania, trójkąty, wycieki pamięci GPU, brakujące światła i zawieszone miksery.
  • 100game-perf-budget
    Diagnozuje spadki FPS i przycięcia gry metodą pomiaru, sprawdza czy wąskim gardłem jest CPU czy GPU i wskazuje poprawki.
  • 100threejs-errors-performance
    Diagnozuje wydajność sceny Three.js: niski FPS, wycieki pamięci, zbyt wiele wywołań rysowania i zużycie pamięci GPU.
  • 100performance-optimization
    Profiluje i poprawia FPS gry, koszt CPU i GPU, płynność klatek, pamięć oraz renderowanie w Canvas lub Three.js bez zmiany rozgrywki.
  • 100game-perf-profiling
    Profiluje buildy gier względem budżetów czasu klatki, pamięci, draw calli GPU i skoków GC w Unity i Unreal, ustala progi (16,6 ms przy 60 fps) i pisze testy regresji wydajności w CI.

Uwagi i zgłoszenia

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