run-macro-benchmarks
Skill by RediSearch
Runs a RediSearch end-to-end macro benchmark from tests/benchmarks/*.yml using redisbench-admin. Meant for measuring whole-module throughput and latency against a real redis-server, not Rust or C++ micro-benchmarks.
Install run-macro-benchmarks
Built from the published package, never by AI.
git clone --depth 1 https://github.com/RediSearch/RediSearch /tmp/RediSearch && mkdir -p ~/.claude/skills && cp -r /tmp/RediSearch/.skills/run-macro-benchmarks ~/.claude/skills/run-macro-benchmarksRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/RediSearch/RediSearch /tmp/RediSearch && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/RediSearch/.skills/run-macro-benchmarks ~/.gemini/antigravity-cli/skills/run-macro-benchmarksAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install run-macro-benchmarks in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill runs an end-to-end macro benchmark for RediSearch from a tests/benchmarks/*.yml config. It uses redisbench-admin run-local to load the release redisearch.so and rejson.so modules into a real redis-server and measure whole-module throughput and latency. With no argument, it lists the available benchmark files and asks which one to run.
Before running, the skill checks that exactly one release build of each module exists under bin/, that port 6379 is free, and that the Python benchmark dependencies are installed. It saves the run output to a log, runs the benchmark once, and summarizes ops/sec and latency percentiles. It is for developers who want whole-module performance numbers rather than micro-benchmarks.
Written from the project's SKILL.md and checked against it.
What it can do
- List benchmarksLists the tests/benchmarks/*.yml files when no benchmark is given.
- Run a macro benchmarkRuns a chosen benchmark with redisbench-admin run-local against a real redis-server.
- Check module buildsConfirms exactly one release redisearch.so and rejson.so exist under bin/.
- Check port 6379Confirms port 6379 is free before starting the benchmark server.
- Log benchmark outputSaves the run output to a log file for later searching.
- Summarize resultsReports throughput in ops/sec and latency percentiles from the run.
What you need
- Release builds of redisearch.so and rejson.so under bin/
- redis-server on PATH
- memtier_benchmark and ftsb_redisearch on PATH for some benchmarks
- Python benchmark dependencies from tests/benchmarks/requirements.txt
Try asking
- Run the search-expire-doc-json-10-milliseconds macro benchmark
- List the available macro benchmarks in tests/benchmarks
- Summarize throughput and latency from the last benchmark run
Good to know
- Benchmarks the release build only; a debug or coverage build under bin/ causes an error.
- The benchmark runs once; the skill does not re-run it to see more output.
- Port 6379 must be free, and the skill does not stop an existing server on it.
- Do not run the benchmark at the same time as build or cargo commands.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .skills/run-macro-benchmarks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to run-macro-benchmarks
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
run-macro-benchmarks: common questions
What does run-macro-benchmarks measure?
It measures whole-module performance of RediSearch, reported as throughput and latency, against a real redis-server.
When should I use this skill instead of the Rust benchmarks?
Use it for end-to-end module performance. The source says Rust micro-benchmarks use the separate /run-rust-benchmarks skill.
Why does the skill refuse to pick between two module builds?
If more than one release redisearch.so or rejson.so is found, the benchmark would not know which build to measure, so the skill stops and asks the user.
How do I install run-macro-benchmarks?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is run-macro-benchmarks free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is run-macro-benchmarks safe to use?
It scores 75 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to run-macro-benchmarks?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
