Agent skill
performance-benchmark-kzahedi-yars-2
Runs performance benchmarks on YARS with long simulations to detect performance regressions
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/performance-benchmark-kzahedi-yars-2
SKILL.md
Performance Benchmark
This skill runs performance benchmarks to measure simulation speed and detect performance regressions.
Usage
Automatically invoked when:
- User asks to benchmark or test performance
- After optimization work
- Comparing performance before/after changes
- Validating that refactoring didn't slow down simulation
Benchmark Tests
Test 1: Braitenberg Extended Run
cd build
time timeout 120s ./bin/yars --iterations 10000 --xml ../xml/braitenberg_logging.xml
Test 2: Falling Objects Physics Test
cd build
time timeout 120s ./bin/yars --iterations 10000 --xml ../xml/falling_objects.xml
Success Criteria
- ✅ Simulations complete without timeout
- ✅ Time measurements recorded
- ✅ Performance within acceptable range
- ✅ No crashes during extended runs
Reporting
Reports should include:
- Real/user/sys time for each test
- Iterations per second
- Comparison with previous benchmarks if available
- Any performance degradation warnings
Notes
- Should be run with release build for accurate results
- Use timeout to prevent runaway simulations
- Benchmark results vary by hardware
- Track trends over time rather than absolute values
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?