Skip to content

Migrate from built-in json to faster orjson #576

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

Merged
merged 1 commit into from
Aug 14, 2025
Merged

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Aug 1, 2025

It is way faster than the current json parser: https://github.com/ijl/orjson?tab=readme-ov-file#performance

Description

Non-technical explanation

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Aug 1, 2025
@wendigo wendigo force-pushed the serafin/faster-python branch 3 times, most recently from be2ec04 to 0a16e44 Compare August 1, 2025 14:31
@wendigo
Copy link
Contributor Author

wendigo commented Aug 1, 2025

After:

Time taken to list 3.7669169902801514 1000000 rows

Before:

Time taken to list 4.240105867385864 1000000 rows

@wendigo
Copy link
Contributor Author

wendigo commented Aug 13, 2025

@hashhar ptal

@wendigo wendigo force-pushed the serafin/faster-python branch from 4f0bf9c to 99eddd0 Compare August 14, 2025 09:35
@wendigo wendigo requested a review from damian3031 August 14, 2025 09:36
@wendigo wendigo force-pushed the serafin/faster-python branch from 99eddd0 to c4a26ef Compare August 14, 2025 09:38
@hashhar hashhar merged commit 9f66e93 into master Aug 14, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants