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

add orjson #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add orjson #53

wants to merge 1 commit into from

Conversation

poiuty
Copy link

@poiuty poiuty commented Aug 17, 2020

No description provided.

@smmalis37
Copy link
Contributor

Are there any benchmarks comparing orjson to the other options? Should it really be the preferred option in cases where more than 1 are present?

@poiuty
Copy link
Author

poiuty commented Aug 18, 2020

@smmalis37, https://github.com/ijl/orjson#performance

@JustinTArthur
Copy link
Collaborator

I have no issue with us supporting orjson as well, will run some benchmarks against typical Bitcoin block serialization. I've restarted the tests for this PR now that they're working again.

@JustinTArthur JustinTArthur self-requested a review October 12, 2020 02:44
except ImportError:
import json

print("using", json.__name__)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you remove this print statement for now? It should eventually be a logger.debug from one of the modules responsible for environment on startup.

@smmalis37
Copy link
Contributor

Could the json-related note in https://github.com/spesmilo/electrumx/blob/master/docs/PERFORMANCE-NOTES also get updated?

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.

3 participants