Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
Repository
RediSearch
Skill
run-rust-benchmarks
About run-rust-benchmarks
Run Rust benchmarks and compare performance with the C implementation
run-rust-benchmarks is an agent skill listed in the AddMCP.net directory, published by RediSearch. Runtime: Rust. The repository has 6,247 GitHub stars. Source code is hosted on github.com. Related topics: fulltext, geospatial, gis, inverted-index, redis.
Overview
What is run-rust-benchmarks?
name: run-rust-benchmarks description: Run Rust benchmarks and compare performance with the C implementation. Use this when you work on migrating C code to Rust and want to ensure performance is not regressed.
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
- 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>
- 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.
- 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"
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In