profiler-get-script-stats

Retrieve Unity script execution timing and memory usage metrics.

Updated Aug 26, 2025
One-click install
npx skills add https://github.com/infotechsrealm/PanicAtThePond --skill profiler-get-script-stats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: profiler-get-script-stats
Source: https://github.com/infotechsrealm/PanicAtThePond/tree/main/.claude/skills/profiler-get-script-stats
Command: npx skills add https://github.com/infotechsrealm/PanicAtThePond --skill profiler-get-script-stats

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides insights into script execution timing and memory usage in Unity, helping developers monitor and optimize their projects.

Core Features & Use Cases

  • Execution Timing: Obtain frame time, fixed delta time, time scale, frame count, and runtime information.
  • Memory Usage: Measure Mono and GC memory usage in MB.
  • Use Case: Use this Skill to identify performance bottlenecks and optimize resource usage in Unity applications.

Quick Start

Use the profiler-get-script-stats skill to get the current script execution timing and memory usage.

Frequently Asked Questions about profiler-get-script-stats

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get script execution timing and memory usage metrics in Unity?

To get script execution timing and memory usage in Unity, you can use a profiling tool that retrieves frame time, fixed delta time, time scale, frame count, and Mono and GC memory usage in MB. This requires the UnityEngine and UnityEngine.Profiling libraries for data collection.

What Unity profiling metrics are needed to identify performance bottlenecks?

Identifying performance bottlenecks in Unity requires profiling metrics like script execution timing, frame count, runtime information, and Mono and GC memory usage. These metrics help monitor and optimize resource management within the application.

Does this script profiling approach require specific Unity libraries to function?

Yes, this script profiling approach requires the UnityEngine and UnityEngine.Profiling libraries to function. These libraries are necessary for collecting execution timing and memory usage data from the Unity application.

How can I measure Mono and GC memory usage in MB for a Unity application?

You can measure Mono and GC memory usage in MB for a Unity application by using a performance profiling skill that focuses on resource management. It retrieves these specific memory metrics using the UnityEngine.Profiling library.

What is the best way to monitor frame time and time scale in Unity?

The best way to monitor frame time and time scale in Unity is through performance profiling. A dedicated profiling script can obtain this execution timing data alongside frame count and runtime information to help optimize your project.

When do I need to check fixed delta time and frame count in Unity?

You need to check fixed delta time and frame count in Unity when diagnosing performance bottlenecks and optimizing resource usage. These execution timing metrics provide insights into script performance and overall application runtime behavior.