Avatar for the pydantic user
pydantic
jiter
BlogDocsChangelog

simd int and string parsing on aarch64

#65Merged
Comparing
int-simd
(
fc7570a
) with
main
(
37f9138
)
CodSpeed Performance Gauge
+15%
Improvements
3
Regressions
0
Untouched
53
New
3
Dropped
0
Ignored
0

Benchmarks

Improved

massive_ints_array_jiter_iter
crates/jiter/benches/main.rs::massive_ints_array_jiter_iter
CodSpeed Performance Gauge
+15%
740.8 µs
642.1 µs
bigints_array_jiter_iter
crates/jiter/benches/main.rs::bigints_array_jiter_iter
CodSpeed Performance Gauge
+13%
147 µs
130.5 µs
massive_ints_array_jiter_value
crates/jiter/benches/main.rs::massive_ints_array_jiter_value
CodSpeed Performance Gauge
+10%
949.7 µs
861.2 µs

New

short_numbers_jiter_value
crates/jiter/benches/main.rs::short_numbers_jiter_value
CodSpeed Performance Gauge
N/A
N/A
853.9 µs
short_numbers_serde_value
crates/jiter/benches/main.rs::short_numbers_serde_value
CodSpeed Performance Gauge
N/A
N/A
2.8 ms
python_parse_massive_ints_array
crates/jiter/benches/python.rs::python_parse_massive_ints_array
CodSpeed Performance Gauge
N/A
N/A
7.2 ms

Passed

big_jiter_value
crates/jiter/benches/main.rs::big_jiter_value
CodSpeed Performance Gauge
+4%
54.5 ms
52.3 ms
big_jiter_iter
crates/jiter/benches/main.rs::big_jiter_iter
CodSpeed Performance Gauge
+3%
36.2 ms
35.2 ms
big_serde_value
crates/jiter/benches/main.rs::big_serde_value
CodSpeed Performance Gauge
+2%
204.7 ms
199.9 ms
python_parse_true_array
crates/jiter/benches/python.rs::python_parse_true_array
CodSpeed Performance Gauge
+2%
16.1 µs
15.7 µs
bigints_array_jiter_value
crates/jiter/benches/main.rs::bigints_array_jiter_value
CodSpeed Performance Gauge
+2%
230.6 µs
226 µs
true_array_jiter_iter
crates/jiter/benches/main.rs::true_array_jiter_iter
CodSpeed Performance Gauge
+2%
4.9 µs
4.8 µs
python_parse_other
crates/jiter/benches/python.rs::python_parse_other
CodSpeed Performance Gauge
+2%
6.4 µs
6.3 µs
lazy_map_lookup_2_20
crates/jiter/benches/main.rs::lazy_map_lookup_2_20
CodSpeed Performance Gauge
+2%
24.9 µs
24.5 µs
pass1_jiter_value
crates/jiter/benches/main.rs::pass1_jiter_value
CodSpeed Performance Gauge
+2%
37.8 µs
37.2 µs
true_array_jiter_value
crates/jiter/benches/main.rs::true_array_jiter_value
CodSpeed Performance Gauge
+2%
17 µs
16.7 µs
medium_response_serde_value
crates/jiter/benches/main.rs::medium_response_serde_value
CodSpeed Performance Gauge
+1%
84.1 µs
82.9 µs
x100_serde_value
crates/jiter/benches/main.rs::x100_serde_value
CodSpeed Performance Gauge
+1%
3.6 µs
3.5 µs
sentence_serde_value
crates/jiter/benches/main.rs::sentence_serde_value
CodSpeed Performance Gauge
+1%
10 µs
9.9 µs
unicode_serde_value
crates/jiter/benches/main.rs::unicode_serde_value
CodSpeed Performance Gauge
+1%
10.2 µs
10.1 µs
string_array_serde_value
crates/jiter/benches/main.rs::string_array_serde_value
CodSpeed Performance Gauge
0%
49.6 µs
49.4 µs
python_parse_numeric
crates/jiter/benches/python.rs::python_parse_numeric
CodSpeed Performance Gauge
0%
13.5 µs
13.5 µs
true_object_jiter_value
crates/jiter/benches/main.rs::true_object_jiter_value
CodSpeed Performance Gauge
0%
30.5 µs
30.5 µs
floats_array_jiter_value
crates/jiter/benches/main.rs::floats_array_jiter_value
CodSpeed Performance Gauge
0%
317.8 µs
317.3 µs
floats_array_serde_value
crates/jiter/benches/main.rs::floats_array_serde_value
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
massive_ints_array_serde_value
crates/jiter/benches/main.rs::massive_ints_array_serde_value
CodSpeed Performance Gauge
0%
2.2 ms
2.2 ms
bigints_array_serde_value
crates/jiter/benches/main.rs::bigints_array_serde_value
CodSpeed Performance Gauge
0%
726.4 µs
726.3 µs
floats_array_jiter_iter
crates/jiter/benches/main.rs::floats_array_jiter_iter
CodSpeed Performance Gauge
0%
179.8 µs
179.8 µs
pass2_jiter_iter
crates/jiter/benches/main.rs::pass2_jiter_iter
CodSpeed Performance Gauge
0%
6.5 µs
6.5 µs
python_parse_x100_not_cached
crates/jiter/benches/python.rs::python_parse_x100_not_cached
CodSpeed Performance Gauge
0%
3.5 µs
3.5 µs
true_object_serde_value
crates/jiter/benches/main.rs::true_object_serde_value
CodSpeed Performance Gauge
0%
75 µs
75.1 µs
pass1_serde_value
crates/jiter/benches/main.rs::pass1_serde_value
CodSpeed Performance Gauge
0%
69.8 µs
70 µs
lazy_map_lookup_1_10
crates/jiter/benches/main.rs::lazy_map_lookup_1_10
CodSpeed Performance Gauge
0%
9.2 µs
9.2 µs
python_parse_medium_response
crates/jiter/benches/python.rs::python_parse_medium_response
CodSpeed Performance Gauge
0%
54.3 µs
54.5 µs
python_parse_string_array
crates/jiter/benches/python.rs::python_parse_string_array
CodSpeed Performance Gauge
0%
26 µs
26.1 µs
unicode_jiter_iter
crates/jiter/benches/main.rs::unicode_jiter_iter
CodSpeed Performance Gauge
0%
8.8 µs
8.9 µs
string_array_jiter_value_owned
crates/jiter/benches/main.rs::string_array_jiter_value_owned
CodSpeed Performance Gauge
0%
39.4 µs
39.6 µs
python_parse_true_object
crates/jiter/benches/python.rs::python_parse_true_object
CodSpeed Performance Gauge
0%
54.3 µs
54.6 µs
lazy_map_lookup_3_50
crates/jiter/benches/main.rs::lazy_map_lookup_3_50
CodSpeed Performance Gauge
-1%
51.5 µs
51.8 µs
true_array_serde_value
crates/jiter/benches/main.rs::true_array_serde_value
CodSpeed Performance Gauge
-1%
23.8 µs
23.9 µs
python_parse_true_object_not_cached
crates/jiter/benches/python.rs::python_parse_true_object_not_cached
CodSpeed Performance Gauge
-1%
71.7 µs
72.3 µs
string_array_jiter_value
crates/jiter/benches/main.rs::string_array_jiter_value
CodSpeed Performance Gauge
-1%
20.6 µs
20.7 µs
python_parse_string_array_unique_not_cached
crates/jiter/benches/python.rs::python_parse_string_array_unique_not_cached
CodSpeed Performance Gauge
-1%
3.7 ms
3.7 ms
unicode_jiter_value
crates/jiter/benches/main.rs::unicode_jiter_value
CodSpeed Performance Gauge
-1%
9.9 µs
9.9 µs
x100_serde_iter
crates/jiter/benches/main.rs::x100_serde_iter
CodSpeed Performance Gauge
-1%
3 µs
3 µs
sentence_jiter_value
crates/jiter/benches/main.rs::sentence_jiter_value
CodSpeed Performance Gauge
-1%
9.2 µs
9.3 µs
sentence_jiter_iter
crates/jiter/benches/main.rs::sentence_jiter_iter
CodSpeed Performance Gauge
-1%
8.2 µs
8.3 µs
medium_response_jiter_value_owned
crates/jiter/benches/main.rs::medium_response_jiter_value_owned
CodSpeed Performance Gauge
-1%
54.4 µs
55 µs
python_parse_medium_response_not_cached
crates/jiter/benches/python.rs::python_parse_medium_response_not_cached
CodSpeed Performance Gauge
-1%
64.6 µs
65.4 µs
pass2_serde_value
crates/jiter/benches/main.rs::pass2_serde_value
CodSpeed Performance Gauge
-1%
15.8 µs
16 µs
python_parse_string_array_not_cached
crates/jiter/benches/python.rs::python_parse_string_array_not_cached
CodSpeed Performance Gauge
-1%
39.9 µs
40.4 µs
pass2_jiter_value
crates/jiter/benches/main.rs::pass2_jiter_value
CodSpeed Performance Gauge
-1%
22.5 µs
22.8 µs
medium_response_jiter_value
crates/jiter/benches/main.rs::medium_response_jiter_value
CodSpeed Performance Gauge
-1%
42.4 µs
43 µs
python_parse_string_array_unique
crates/jiter/benches/python.rs::python_parse_string_array_unique
CodSpeed Performance Gauge
-2%
2.3 ms
2.3 ms
python_parse_x100
crates/jiter/benches/python.rs::python_parse_x100
CodSpeed Performance Gauge
-2%
3.6 µs
3.7 µs
true_object_jiter_iter
crates/jiter/benches/main.rs::true_object_jiter_iter
CodSpeed Performance Gauge
-2%
21.3 µs
21.7 µs
string_array_jiter_iter
crates/jiter/benches/main.rs::string_array_jiter_iter
CodSpeed Performance Gauge
-4%
8.1 µs
8.4 µs
x100_jiter_iter
crates/jiter/benches/main.rs::x100_jiter_iter
CodSpeed Performance Gauge
-5%
1.2 µs
1.2 µs
x100_jiter_value
crates/jiter/benches/main.rs::x100_jiter_value
CodSpeed Performance Gauge
-5%
1.6 µs
1.7 µs

Commits

Click on a commit to change the comparison range
Base
main
37f9138
+15%
fix benchmarks
6f386fc
9 months ago
by samuelcolvin
0%
fix comments
3aeb18a
9 months ago
by samuelcolvin
0%
remove on_backslash macro
47aba14
9 months ago
by samuelcolvin
0%
add cargo-careful
37eb734
9 months ago
by samuelcolvin
0%
without cargo cache
5bda07f
9 months ago
by samuelcolvin
0%
fixes required by careful
c442f2f
9 months ago
by samuelcolvin
0%
bump rust cache
74ef054
9 months ago
by samuelcolvin
0%
clarify ONGOING_CHUNK_MULTIPLIER
4c6e06c
9 months ago
by samuelcolvin
0%
move comment
195f97d
9 months ago
by samuelcolvin
0%
NumberInt::try_from(&[u8])
0f8e3c0
9 months ago
by samuelcolvin
0%
one more test
2ba4502
9 months ago
by samuelcolvin
0%
update README
328f357
9 months ago
by samuelcolvin
0%
Merge branch 'main' into int-simd
fc7570a
9 months ago
by samuelcolvin
Home Terms PrivacyDocs