Skip to content
Back to skills

Run Rust Benchmarks

ASecurity

Run Rust benchmarks and compare performance with the C implementation.

  • 67 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsrustgobashperformance

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add ComeOnOliver/skillshub --skill run-rust-benchmarks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Run Rust Benchmarks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Run Rust Benchmarks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/comeonoliver-run-rust-benchmarks/badge)](https://www.skillsdirectory.com/skills/comeonoliver-run-rust-benchmarks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Rust Benchmarks Skill

Run Rust benchmarks and compare performance with the C implementation.

## Arguments
- `<crate>`: Run the given benchmark crate (e.g., `/run-rust-benchmarks rqe_iterators_bencher`)
- `<crate> <bench>`: Run specific bench in a benchmark crate (e.g., `/run-rust-benchmarks rqe_iterators_bencher "Iterator - InvertedIndex - Numeric - Read Dense"`)

Arguments provided: `$ARGUMENTS`

## Instructions

1. Check the arguments provided above:
   - If a crate name is provided, run benchmarks for that crate:
     ```bash
     cd src/redisearch_rs && cargo bench -p <crate_name>
     ```
   - If both crate and bench name are provided, run the specific bench:
     ```bash
     cd src/redisearch_rs && cargo bench -p <crate_name> <bench_name>
     ```
2. **Run benchmarks only once.** If the output is too large or truncated, extract the timing data from the saved output file rather than re-running the benchmarks.
3. Once the benchmarks are complete, generate a summary comparing the average run times between the Rust and C implementations.

## Common Benchmark Commands

```bash
# Bench given crate
cd src/redisearch_rs && cargo bench -p rqe_iterators_bencher
cd src/redisearch_rs && cargo bench -p inverted_index_bencher

# Run a specific benchmark
cd src/redisearch_rs && cargo bench -p rqe_iterators_bencher "Iterator - InvertedIndex - Numeric - Read Dense"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.