Skip to content

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