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

fix(NODE-5577): improve ObjectId serialization by around 10% #614

Merged
merged 4 commits into from
Sep 8, 2023

Conversation

billouboq
Copy link
Contributor

@billouboq billouboq commented Aug 24, 2023

Description

Improving ObjectId Serialisation by 10% and add an ObjectId serialisation benchmark

What is changing?

Remove buffer.set and subarray call and use a basic for loop

@nbbeeken nbbeeken changed the title Improve ObjectId serialization by around 10% fix(NODE-5577): improve ObjectId serialization by around 10% Aug 24, 2023
@W-A-James
Copy link
Contributor

Hi @billouboq thanks for this PR. We'll be accepting this change, but will have to make some changes to your benchmarks to work with our new benchmark infrastructure.

@billouboq
Copy link
Contributor Author

@W-A-James nice, perfect ! 👍

@W-A-James W-A-James self-assigned this Sep 5, 2023
@W-A-James
Copy link
Contributor

Link with successful evergreen run (pinned npm version)

https://spruce.mongodb.com/version/64f9d32d2fbabef3600b9c8b/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

@W-A-James W-A-James removed their assignment Sep 7, 2023
@baileympearson baileympearson self-assigned this Sep 8, 2023
@baileympearson baileympearson added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Sep 8, 2023
@baileympearson baileympearson added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Sep 8, 2023
@baileympearson baileympearson merged commit 81c8fa1 into mongodb:main Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants