Skip to content

Benchmarker#413

Merged
adespawn merged 1 commit intoscylladb:mainfrom
adespawn:benchmarker
Mar 18, 2026
Merged

Benchmarker#413
adespawn merged 1 commit intoscylladb:mainfrom
adespawn:benchmarker

Conversation

@adespawn
Copy link
Contributor

@adespawn adespawn commented Mar 13, 2026

This PR adds configuration for the benchmarker, alongside some simple documentation how to use it in the case of this driver

@adespawn adespawn self-assigned this Mar 16, 2026
@adespawn adespawn added the benchmark Things related to benchmarking the driver label Mar 16, 2026
@adespawn adespawn requested a review from Copilot March 16, 2026 10:56
@adespawn adespawn marked this pull request as ready for review March 16, 2026 10:56
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds initial configuration and documentation to run this repo’s benchmarks via an external “benchmarker” tool, covering both JS and Rust backends.

Changes:

  • Introduces benchmark runner YAML configs for ScyllaDB JS driver, DataStax/Cassandra JS driver, and the Rust driver.
  • Adds wrapper scripts to adapt benchmark runner arguments/environment to existing benchmark entrypoints.
  • Expands benchmark/README.md with usage instructions and ignores generated benchmark artifacts.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
benchmark/runner-config/config.yml Defines default benchmark runner parameters and starting steps per benchmark.
benchmark/runner-config/scylladb-driver/config.yml Adds backend config for running JS benchmarks against scylladb-driver-alpha.
benchmark/runner-config/cassandra-driver/config.yml Adds backend config for running JS benchmarks against cassandra-driver.
benchmark/runner-config/rust-driver/config.yml Adds backend config for building/running Rust benchmark binaries.
benchmark/runner-config/run-js-benchmark.sh Wrapper to run JS benchmark entrypoints with (driver, N) arguments.
benchmark/runner-config/run-rust-benchmark.sh Wrapper to run Rust benchmark binaries with CNT env set from N.
benchmark/README.md Documents the new benchmarker-based workflow and plotting.
.gitignore Ignores benchmark output artifacts (.db, .svg).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

This commit introduces configuration files for the benchmark runner
(an internal tool we created for benchmarking different drivers).
This configuration reflect the current configuration present in
the existing python runner.
@adespawn adespawn merged commit 8f288e2 into scylladb:main Mar 18, 2026
8 checks passed
@adespawn adespawn deleted the benchmarker branch March 18, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmark Things related to benchmarking the driver

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants