compile-analysis

Official

Measure per-file ACE Engine compile efficiency.

Authoreclipse-oniro-mirrors
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Compile-Analysis skill helps teams quickly understand the cost of compiling individual source files in the ACE Engine, by capturing real-world metrics instead of estimates.

Core Features & Use Cases

  • Precise timing & memory profiling: measures compile time and peak memory for a single file.
  • Dependency visualization: generates a header-dependency tree by parsing .ii files.
  • Reusable scripts: creates standalone compile scripts for repeatable benchmarking.
  • Use Case: diagnose a slow file, compare optimization results, or validate changes by re-running targeted compilations.

Quick Start

  1. Run the analysis on a file:
  • ./.claude/skills/compile-analysis/scripts/analyze_compile.sh frameworks/core/components_ng/base/frame_node.cpp rk3568
  1. (Optional) Save a reusable script:
  • Add --save-script to generate out/rk3568/compile_single_file_<name>.sh
  1. View results in out/{product}/ and the parsed dependency tree.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: compile-analysis
Download link: https://github.com/eclipse-oniro-mirrors/arkui_ace_engine/archive/main.zip#compile-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.