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

Performance Benchmark #2

Open
veered opened this issue Jun 20, 2018 · 4 comments
Open

Performance Benchmark #2

veered opened this issue Jun 20, 2018 · 4 comments

Comments

@veered
Copy link

veered commented Jun 20, 2018

Do you have any benchmarks comparing this parser with the standard BSON parser https://github.com/mongodb/js-bson?

@mpaland
Copy link
Owner

mpaland commented Jun 21, 2018

No, sorry, I have not. But I would love to. 😃
I named it "ultrafast" because my implemention has no overhead and is very short.
The time I initially wrote bsonfy, mongodbs js-bson had too many dependencies and was rather slow in my app handling big amounts of data, so bsonfy did a much better job for me. I don't know anything about the actual js-bson (improvements).

However, there is no comparable benchmark. Perhaps you would like do do one and create a PR.

@veered
Copy link
Author

veered commented Jun 21, 2018

Not sure I have the time to make a benchmark, but thanks for responding!

@mitar
Copy link

mitar commented Oct 30, 2020

I made some benchmarks here: https://jsbench.me/mrkgvc8amp/1

@mitar
Copy link

mitar commented Oct 30, 2020

And with binary data: https://jsbench.me/pokgvl6gsb/1

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

No branches or pull requests

3 participants