BlogDocs

perf: Change `PlSmallStr` impl from `Arc<str>` to `compact_str`(#18508)

Merged
Comparing
nameexhaustion:pl-str-impl
(
54cd6ea
) with
main
(
7168479
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
37
NEW
0
DROPPED
0
IGNORED
1

Benchmarks

Passed

test_groupby_h2oai_q4
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q4
+11%
2 ms
1.8 ms
test_pdsh_q20
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q20
+11%
6.7 ms
6.1 ms
test_filter1
py-polars/tests/benchmark/test_filter.py::test_filter1
+8%
800.4 µs
738.7 µs
test_pdsh_q15
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q15
+8%
2.6 ms
2.4 ms
test_pdsh_q3
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q3
+8%
6.2 ms
5.7 ms
test_groupby_h2oai_q1
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q1
+8%
2.4 ms
2.3 ms
test_pdsh_q6
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q6
+5%
1.9 ms
1.9 ms
test_pdsh_q16
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q16
+5%
7.9 ms
7.6 ms
test_groupby_h2oai_q6
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q6
+3%
12.8 ms
12.4 ms
test_groupby_h2oai_q9
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q9
+3%
26.9 ms
26.1 ms
test_pdsh_q14
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q14
+2%
2.1 ms
2.1 ms
test_pdsh_q21
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q21
+1%
215.2 ms
212.1 ms
test_pdsh_q13
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q13
+1%
9.9 ms
9.8 ms
test_pdsh_q9
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q9
+1%
25.6 ms
25.4 ms
test_pdsh_q4
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q4
+1%
4.9 ms
4.8 ms
test_write_read_scan_large_csv
py-polars/tests/benchmark/test_io.py::test_write_read_scan_large_csv
+1%
31.8 ms
31.5 ms
test_groupby_h2oai_q7
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q7
+1%
2.1 ms
2.1 ms
test_to_numpy_series_with_nulls
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_with_nulls
0%
436.5 µs
434.7 µs
test_to_numpy_series_zero_copy
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_zero_copy
0%
124 µs
123.5 µs
test_to_numpy_series_chunked
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_chunked
0%
271.8 µs
271.5 µs
test_pdsh_q22
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q22
0%
6.7 ms
6.7 ms
test_pdsh_q10
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q10
0%
6.4 ms
6.4 ms
test_groupby_h2oai_q10
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q10
0%
6.4 ms
6.4 ms
test_pdsh_q7
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q7
-1%
9.3 ms
9.4 ms
test_groupby_h2oai_q5
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q5
-1%
1.9 ms
1.9 ms
test_pdsh_q1
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q1
-2%
16.2 ms
16.5 ms
test_pdsh_q18
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q18
-2%
11.4 ms
11.7 ms
test_pdsh_q17
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q17
-3%
6.7 ms
6.9 ms
test_pdsh_q19
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q19
-3%
7.3 ms
7.6 ms
test_pdsh_q8
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q8
-3%
5.3 ms
5.5 ms
test_groupby_h2oai_q3
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q3
-4%
2.4 ms
2.5 ms
test_pdsh_q12
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q12
-5%
6.2 ms
6.5 ms
test_pdsh_q11
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q11
-5%
3.7 ms
3.9 ms
test_pdsh_q2
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q2
-6%
3.5 ms
3.8 ms
test_groupby_h2oai_q8
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q8
-7%
2.8 ms
3 ms
test_pdsh_q5
py-polars/tests/benchmark/test_pdsh.py::test_pdsh_q5
-7%
4.5 ms
4.9 ms
test_groupby_h2oai_q2
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q2
-8%
4.6 ms
5 ms

Ignored

test_filter2Ignored
py-polars/tests/benchmark/test_filter.py::test_filter2
+5%
1.1 ms
1.1 ms

Commits

Click on a commit to change the comparison range
base
main
7168479
0%
c
81642cb
2 months ago
by nameexhaustion
+1%
c
54cd6ea
2 months ago
by nameexhaustion
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.