Avatar for the pydantic user
pydantic
jiter
BlogDocsChangelog

expose `known_number_bytes` and parser methods for bytes -> number

#250
Comparing
dh/known-number-bytes
(
0bb223a
) with
main
(
dcdc93d
)
CodSpeed Performance Gauge
0%
Untouched
70

Benchmarks

70 total
sentence_jiter_value
crates/jiter/benches/main.rs::benches::sentence_jiter_value
CodSpeed Performance Gauge
+7%
8.5 µs7.9 µs
unicode_serde_value
crates/jiter/benches/main.rs::benches::unicode_serde_value
CodSpeed Performance Gauge
+7%
8.9 µs8.4 µs
python_parse_true_array
crates/jiter/benches/python.rs::benches::python_parse_true_array
CodSpeed Performance Gauge
+5%
15.5 µs14.7 µs
sentence_jiter_skip
crates/jiter/benches/main.rs::benches::sentence_jiter_skip
CodSpeed Performance Gauge
+3%
1.9 µs1.8 µs
unicode_jiter_skip
crates/jiter/benches/main.rs::benches::unicode_jiter_skip
CodSpeed Performance Gauge
+3%
2 µs2 µs
python_parse_x100_not_cached
crates/jiter/benches/python.rs::benches::python_parse_x100_not_cached
CodSpeed Performance Gauge
+3%
3.4 µs3.4 µs
python_parse_other
crates/jiter/benches/python.rs::benches::python_parse_other
CodSpeed Performance Gauge
+2%
6.9 µs6.7 µs
python_parse_string_array_unique
crates/jiter/benches/python.rs::benches::python_parse_string_array_unique
CodSpeed Performance Gauge
+2%
2.3 ms2.2 ms
pass1_jiter_value
crates/jiter/benches/main.rs::benches::pass1_jiter_value
CodSpeed Performance Gauge
+2%
32.9 µs32.4 µs
pass1_jiter_skip
crates/jiter/benches/main.rs::benches::pass1_jiter_skip
CodSpeed Performance Gauge
+2%
11.9 µs11.7 µs
true_array_jiter_skip
crates/jiter/benches/main.rs::benches::true_array_jiter_skip
CodSpeed Performance Gauge
+1%
4 µs4 µs
python_parse_string_array
crates/jiter/benches/python.rs::benches::python_parse_string_array
CodSpeed Performance Gauge
+1%
27 µs26.8 µs
python_parse_x100
crates/jiter/benches/python.rs::benches::python_parse_x100
CodSpeed Performance Gauge
+1%
3.6 µs3.6 µs
python_parse_numeric
crates/jiter/benches/python.rs::benches::python_parse_numeric
CodSpeed Performance Gauge
+1%
13.9 µs13.8 µs
python_parse_string_array_not_cached
crates/jiter/benches/python.rs::benches::python_parse_string_array_not_cached
CodSpeed Performance Gauge
+1%
39.1 µs38.8 µs
true_array_jiter_iter
crates/jiter/benches/main.rs::benches::true_array_jiter_iter
CodSpeed Performance Gauge
+1%
3.7 µs3.7 µs
true_array_jiter_value
crates/jiter/benches/main.rs::benches::true_array_jiter_value
CodSpeed Performance Gauge
+1%
15.1 µs15 µs
true_object_jiter_value
crates/jiter/benches/main.rs::benches::true_object_jiter_value
CodSpeed Performance Gauge
+1%
27.5 µs27.3 µs
python_parse_medium_response
crates/jiter/benches/python.rs::benches::python_parse_medium_response
CodSpeed Performance Gauge
+1%
57.5 µs57.2 µs
short_numbers_serde_value
crates/jiter/benches/main.rs::benches::short_numbers_serde_value
CodSpeed Performance Gauge
+1%
539 µs536.3 µs
floats_array_jiter_value
crates/jiter/benches/main.rs::benches::floats_array_jiter_value
CodSpeed Performance Gauge
+1%
267 µs265.6 µs
true_object_serde_value
crates/jiter/benches/main.rs::benches::true_object_serde_value
CodSpeed Performance Gauge
0%
72 µs71.7 µs
short_numbers_jiter_value
crates/jiter/benches/main.rs::benches::short_numbers_jiter_value
CodSpeed Performance Gauge
0%
140.6 µs139.9 µs
bigints_array_jiter_iter
crates/jiter/benches/main.rs::benches::bigints_array_jiter_iter
CodSpeed Performance Gauge
0%
119.6 µs119.1 µs
massive_ints_array_jiter_iter
crates/jiter/benches/main.rs::benches::massive_ints_array_jiter_iter
CodSpeed Performance Gauge
0%
566.4 µs564.1 µs

Commits

Click on a commit to change the comparison range
Base
main
dcdc93d
-0.46%
expose `known_number_bytes` and parser methods for bytes -> number
c023b5d
5 days ago
by davidhewitt
-10.35%
go for `from_bytes` methods, add tests
38ec6a9
24 hours ago
by davidhewitt
+10.7%
fmt
0bb223a
12 hours ago
by davidhewitt
© 2026 CodSpeed Technology
Home Terms Privacy Docs