Agent Skillsgoogle/filament › filament-desktop-testing

filament-desktop-testing

GitHub

用于在桌面平台执行 Filament 单元测试和性能基准测试。支持直接运行编译后的二进制文件,并利用 gtest 或 benchmark 参数过滤特定测试用例,适用于本地调试与性能验证场景。

skills/filament_desktop_testing/SKILL.md google/filament

触发场景

需要运行 Filament 单元测试 需要执行性能基准测试 需要过滤特定测试用例

安装

npx skills add google/filament --skill filament-desktop-testing -g -y
更多选项

不安装直接使用

npx skills use google/filament@filament-desktop-testing

指定 Agent (Claude Code)

npx skills add google/filament --skill filament-desktop-testing -a claude-code -g -y

安装 repo 全部 skill

npx skills add google/filament --all -g -y

预览 repo 内 skill

npx skills add google/filament --list

SKILL.md

Frontmatter
{
    "name": "filament-desktop-testing",
    "description": "Execute unit tests and performance benchmarks for Filament on desktop platforms. Use this skill to run and filter tests or benchmarks locally."
}

Filament Desktop Testing and Benchmarking

This skill covers running tests and performance benchmarks on desktop platforms.

1. Executing a Unit Test

Run compiled unit test binaries directly from their respective build output directories.

Example: Running utils unit tests (Debug)

./out/cmake-debug/libs/utils/test_utils

Example: Running filament unit tests (Debug)

./out/cmake-debug/filament/test/test_filament

Filtering Tests

Use standard Google Test (gtest) command-line parameters to run a subset of tests:

./out/cmake-debug/filament/test/test_filament --gtest_filter=Suite.TestName

2. Executing a Benchmark

Run compiled performance benchmarks from the release build output directories.

Example: Running filament benchmarks (Release)

./out/cmake-release/filament/benchmark/benchmark_filament

Filtering Benchmarks

Use standard Google Benchmark parameters to filter specific benchmarks:

./out/cmake-release/filament/benchmark/benchmark_filament --benchmark_filter=lutGeneration

版本历史

  • d8b4a37 当前 2026-08-20 07:30

同 Skill 集合

skills/bindings_synchronization/SKILL.md
skills/code_review/SKILL.md
skills/cpp_header_inclusion/SKILL.md
skills/cpp_static_thread_safety/SKILL.md
skills/filament_android_development/SKILL.md
skills/filament_build_clean/SKILL.md
skills/header_self_containment/SKILL.md
skills/preprocessor_guard_hygiene/SKILL.md
skills/verification_protocols/SKILL.md
tools/ai/agents/skills/filament_lifetime/SKILL.md
tools/ai/agents/skills/filament_math/SKILL.md

元信息

文件数
0
版本
d30bc32
Hash
e5555bb2
收录时间
2026-08-20 07:30

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 21:08
浙ICP备14020137号-1 $访客地图$