agentsclimarketplace

Run rust benchmarks

Skill ComeOnOliver/skillshub/skills/RediSearch/RediSearch/run-rust-benchmarks

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.From the repository description

Install
npx -y skills add ComeOnOliver/skillshub --skill run-rust-benchmarks

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.4 KB, 337 tokens by cl100k_base, as published. Nobody here has run it

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:
      cd src/redisearch_rs && cargo bench -p <crate_name>
      
    • If both crate and bench name are provided, run the specific bench:
      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

# 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"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.