pydantic / jiter

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

support `float_mode='decimal'` #116

Closed samuelcolvin closed 2 months ago

samuelcolvin commented 3 months ago

fix #108

codspeed-hq[bot] commented 3 months ago

CodSpeed Performance Report

Merging #116 will degrade performances by 10.62%

Comparing return-decimal (b74e534) with main (b613634)

Summary

❌ 1 regressions ✅ 72 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main return-decimal Change
true_array_jiter_skip 4.5 µs 5 µs -10.62%
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 89.58333% with 5 lines in your changes missing coverage. Please review. Files Patch % Lines
crates/jiter/src/py_lossless_float.rs 76.92% 3 Missing :warning:
crates/jiter/src/errors.rs 0.00% 1 Missing :warning:
crates/jiter/src/python.rs 96.77% 1 Missing :warning:

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