BlogDocs

use hashbrown to speedup python string caching(#43)

Closed
Comparing
py2-hashbrown2
(
5944b31
) with
dh/py2
(
d98f5ed
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
37
NEW
2
DROPPED
0
IGNORED
0

Benchmarks

New

python_parse_string_array_unique
crates/jiter/benches/python.rs::python_parse_string_array_unique
N/A
N/A
10.6 ms
python_parse_string_array_unique_not_cached
crates/jiter/benches/python.rs::python_parse_string_array_unique_not_cached
N/A
N/A
22.8 ms

Passed

python_parse_string_array_not_cached
crates/jiter/benches/python.rs::python_parse_string_array_not_cached
+9%
44.7 µs
41 µs
python_parse_other
crates/jiter/benches/python.rs::python_parse_other
+3%
6.5 µs
6.3 µs
medium_response_serde_value
crates/jiter/benches/main.rs::medium_response_serde_value
+2%
88.5 µs
86.4 µs
string_array_jiter_value
crates/jiter/benches/main.rs::string_array_jiter_value
+1%
41.2 µs
40.6 µs
python_parse_string_array
crates/jiter/benches/python.rs::python_parse_string_array
+1%
26.2 µs
25.9 µs
big_serde_value
crates/jiter/benches/main.rs::big_serde_value
+1%
210.9 ms
208 ms
true_array_jiter_value
crates/jiter/benches/main.rs::true_array_jiter_value
+1%
18.1 µs
17.8 µs
true_array_jiter_iter
crates/jiter/benches/main.rs::true_array_jiter_iter
+1%
10.6 µs
10.5 µs
python_parse_medium_response_not_cached
crates/jiter/benches/python.rs::python_parse_medium_response_not_cached
+1%
71.3 µs
70.7 µs
big_jiter_value
crates/jiter/benches/main.rs::big_jiter_value
+1%
57.2 ms
56.8 ms
true_object_jiter_iter
crates/jiter/benches/main.rs::true_object_jiter_iter
0%
44 µs
43.8 µs
true_object_jiter_value
crates/jiter/benches/main.rs::true_object_jiter_value
0%
51.1 µs
50.9 µs
python_parse_medium_response
crates/jiter/benches/python.rs::python_parse_medium_response
0%
55.3 µs
55.2 µs
bigints_array_jiter_iter
crates/jiter/benches/main.rs::bigints_array_jiter_iter
0%
218.8 µs
218.7 µs
bigints_array_jiter_value
crates/jiter/benches/main.rs::bigints_array_jiter_value
0%
236.2 µs
236.1 µs
floats_array_jiter_value
crates/jiter/benches/main.rs::floats_array_jiter_value
0%
322.9 µs
322.8 µs
pass2_jiter_iter
crates/jiter/benches/main.rs::pass2_jiter_iter
0%
7.2 µs
7.2 µs
floats_array_serde_value
crates/jiter/benches/main.rs::floats_array_serde_value
0%
1.1 ms
1.1 ms
massive_ints_array_serde_value
crates/jiter/benches/main.rs::massive_ints_array_serde_value
0%
2.2 ms
2.2 ms
big_jiter_iter
crates/jiter/benches/main.rs::big_jiter_iter
0%
42 ms
42 ms
bigints_array_serde_value
crates/jiter/benches/main.rs::bigints_array_serde_value
0%
734.1 µs
735.1 µs
floats_array_jiter_iter
crates/jiter/benches/main.rs::floats_array_jiter_iter
0%
207.6 µs
207.9 µs
massive_ints_array_jiter_value
crates/jiter/benches/main.rs::massive_ints_array_jiter_value
0%
972.2 µs
974.4 µs
massive_ints_array_jiter_iter
crates/jiter/benches/main.rs::massive_ints_array_jiter_iter
0%
943.9 µs
946.4 µs
python_parse_numeric
crates/jiter/benches/python.rs::python_parse_numeric
0%
13.2 µs
13.2 µs
true_object_serde_value
crates/jiter/benches/main.rs::true_object_serde_value
0%
77.8 µs
78 µs
medium_response_jiter_value
crates/jiter/benches/main.rs::medium_response_jiter_value
0%
56.1 µs
56.4 µs
string_array_serde_value
crates/jiter/benches/main.rs::string_array_serde_value
-1%
50.9 µs
51.2 µs
python_parse_true_object_not_cached
crates/jiter/benches/python.rs::python_parse_true_object_not_cached
-1%
74.1 µs
74.9 µs
pass1_serde_value
crates/jiter/benches/main.rs::pass1_serde_value
-1%
71.3 µs
72.3 µs
string_array_jiter_iter
crates/jiter/benches/main.rs::string_array_jiter_iter
-2%
16.4 µs
16.7 µs
true_array_serde_value
crates/jiter/benches/main.rs::true_array_serde_value
-2%
25.2 µs
25.6 µs
pass2_jiter_value
crates/jiter/benches/main.rs::pass2_jiter_value
-2%
22.8 µs
23.2 µs
pass1_jiter_value
crates/jiter/benches/main.rs::pass1_jiter_value
-2%
44.1 µs
45 µs
python_parse_true_array
crates/jiter/benches/python.rs::python_parse_true_array
-4%
16.5 µs
17.1 µs
pass2_serde_value
crates/jiter/benches/main.rs::pass2_serde_value
-5%
16.4 µs
17.2 µs
python_parse_true_object
crates/jiter/benches/python.rs::python_parse_true_object
-5%
54.4 µs
57.2 µs

Commits

Click on a commit to change the comparison range
base
dh/py2
d98f5ed
0%
use hashbrown to speedup python string caching
5944b31
11 months ago
by samuelcolvin
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.