Install any skill in seconds. Free to start, no credit card required.
Get Started Free →CLI performance workflow for RTK covering startup time, memory usage, binary size, and token savings benchmarking against set targets.
61% 87%+26 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 14 of 23 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Systematic performance analysis and optimization for RTK CLI tool, focusing on startup time (<10ms), memory usage (<5MB), and token savings (≥20% floor).
| Metric | Target | Verification Method | Failure Threshold |
|---|---|---|---|
| Startup time | <10ms | hyperfine 'rtk <cmd>' | >15ms = blocker |
| Memory usage | <5MB resident | /usr/bin/time -l rtk <cmd> (macOS) | >7MB = blocker |
| Token savings | ≥20% floor | Tests with count_tokens() | <20% = blocker |
| Binary size | <5MB stripped | ls -lh target/release/rtk | >8MB = investigate |
Before making any changes, capture current performance:
# Startup time baseline
hyperfine 'rtk git status' --warmup 3 --export-json /tmp/baseline_startup.json
# Memory usage baseline (macOS)
/usr/bin/time -l rtk git status 2>&1 | grep "maximum resident set size" > /tmp/baseline_memory.txt
# Memory usage baseline (Linux)
/usr/bin/time -v rtk git status 2>&1 | grep "Maximum resident set size" > /tmp/baseline_memory.txt
# Binary size baseline
ls -lh target/release/rtk | tee /tmp/baseline_binary_size.txt
Next to this one in the catalogue, plus more from the same author.