← Zurück zu Vex
AgentVex

Skill · Version 1.0.0

Three.js-Profiling und Bereinigung

Findet langsamere Darstellung und wachsenden Grafikspeicher nach Szenenwechseln. Verfolgt Ressourcen nach Besitzer und gibt nur frei, was kein anderes sichtbares Objekt mehr benötigt.

threejs-profiling-cleanup

Entdecke, wie der Skill hilft

Wann ist der Skill hilfreich?

Nutze dies bei Leistungsabfall nach Laden und Entladen.

Wobei hilft er dir?

  • Trennt CPU-, Zeichen-, Pixel- und Dekodierungskosten.
  • Verfolgt Geometrie, Texturen, Materialien und Renderziele nach Verantwortlichen.
  • Gibt nur unbenötigte Ressourcen frei und vergleicht Ladezyklen.

Das könntest du fragen

Unser Weltraumspiel verliert bei jedem Öffnen des Hangars Speicher. Öffne und schließe ihn zwanzigmal, erfasse Texturen, Geometrien und Render-Ziele und behebe den zurückhaltenden Besitzer. Vergleiche dieselbe Schiffsansicht und prüfe weiter verwendete Cockpit-Texturen.

Ausführliche Dokumentation

Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.

Details…Weniger anzeigen

Three.js — profiling cleanup

Use when diagnosing Three.js memory growth, GPU cost, frame stalls or lifecycle leaks.

Version and project gate

Inspect Three.js revision, renderer/backend, addons import style, bundler, color-management conventions, animation loop owner, scene scale, glTF/decoder versions and existing physics wrapper. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.

Work

Reproduce the busy route and record renderer statistics and available browser profiling evidence. Separate CPU work, draw submission, pixel cost and asset decoding. Track geometries, materials, render targets and textures by owner, including generated environment maps. Compare repeated load/unload cycles.

Deliver

A bottleneck explanation and resource disposal change backed by a stable repeated scenario. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

Blindly disposing every traversed material can break another scene; high pixel ratio can multiply fragment work without improving useful detail.

Acceptance scenario

Reload the level repeatedly, vary rendering resolution and confirm the same resources remain alive only where still referenced. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.

Scope and sources

This skill belongs to Vex. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.

Enthaltene Dateien 1

  • SKILL.md