compare_energy
Compare the energy usage of two functionally equivalent commands to identify which consumes less power and by how much.
Instructions
Measure two commands and report which consumes less energy and by what margin.
Only meaningful if both commands are functionally equivalent (same outputs for the same inputs) — verify that separately before drawing conclusions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repeats | No | ||
| command_a | Yes | ||
| command_b | Yes | ||
| idle_seconds | No |