pydantic / jiter

Fast iterable JSON parser.
https://crates.io/crates/jiter
MIT License
182 stars 11 forks source link

Partial JSON parsing support trailing strings #101

Closed samuelcolvin closed 3 months ago

samuelcolvin commented 3 months ago

fix #82

To install:

pip install git+https://github.com/pydantic/jiter.git@partial-json-partial-strings#subdirectory=crates/jiter-python
codspeed-hq[bot] commented 3 months ago

CodSpeed Performance Report

Merging #101 will improve performances by 12.92%

Comparing partial-json-partial-strings (ef1b244) with main (240f180)

Summary

⚡ 2 improvements ✅ 71 untouched benchmarks

Benchmarks breakdown

Benchmark main partial-json-partial-strings Change
x100_jiter_iter 2.9 µs 2.6 µs +12.92%
x100_jiter_value 3.4 µs 3 µs +10.14%
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 94.54545% with 6 lines in your changes are missing coverage. Please review. Files Patch % Lines
crates/jiter/src/python.rs 81.81% 6 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!