profiler-get-script-stats

Retrieve Unity script execution timing and memory usage statistics via Profiler APIs.

Updated May 3, 2026
One-click install
npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill profiler-get-script-stats-rakamenouya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: profiler-get-script-stats
Source: https://github.com/RakameNouya/MR-Bab_10_and_Kel_3/tree/main/.gemini/skills/profiler-get-script-stats
Command: npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill profiler-get-script-stats-rakamenouya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a quick and easy way to gather detailed statistics about script execution and memory usage within Unity projects, saving time and aiding in performance optimization.

Core Features & Use Cases

  • Execution Timing: Capture frame time, fixed delta time, time scale, frame count, and runtime.
  • Memory Usage: Monitor Mono and GC memory usage in megabytes.
  • Use Case: Use this Skill to quickly identify performance bottlenecks in your Unity scripts by analyzing execution timing and memory usage metrics.

Quick Start

Run the profiler-get-script-stats skill to retrieve script execution timing and memory usage stats for your Unity project.

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 check script execution timing and memory usage in Unity?

To check script execution timing and memory usage in Unity, you can retrieve frame timing, delta time, and Mono or GC memory stats using the UnityEngine.Profiling.Profiler and UnityEngine.Time APIs.

What Unity Profiler metrics are needed to identify script performance bottlenecks?

Identifying script performance bottlenecks requires metrics like frame time, fixed delta time, time scale, frame count, runtime, and Mono and GC memory usage in megabytes.

Does retrieving Unity memory stats require a specific environment or module?

Yes, retrieving Unity memory stats requires an active Unity environment and the UnityEngine.Profiling module to access the necessary Profiler APIs for execution timing and memory data.

Can I monitor Unity GC memory usage in megabytes automatically?

You can monitor Unity GC memory usage in megabytes by utilizing the UnityEngine.Profiling.Profiler API, which retrieves detailed memory statistics alongside script execution timing metrics.

How do I get Unity frame count and time scale for performance analysis?

To get Unity frame count and time scale for performance analysis, utilize the UnityEngine.Time API, which captures runtime frame metrics alongside fixed delta time and execution timing data.

Why does my Unity script have high memory usage and slow frame timing?

High memory usage and slow frame timing in Unity scripts can be diagnosed by capturing Mono and GC memory in megabytes and analyzing frame time and delta time metrics via the Profiler.