Avatar for the biotite-dev user
biotite-dev
biotite
BlogDocsChangelog

Fix `PanicException` for single residues in `connect_inter_residue()`

#882Merged
Comparing
padix-key:rust-connect-fix
(
9227c51
) with
rust
(
2e5ef85
)
CodSpeed Performance Gauge
-54%
Improvement
21
Regression
3
Untouched
73
New
3
Skipped
1

Benchmarks

101 total
benchmark_connect[connect_via_residue_names]
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
×12
50.6 ms4.3 ms
benchmark_connect[connect_via_distances]
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
×10
26.1 ms2.6 ms
benchmark_get_structure_with_bonds
benchmarks/structure/benchmark_pdb.py
CodSpeed Performance Gauge
×8.4
77.3 ms9.2 ms
benchmark_get_coord
benchmarks/structure/benchmark_pdb.py
CodSpeed Performance Gauge
×7.2
4,234.1 µs586.6 µs
benchmark_partial_charges
benchmarks/structure/benchmark_charges.py
CodSpeed Performance Gauge
×5.1
732.9 µs142.7 µs
benchmark_get_structure
benchmarks/structure/benchmark_pdb.py
CodSpeed Performance Gauge
×5
20.2 ms4 ms
benchmark_get_remark
benchmarks/structure/benchmark_pdb.py
CodSpeed Performance Gauge
×4.4
757.9 µs171.4 µs
benchmark_bond_list_creation
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
×3
815.7 µs269.3 µs
benchmark_set_structure
benchmarks/structure/benchmark_pdb.py
CodSpeed Performance Gauge
×3
34.3 ms11.4 ms
benchmark_set_structure_with_bonds
benchmarks/structure/benchmark_pdb.py
CodSpeed Performance Gauge
×2.9
34.2 ms11.7 ms
benchmark_cell_list_creation
benchmarks/structure/benchmark_celllist.py
CodSpeed Performance Gauge
×2.8
941.6 µs336.9 µs
benchmark_get_structure[bcif-True]
benchmarks/structure/benchmark_pdbx.py
CodSpeed Performance Gauge
×2.4
81.4 ms33.8 ms
benchmark_get_bonds
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
×2.1
15.3 ms7.3 ms
benchmark_read
benchmarks/structure/benchmark_pdb.py
CodSpeed Performance Gauge
+72%
3.5 ms2 ms
benchmark_get_structure[cif-True]
benchmarks/structure/benchmark_pdbx.py
CodSpeed Performance Gauge
+60%
124.5 ms77.7 ms
benchmark_concatenate
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
+55%
320.1 µs206.4 µs
benchmark_get_all_bonds
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
+23%
184.8 µs150.5 µs
benchmark_conversion[get_all_bonds]
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
+21%
181.1 µs149.5 µs
benchmark_encode
benchmarks/sequence/benchmark_alphabet.py
CodSpeed Performance Gauge
+17%
183.1 µs156.5 µs
benchmark_sasa
benchmarks/structure/benchmark_sasa.py
CodSpeed Performance Gauge
+12%
248.7 ms221.6 ms
benchmark_conversion[bond_type_matrix]
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
+10%
1.4 ms1.3 ms
benchmark_cell_list_compute_contacts[MAPPING]
benchmarks/structure/benchmark_celllist.py
CodSpeed Performance Gauge
N/A
N/A18.6 ms
benchmark_cell_list_compute_contacts[PAIRS]
benchmarks/structure/benchmark_celllist.py
CodSpeed Performance Gauge
N/A
N/A18.5 ms
benchmark_cell_list_compute_contacts[MASK]
benchmarks/structure/benchmark_celllist.py
CodSpeed Performance Gauge
N/A
N/A19.7 ms
benchmark_conversion[as_graph]
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
-26%
8.7 ms11.8 ms

Commits

Click on a commit to change the comparison range
Base
main
2e5ef85
-54.29%
Fix `PanicException` for single residues in `connect_inter_residue()`
9227c51
5 days ago
by padix-key
© 2026 CodSpeed Technology
Home Terms Privacy Docs