google官方Perfetto 中使用 AI相关skill

9 海康视觉平台VisionMaster 上手系列:典型案例之螺丝机案例 海康视觉平台VisionMaster 上手系列:典型案例之螺丝机案例 快速入门 工业机器视觉 机器视觉 阅读详情

背景

在阅读Perfetto的官方文档时候发现有更新一个关于Perfetto使用ai分析的部分,这里把他进行转载分享一下。

在 Perfetto 中使用 AI

本文介绍如何在 Perfetto 中使用 AI 辅助 trace 分析,包括安装、临时 trace 分析、GPU 性能调试等。


Perfetto 为编程 Agent 提供了 agentskills.io 技能。它教会 Agent 如何调用 trace_processor、编写 PerfettoSQL、在 Android 上采集 trace,并按照指导工作流进行 Android 内存和 GPU 分析。每个安装包都捆绑了 trace_processor 包装器,因此不需要单独的二进制文件。

其设计在 RFC-0025 和 RFC-0026 中有描述。


安装

Agent安装命令
Claude Code/plugin marketplace add google/perfetto@ai-agents
Codexcodex plugin marketplace add google/perfetto --ref ai-agents
OpenCode在 opencode.json 中添加:"skills": { "urls": ["https://raw.githubusercontent.com/google/perfetto/ai-agents/plugins/perfetto/skills"] }
其他(Antigravity、Cursor……)使用下面的后备安装器

对于任何其他 Agent,使用后备安装器(任何带有 Python 3 的平台):

# macOS / Linux
curl -fsSL https://get.perfetto.dev/agents-install | python3 - --target <path>
# Windows(使用 curl.exe,而非 PowerShell 的 curl 别名)
curl.exe -fsSL https://get.perfetto.dev/agents-install | python - --target <path>

传入 --agent <claude|codex|opencode|antigravity|pi> 而非 --target,可安装到该 Agent 的默认目录中。

要在团队中共享此设置,将 --target 指向仓库中的按 Agent 目录(例如 .claude/skills/),并将结果提交。


安装结果

在这里插入图片描述

临时 trace 分析

提及一个 trace 文件并提出你的问题;Agent 会加载 trace、探查 schema,并为你编写 PerfettoSQL。

> 加载 ~/traces/startup.pftrace,告诉我前两秒内哪些线程
  使用了最多的 CPU。

> 在 trace.pftrace 中找出 com.example.myapp 的不可中断
  睡眠的主要原因。

对于 Android 特定的工作流(内存泄漏调试、集群级 heap dump 聚类、trace 采集),参见"在 Android 实战指南中使用 AI"。


调试 GPU 性能

引导式工作流,回答"这个工作负载是 GPU 瓶颈还是主机瓶颈?",然后深入分析问题所在的任一侧。目前最深入的 Counter 支持是 NVIDIA/CUDA。

> 这个工作负载是 GPU 瓶颈还是主机瓶颈?trace 文件位于
  ~/traces/game.pftrace。

> GPU 看起来很忙但工作负载很慢。在 gpu.pftrace 中,
  时钟是否被降频或加速缓慢?

> 哪些 kernel 主导了这个 CUDA trace,它们是计算瓶颈还是
  内存瓶颈?

Agent 会盘点 GPU、将时间线分为繁忙与空闲时间(将空闲间隙归因于主机侧原因)、检查 DVFS 升频或热降频,对于计算工作负载还会根据硬件的计算和内存上限对 kernel 进行分类。


贡献

要编写或修改技能,请参见 ai/skills/README.md。


来源: 在 Perfetto 中使用 AI - Perfetto Tracing Docs - https://gugu-perf.github.io/perfetto-docs-zh-cn/docs/getting-started/using-ai.html

原始英文文档: Using AI in Perfetto - https://perfetto.dev/docs/getting-started/using-ai

英文原本部分

How to use AI-assisted trace analysis in Perfetto, including installation, ad-hoc trace analysis, and GPU performance debugging.


NOTE: Googlers: use go/perfetto-ai-skills and go/perfetto-ai-skills-android-memory instead of this page.

Perfetto ships an agentskills.io skill for coding agents. It teaches an agent to invoke trace_processor, write PerfettoSQL, record traces on Android, and follow guided workflows for Android memory and GPU analysis. Each install bundles a trace_processor wrapper, so no separate binary is needed.

The design is described in RFC-0025 and RFC-0026.


Install

AgentInstall
Claude Code/plugin marketplace add google/perfetto@ai-agents
Codexcodex plugin marketplace add google/perfetto --ref ai-agents
OpenCodeAdd to opencode.json: "skills": { "urls": ["https://raw.githubusercontent.com/google/perfetto/ai-agents/plugins/perfetto/skills"] }
Other (Antigravity, Cursor, …)Use the fallback installer (below)

For any other agent, use the fallback installer (any platform with Python 3):

# macOS / Linux
curl -fsSL https://get.perfetto.dev/agents-install | python3 - --target <path>
# Windows (use curl.exe, not the PowerShell curl alias)
curl.exe -fsSL https://get.perfetto.dev/agents-install | python - --target <path>

Pass --agent <claude|codex|opencode|antigravity|pi> instead of --target to install into that agent’s default directory.

To share the setup with your team, point --target at a per-agent directory in your repo (for example .claude/skills/) and commit the result.


Ad-hoc trace analysis

Mention a trace file and ask your question; the agent loads the trace, discovers the schema, and writes the PerfettoSQL for you.

> Load ~/traces/startup.pftrace and tell me which threads used the most CPU
  in the first two seconds.

> Find the top causes of uninterruptible sleep for com.example.myapp in
  trace.pftrace.

For Android-specific workflows (memory leak debugging, fleet-wide heap dump clustering, trace recording), see “Using AI in the Android cookbook”.


Debugging GPU performance

Guided workflows answering “is this workload GPU-bound or host-bound?”, then drilling into whichever side is the problem. Deepest counter support is NVIDIA/CUDA today.

> Is this workload GPU-bound or host-bound? The trace is at
  ~/traces/game.pftrace.

> The GPU looks busy but the workload is slow. Was the clock throttled or
  slow to ramp in gpu.pftrace?

> Which kernels dominate this CUDA trace, and are they compute-bound or
  memory-bound?

The agent inventories the GPUs, splits the timeline into busy vs idle time (attributing idle gaps to host-side causes), checks for DVFS ramp or thermal throttling, and for compute workloads classifies kernels against the hardware’s compute and memory ceilings.


Contributing

To author or modify a skill, see ai/skills/README.md.


Source: Using AI with Perfetto - Perfetto Tracing Docs - https://perfetto.dev/docs/getting-started/using-ai

相关skil的链接地址
https://github.com/google/perfetto/blob/main/ai/skills/README.md

看一下相关的README.md 内容如下:

Perfetto Skills

This directory holds a single skill: model-agnostic instructions
that teach an AI agent how to do something useful with Perfetto. A
skill is how Perfetto and the teams that use it encode the knowledge
an expert would share when sitting next to a colleague — what to look
at, which tables to query, what good queries look like, and how to
interpret the results.

The format follows the Agent Skills
convention: a skill is a directory containing a SKILL.md with YAML
frontmatter (name, description) and a markdown body. Any tool that
implements the convention — Claude Code, Gemini CLI, OpenAI Codex —
can load it.

This is part of the ecosystem described in
RFC-0025: AI in Perfetto
and RFC-0026.

One skill, a router, and reusable files

Everything Perfetto ships is consolidated into one skill,
ai/skills/perfetto/. Its entry point is a lean router; the actual
knowledge lives in reference and workflow files the router dispatches
to and loads on demand. This keeps a single, broad description in
the agent’s context budget instead of many sibling skills competing to
match, and lets each piece be loaded only when the task needs it.

ai/skills/perfetto/
├── SKILL-template.md            # the router (see below — NOT named SKILL.md)
├── infra-references/
│   └── querying.md              # how to run trace_processor + PerfettoSQL
├── environment-references/
│   └── setup.md                 # $SKILL_ROOT + the bundled trace_processor
└── workflows/
    └── android_memory/
        ├── heap_dump.md
        ├── heap_dump_cluster.md
        ├── heap_dump_caching_optimizer.md
        └── scripts/             # SQL/Python shipped with these workflows

Three kinds of file:

  • workflows/<domain>/*.md — entry points the router dispatches
    to: domain-specific guided investigations (a heap dump on Android,
    jank on Chrome, …). Group related workflows in a <domain>/
    subfolder. A workflow is self-contained — it carries its own queries
    and any helper scripts under a sibling scripts/ dir.
  • infra-references/*.md — domain-agnostic mechanics a workflow
    (or an ad-hoc request) pulls in: how to query a trace, etc.
  • environment-references/*.md — environment setup: what to set
    $SKILL_ROOT to and how to invoke the bundled trace_processor.

The source tree is a build input, not a drop-in

Unlike a normal Agent Skill, this tree is not directly loadable.
Two source-only conventions mean it has to pass through the bundler
(tools/release/build_ai_agents.py) before any agent can load it:

  1. SKILL-template.md, not SKILL.md. The router is named so a
    discovery layer scanning for SKILL.md will not pick up the
    unassembled source tree. The bundler renames it to SKILL.md.
  2. No bin/trace_processor in source. The setup doc points every
    trace_processor invocation at $SKILL_ROOT/bin/trace_processor,
    but that wrapper is not checked in here — the bundler copies it in
    from tools/trace_processor at build time, so every install
    (plugin or fallback) carries a working binary inside the skill.

Every agent gets the identical assembled skill. See
ai/extensions/README.md for how the
assembled bundle reaches end users.

Reference other files by $SKILL_ROOT-anchored path

Every path a file mentions — links to other skill files, and the
helper scripts a workflow runs — is written as $SKILL_ROOT/<path>,
where <path> is relative to the skill root (the directory holding
SKILL.md) and never relative to the file doing the referencing. So
from workflows/android_memory/heap_dump.md:

follow `$SKILL_ROOT/infra-references/querying.md` first, then come back here.

Not ../../infra-references/querying.md (file-relative), and not a
bare infra-references/querying.md either. Likewise a helper script is
$SKILL_ROOT/workflows/android_memory/scripts/cluster_paths.py, and a
trace_processor invocation spells the full path:

trace_processor query --query-file \
  $SKILL_ROOT/workflows/android_memory/scripts/triage_dominator_path.sql TRACE_FILE

$SKILL_ROOT is the one anchor that makes this unambiguous. The skill
is loaded from a plugin/install directory that is not the agent’s
working directory (that’s the user’s workspace, where the trace lives),
so a bare relative path would resolve against the wrong place.
environment-references/setup.md — the always-required first read —
tells the agent to set $SKILL_ROOT to the directory it loaded
SKILL.md from, and to put the bundled $SKILL_ROOT/bin on the
session’s PATH so bare trace_processor commands work. Once it’s set,
every $SKILL_ROOT/... path resolves the same way regardless of the
working directory, whether the agent is opening a referenced markdown
file or passing a script to the shell.

The router (SKILL-template.md) sits at the skill root, so its
$SKILL_ROOT/... links have no intermediate ../; every other file
speaks the same path language. A file can move between subfolders
without rewriting its outgoing links (only references to it change).

更多fw实战开发干货,请关注下面“千里马学框架”

基于Simulink环境,提供一个关于如何对DC-DC变换器进行效率分析的仿真建模 效率定义:变换器效率通常定义为输出功率与输入功率之比,即 η=PoutPinη=Pin​Pout​​。重要性:高效率意味着更少的能量损失和更好的热管理,对于便携式设备、电动汽车等应用至关重要。挑战开关损耗:高频操作带来的开关器件损耗。导通损耗:电流流过电阻性元件(如MOSFET导通电阻)造成的能量损失。控制策略:优化控制算法以减少损耗。首先明确要模拟的任务内容。设计一个能够支持特定输入输出电压比的DC-DC变换器。根据工作频率和谐振元件值确定合适的电路参数。 阅读详情

相关推荐

AutoCAD提示找不到acdb24.dll、AcGe24.dll、AcPal.dll、AcUt.dll怎么办?

在我们安装了AutoCAD 2023版本以后,打开CAD,可能会出现dll文件丢失的情况,如下所示:1、由于找不到acdb24.dll,无法继续执行代码。重新安装程序可能解决此问题。2、由于找不到AcGe24.dll,无法继续执行代码。重新安装程序可能解决此问题。3、由于找不到AcPal.dll,无法继续执行代码。重新安装程序可能解决此问题。4、由于找不到AcUt.dll,无法继续执行代码。重新安装程序可能解决此问题。遇到AutoCAD启动系统错误,由于找不到dll文件该怎么处理呢?

huoxu369的博客 1万+

Android Perfetto Profilers Skills 简明使用指南

本文介绍了Android团队在GitHub上开源的Perfetto分析工具集,包含perfetto-sql和perfetto-trace-analysis两个核心组件。前者用于将自然语言查询转换为Perfetto SQL并执行数据提取,后者专注于通过证据链分析性能问题根因。文章详细说明了二者的适用场景、能力边界和使用方法,包括查询模板和分析流程示例。这套工具能有效帮助开发者定位Android应用的启动延迟、卡顿、内存异常等性能问题,提高问题定位效率和结论可靠性。

weixin_47540149的博客 767

HWDB1.1数据集处理全攻略:从gnt文件到PNG图片的完整转换教程

本文提供了HWDB1.1数据集处理的完整教程,详细解析了gnt二进制文件格式,并给出了从文件解析、标签映射到批量转换为PNG图片的Python脚本。教程涵盖了环境准备、跨平台解压方案,以及为PyTorch等深度学习框架准备数据的最佳实践,是进行手写汉字识别研究不可或缺的实用指南。

2w3e4r5t6y的博客 632

[260416] 谷歌 Chrome 推出 Skills 功能!帮你保存、复用提示词

谷歌Chrome推出Skills新功能,可将常用提示词保存为"一键脚本"。用户通过斜杠"/"或"+"号即可调用已存Skills,快速完成营养计算、参数对比等操作。该功能支持多端同步和安全管理,内置现成方案库并允许自定义修改。目前已向桌面端Chrome逐步推送,可显著提升网页处理效率。

edwinjhlee的博客 401

西门子CPU与汇川伺服通信与控制

第三方驱动器的配置内容和西门子的配置内容基本一致,基本上会一种即可知道其他品牌的配置默认报文,需要激活硬限位才能收到限位信号默认报文,原点信号不能实时输出到PLC;自定义报文,需要伺服端设置DIN点位。

大小曲奇的博客 1万+

基于STM32、HAL库的ZMOD4510AI4R气体传感器驱动程序设计

ZMOD4510AI4R是Renesas公司推出的一款数字空气质量传感器,主要用于检测臭氧(O₃)和总挥发性有机化合物(TVOC)浓度。(status & 0x80)) // 检查数据就绪位。// 等待测量完成 (实际应用中应该使用非阻塞方式)// 转换为ppb (简化转换,实际应根据传感器文档校准)* @param hzmod: ZMOD4510句柄。* @param tvoc: TVOC浓度(ppb)* @param ozone: 臭氧浓度(ppb)* @param hi2c: I2C句柄。

corlin6688的博客 312

Android 性能诊断 V2:基于 Agent Skill 的原生 IDE 融合架构

本文介绍了Android性能诊断方案从V1到V2的升级改进。将智能层迁移至IDE Agent实现,部署仅需两个文件,支持自然语言

lixiong0713的博客 621

DCNv4+YOLOv8:2024最新可变形卷积赋能目标检测,从原理到实战的科研级优化指南

从理解DCNv4“自适应变形卷积核”的核心思想,到亲手将其嵌入YOLOv8并验证在复杂场景的检测效果,再到基于此探索属于自己的科研与工程方向——这个过程能让你深刻理解目标检测中“特征自适应提取”的核心价值。现在就开始行动,相信你会在目标检测的“自适应特征提取”之路上,走出一条属于自己的技术路径。实验通常会证明:嵌入DCNv4后,YOLOv8在复杂场景下的检测精度提升3-5个百分点,尤其是小目标和遮挡目标的AP提升更为明显,而推理速度仅下降5%-10%(可通过模型量化进一步优化)。2024年最新推出的。

m0_64661770的博客 269

从侦探视角拆解Perfetto:帧卡顿的线索追踪与证据链构建

本文以侦探破案视角深入解析Perfetto在Android帧卡顿分析中的应用。通过追踪渲染流水线的关键阶段(应用绘制、缓冲区提交、合成与显示),构建完整的性能证据链,帮助开发者精准定位卡顿根源并实施有效的性能优化策略。

o1p2q3r的博客 471

2025电赛嵌入式:K210教程-如何刷固件 如何烧录代码 全网唯一

本文介绍了K210开发板的固件刷写和开发环境搭建方法。主要内容包括:1)从Sipeed官网下载合适的MaixPy固件,根据需求选择完整版或精简版;2)使用k-flash等工具烧录固件,注意区分亚博和Sipeed开发板的固件版本;3)介绍了擦除闪存的两种模式(部分擦除和完全擦除)及其应用场景;4)搭建CanMV开发环境,通过MaixPy IDE连接开发板并进行程序调试。文章还提供了常见问题的解决方法,如串口驱动安装、固件兼容性检查等,为K210开发提供了完整的入门指南。

FJN110的博客 547

Qt6.10 | Qt Bluetooth 蓝牙

本文介绍了QtBluetooth模块的功能和使用方法,包括蓝牙API概述、构建配置(CMake/qmake)、权限管理、平台支持(Linux/macOS特殊处理)、日志设置及许可信息。重点说明Linux平台的后端选择机制,以及macOS上的依赖限制。最后提及蓝牙聊天示例,展示RFCOMM协议通信的实现。全文提供了蓝牙开发的技术要点和注意事项。

Qt历险记,专注Qt技术,三年医疗设备研发经验,1年机器视觉研发经验,半年柔性传感研发经验。 401

Android 方向的 Harness 工程实战分享:SmartPerfetto AI Agent

LLM 做推理和表达,工具做查询和计算。Skill 数量从项目初期的十几个增长到现在的 158 个,增长的驱动力不是「尽可能多」,而是分析实践中不断遇到新的场景需要覆盖——比如最初只有标准 HWUI 的帧分析,后来遇到 Flutter 应用需要专门的 Skill,再遇到厂商差异需要 override,再遇到启动分析中 JIT、class loading、Binder pool 各自需要独立的检测逻辑。更重要的是,当 Claude 面对 80 个工具时,它的选择准确率会下降——工具太多,它不知道该用哪个。

安卓进化论 649

数据中台:大数据平台,数据仓库(DM),数据中台之间的联系以及异同分析

大数据平台是一个技术平台。这个技术平台提供了对于大数据的分布式采集,存储,流处理和计算,实时分析等能力。在没有大数据平台前也有数据集成和管理的平台,这种平台可以实现对结构化数据本身的采集,集成和管理。 管理平台,是在原生的大数据生态的基础之上,为了更好的管理集群服务,管理集群的资源,提供灵活SRE能力和资源核算审计能力的一系列工具和合称整体架构数据中台包括数据仓库的全部内容,数据仓库为数据中台提供了数据对外提供服务的基础资源,数据中台将数据仓库建设的投入价值进行最大化,以加快数据赋能业务的速度大家都知道数据

GIS摆渡人 2136

【Android 性能分析】第五天:Perfetto UI分析CPU

Perfetto UI是一款基于浏览器的系统级性能分析工具,可解析CPU调度、内存分配等数据,提供应用-系统-硬件全链路分析。支持多种trace文件格式,具有交互灵活、跨平台等特点。使用前需通过Android Studio Profiler或命令行生成trace文件。核心操作包括导入文件、主界面解析及交互技巧(缩放、搜索、轨道管理等)。典型分析场景包括CPU负载均衡、线程调度状态及方法耗时分析,帮助定位性能问题。

u012739527的博客 2240

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

Android 工程师的 AI 搭档:Android CLI + Skills 实战笔记

Android CLI 是 Google 推出的 AI Agent 命令行工具,通过安装 Skills 为工程引入 R8 优化、Perfetto 分析等专业能力。本文记录从安装到踩坑的完整实战过程,涵盖命令格式变化、GitHub 下载失败、缓存同步等问题的排查方法,并给出国内网络下的解决方案和实际使用场景。

帅次的博客 1171

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

安装 Android 官方 Skills:用 SKILL.md 与 Android CLI 打通 Agent 工作流

Android 官方 Skills 通过 SKILL.md 与 Android CLI 打通 Agent 工作流,本文从 android init 初始化、android skills add --all 批量安装到 android docs 调用验证,给出可复制命令与常见报错排查。配合 TaoToken 的 Coding Plan 可提升 Agent 长会话调用稳定性,详见 https://taotoken.net/?utm_source=taotoken_aicg_blog_end

Ceshi01的博客 20

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

深入 Cindy 移动端模拟器调试:证据链、Metro 归属与渲染风暴取证实战

本文以仓库中的移动端调试规范为主线,系统讲解如何在 iOS Simulator 与 Windows Android Emulator 上稳定运行 `apps/mobile`,并给出“我看到的到底是哪一版代码”的完整证据链:从 `pnpm mobile:sim:*` 工具族的身份闸门、`__DEV__` build label 的指纹注入,到原生指纹校验、渲染风暴测量与设备日志导出。读完之后,你应当

gitblog_01071的博客 413

IronClaw Reborn 集成测试体系:只在模型层造假、全链路真实的测试设计与实战指南

本文基于 IronClaw 仓库 `tests/integration/` 目录的官方测试指南,系统讲解 Reborn 集成测试分层的定位与边界、"唯一假模型"的注入原理、`RebornIntegrationHarness` 的标准测试形态与脚本纪律、各类 Capability 的按需接入方式,以及多线程序列(Group)测试的编写规范。读完之后,你可以直接在该仓库的集成测试体系中编写新场景:知道

gitblog_00507的博客 902

AiSOC MISP Push 实战指南:把 STIX 2.1 指标单向镜像到 MISP

AiSOC 的威胁情报服务原本只能从 MISP **只读拉取**事件,MISP push 集成补齐了反向链路的最后一段:任何通过 `/api/v1/threatintel/stix/indicators` 或 `/bundles` 发布的 STIX 2.1 指标,都可以按需或自动镜像成下游 MISP 实例中的原生事件。读完本文,你将掌握该集成的完整配置项、四个 HTTP 端点的调用方式、STIX→

gitblog_00782的博客 1063

Google I/O 2026 Android 开发最新动态

Google I/O 2026:Android迈向智能系统,五大维度全面革新 Google I/O 2026宣布Android从操作系统转向智能系统,带来密集更新: Compose First:传统View体系进入维护模式,新功能仅支持Compose,适配多设备统一开发; AI Agent生态:推出AppFunctions、A2UI协议和ADK框架,实现Agent调用应用功能、动态生成UI及多Agent协同; 性能分析Agent化:Android Studio集成AI驱动的性能分析工具,如Perfetto

移动端开发干货分享 934

AI工具为啥可以分析Perfetto性能?手把手教你常用SQL分析性能问题

问题数据严重程度建议threadMain 卡顿最大 175.71ms🔴 严重需深入分析代码RenderThread 掉帧40% 掉帧率🔴 严重优化绘制逻辑Binder 延迟平均 28ms🟡 中等改为异步调用Handler 消息最大 13ms🟢 轻微持续监控参考Perfetto 文档:https://perfetto.dev/docs/SQL 表参考:https://perfetto.dev/docs/analysis/sql-tables。

learnframework的博客 699

使用AI分析trace

之前有记录过trace分析步骤AI时代,借助AI工具,我们能更高效地分析trace官网。

叶辞树的博客 194

Android Perfetto Trace性能分析

本文介绍了 Perfetto 配置生成、抓取 Trace、使用 Perfetto UI 分析 Trace 三块内容。在 Trace 分析时主要介绍了基于 CPU 的分析,没有介绍 GPU、内存、电量分析的细节,因为日常工作中本人用的不是很多,所以暂时写不了就不误导读者了,有机会再补充一篇文章。本文介绍的内容是不到官网的 1/3 的,但是一些细节也是官网没有的,很多人在实操时就卡在这些细节上,这也是我写这篇文章的原因。

布莱克‌ 2万+

OpenPerfetto — AI Agent + Trace 分析的尝试与经验分享

OpenPerfetto:AI与Trace分析的创新融合工具 摘要:OpenPerfetto是一款将AI Agent深度集成到Perfetto Trace分析工具中的开源项目,旨在解决性能分析工作中的两大痛点:AI独立分析的可信度问题和传统Trace工具的操作繁琐性。该项目采用前后端分离架构,前端基于Perfetto UI实现Agent核心模块,后端构建Skills系统和LLM代理,实现AI Agent对于Trace的智能分析。

engine1016的博客 1221

「快马 + Perfetto:AI 驱动的性能分析与一键优化实践」

对于需要持续运行的服务类项目,平台的部署功能特别实用。我测试的一个Node.js服务,通过自动生成的优化方案,QPS直接从120提升到了210,整个过程不到10分钟。这套组合拳特别适合中小团队——既获得了专业级性能工具的能力,又不需要搭建复杂分析环境。特别是他们的AI对话区,直接描述性能问题就能获得定制化建议,对我这种非专业运维人员特别友好。最近在研究性能优化工具时,发现Google开源的Perfetto确实是个宝藏。的AI能力,可以打造出更智能的性能优化方案。:编辑代码时就能看到当前函数的性能评分。

GoldEagle19的博客 622

SmartPerfetto Skill系统深度剖析:如何用YAML DSL把性能专家经验打包成可复用分析管道

SmartPerfetto 是一个 AI 辅助的 Perfetto 性能分析平台,而它真正的"专家大脑"藏在 **Skill 系统**里:用一套 **YAML DSL** 把卡顿排查、启动分析、CPU 取证等性能分析流程写成可复用、确定性执行的**分析管道**。新手不用再手写 SQL——AI Agent 只负责决定"调用哪个 Skill",Skill 引擎负责"怎么查数据、怎么展示结果",一问一答

gitblog_01018的博客 13
上一篇: Android Framework 新手学习踩坑建议指南
下一篇: Perfetto重大更新:一边分析trace一边看画面录屏结合功能
千里马学框架
博客等级 码龄6年 1万+粉丝 651原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

千里马学框架

帮助你了,就请我喝杯咖啡

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值