Skip to content

RUBY-3812 Don't use the legacy datasets for bson benchmarks#3059

Open
jamis wants to merge 1 commit into
mongodb:masterfrom
jamis:3812-deep_bson-benchmarks
Open

RUBY-3812 Don't use the legacy datasets for bson benchmarks#3059
jamis wants to merge 1 commit into
mongodb:masterfrom
jamis:3812-deep_bson-benchmarks

Conversation

@jamis

@jamis jamis commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

The legacy data sets were being unpacked on top of the recent data sets, and so the recent data sets were never being used by the benchmarks. This PR explicitly skips the legacy data sets so they don't clobber the recent ones.

Copilot AI review requested due to automatic review settings June 11, 2026 20:32
@jamis jamis requested a review from a team as a code owner June 11, 2026 20:32
@jamis jamis requested a review from comandeo-mongo June 11, 2026 20:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the DriverBench data download rake task to avoid unpacking legacy benchmarking datasets on top of the current datasets, ensuring benchmarks use the intended (non-legacy) data.

Changes:

  • Skip extracting .tgz archives identified as legacy datasets during the data download/unpack step.

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

mkdir_p DRIVER_BENCH_DATA

Dir.glob(File.join(SPECS_PATH, 'source/benchmarking/data/*.tgz')) do |archive|
next if archive.include?('legacy') # skip the legacy data sets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants