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

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

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 wendigo force-pushed the serafin/faster-python branch from 0a16e44 to 4f0bf9c Compare August 4, 2025 08:33
@wendigo wendigo requested review from hovaesco, mdesmet and hashhar August 4, 2025 08:38
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.

1 participant