Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

running-benchmarks

Skill by elastic

Runs Rally benchmarks, called races, against Elasticsearch and reads the summary report. It is for engineers who need to measure Elasticsearch performance on an existing cluster or a Rally-provisioned distribution.

  • Score 81
  • 2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install running-benchmarks

Built from the published package, never by AI.

git clone --depth 1 https://github.com/elastic/rally /tmp/rally && mkdir -p ~/.claude/skills && cp -r /tmp/rally/skills/running-benchmarks ~/.claude/skills/running-benchmarks

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install running-benchmarks in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an assistant through running Rally benchmarks, called races, against Elasticsearch. It covers an existing or external cluster, or a Rally-provisioned distribution, with TLS, basic auth or API key options. It also explains how to check that queries return the expected results before trusting the numbers.

After a race, the skill helps interpret the summary report, including throughput, latency, service_time, processing_time and error rate. It is aimed at engineers who need to measure Elasticsearch performance and read the results correctly. The source recommends a dedicated cluster you control, and warns against benchmarking production.

Written from the project's SKILL.md and checked against it.

What it can do

  • Choose a pipelinePicks benchmark-only, from-distribution or from-sources based on the flags used.
  • Launch a raceRuns esrally race with a track, target hosts and pipeline settings.
  • Secure connectionsSets TLS and basic auth through the client-options flag.
  • API key authConnects with an API key, including Elastic Cloud and Serverless setups.
  • Record race IDsAssigns or stores a race-id so results can be found later.
  • Validate correctnessChecks error rate and uses abort-on-error and assertions before trusting results.
  • Read summary reportExplains throughput, latency, service_time, processing_time and error rate.
  • Save reportsWrites the race report to a file in markdown or CSV format.

What you need

  • An Elasticsearch cluster to benchmark, existing or Rally-provisioned
  • Rally (esrally) installed
  • Connection details such as target hosts, and credentials if the cluster is secured
  • A non-root user, since Elasticsearch will not start as root

Try asking

  • Run a Rally race on my Elasticsearch cluster using the pmc track
  • Explain the difference between latency and service_time in this report
  • Check the error rate of my last Rally race before trusting throughput

Good to know

  • Strongly avoid benchmarking production, since Rally creates, writes and deletes indices
  • benchmark-only results are not easily reproducible and omit host-level metrics
  • Rally does not abort on query errors by default, which can skew results
  • Races are long-running, often 20+ minutes, and download large corpora on first run

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/running-benchmarks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to running-benchmarks

All alternatives →
hugging-face-datasetssickn33
94

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.

AAA Skill 50k
db-repairgarrytan
94

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.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

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.

AAA Skill 116k
fix-slow-queriespaperclipai
94

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.

AAA Skill 119k
prisma-8prisma
94

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.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

running-benchmarks: common questions

Does Rally change data on the cluster it benchmarks?

Yes. The source says Rally mutates cluster state, including creating, writing to and deleting indices. It recommends a dedicated, quiet environment.

Why are local Rally runs less reliable?

Running locally places the load driver and the system under test on one host, where they can perturb each other's measurements. The source suggests local runs suit smoke tests, development and demos.

What is the difference between latency and service_time?

Latency includes the time a request waits in the queue before Rally sends it. Service_time covers only the request to response.

How do I install running-benchmarks?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is running-benchmarks free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is running-benchmarks safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, 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 running-benchmarks?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

running-benchmarks Install

Add to stack

Loading.