Skip to content

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

@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

3 participants