Use Cases
Tutorial: Debug & optimize
Turn a performance symptom into a Unity investigation plan.
- 1Describe the symptom ('fps drops in combat').
- 2Get the likely area, what to profile, checks, cheapest-first fixes, and before/after metrics.
API — deterministic output.
curl -X POST $CURFLUFFLE_API_URL/tools/debug.optimize \
-H "Authorization: Bearer $CURFLUFFLE_API_KEY" -H "Content-Type: application/json" \
-d '{"symptom":"fps drops in combat"}'
# → { ok:true, data:{ result:{ area:"Rendering", likelyCauses, profilerSteps, fixes, metrics }, markdown } }