benchmark

Execute Gradle benchmark tasks on Android modules and generate a detailed report.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/oscardlfr/AndroidCommonDoc --skill benchmark-oscardlfr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark
Source: https://github.com/oscardlfr/AndroidCommonDoc/tree/main/skills/benchmark
Command: npx skills add https://github.com/oscardlfr/AndroidCommonDoc --skill benchmark-oscardlfr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of running and summarizing benchmarks across Android modules, providing quick insights into performance and module behavior.

Core Features & Use Cases

  • Run Benchmarks: Execute benchmark Gradle tasks for each module and platform.
  • Parse Results: Parse JSON results from build/reports/benchmarks/.
  • Display Summary: Show agent-friendly results summary with platform availability and per-module benchmark results.
  • Detailed Report: Save a detailed report to benchmark-report.md.
  • Use Case: For developers who need to quickly assess the performance of their Android modules across different platforms and configurations.

Quick Start

Run the benchmark skill to get a performance summary for all modules with the command: /benchmark

Frequently Asked Questions about benchmark

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

FAQPage Schema
How do I run and summarize benchmarks across Android modules?

You can run benchmarks across Android modules by executing Gradle tasks that parse performance JSON results from build reports and output a detailed summary to benchmark-report.md.

What is the best way to parse Android benchmark results from Gradle tasks?

The best way to parse Android benchmark results is to use a script that reads JSON output from build reports, extracts per-module performance metrics, and displays an agent-friendly summary of platform availability.

Do I need a specific environment configured to run Android module benchmarks?

You need a configured Android project environment with available Gradle tasks to execute benchmark scripts and generate the JSON reports required for performance analysis.

Can I assess performance across different platforms for my Android modules?

Yes, you can assess performance across different platforms by running benchmark Gradle tasks for each module and platform, then parsing the JSON results to display platform availability and per-module metrics.

What limitations exist when generating benchmark reports for Android modules?

Generating benchmark reports depends entirely on pre-configured Gradle tasks and a properly set up Android environment, meaning it cannot execute performance tests if the project lacks the required build scripts.

Why does my benchmark summary not show results for all my Android modules?

Your benchmark summary may not show all modules if the Gradle tasks fail to execute or if the expected JSON results are missing from the build reports directory for specific platforms.