Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bson-bench): add bson-bench library #1

Merged
merged 55 commits into from
Nov 8, 2023
Merged

Conversation

W-A-James
Copy link
Collaborator

@W-A-James W-A-James commented Oct 17, 2023

Description

This PR adds the bson-bench library described in NODE-5693.

What is changing?

  • Adds bson-bench library
  • Changes repo structure to use npm workspaces

Double check the following

  • Ran npm run check:lint script
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

bson-bench/src/common.ts Outdated Show resolved Hide resolved
bson-bench/src/common.ts Outdated Show resolved Hide resolved
bson-bench/package.json Outdated Show resolved Hide resolved
bson-bench/src/base.js Outdated Show resolved Hide resolved
bson-bench/src/base.js Outdated Show resolved Hide resolved
bson-bench/src/common.ts Outdated Show resolved Hide resolved
bson-bench/src/task.ts Outdated Show resolved Hide resolved
bson-bench/test/utils.ts Outdated Show resolved Hide resolved
bson-bench/README.md Outdated Show resolved Hide resolved
@W-A-James W-A-James changed the title add bson-bench package NODE-5693: add bson-bench library Oct 18, 2023
@W-A-James W-A-James changed the title NODE-5693: add bson-bench library feat(bson-bench): add bson-bench library Nov 6, 2023
Copy link
Member

@durran durran left a comment

Choose a reason for hiding this comment

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

We've actually got more useful failures on the actions now: https://github.com/mongodb-js/dbx-js-tools/actions/runs/6773529163/job/18408594706?pr=1 (tests are actually running)

@W-A-James
Copy link
Collaborator Author

Getting one failure I can't yet account for. On Node 20, we fail to install bson-ext from a git commit due to a failure with node-gyp.

The other failures are with installing bson-6.0.0 which is strange because when these tests are run in isolation, they pass.

packages/bson-bench/src/common.ts Outdated Show resolved Hide resolved
nbbeeken
nbbeeken previously approved these changes Nov 7, 2023
@nbbeeken
Copy link
Collaborator

nbbeeken commented Nov 7, 2023

Discussing with @W-A-James we can go ahead an merge this to get a majority of the code landed, and he will open subtasks and corresponding new PRs here if there are further small bug fixes needed to get the bench runner working over in that CI.

@durran durran merged commit fc0a6c6 into main Nov 8, 2023
4 checks passed
@durran durran deleted the NODE-5693/create_bson_bench branch November 8, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Pull request has finished primary review and is ready for team to take a look
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants