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

Make order of `BondType` enum member deterministic

#881Merged
Comparing
padix-key:rust-bond-type-fix
(
845510e
) with
rust
(
2e5ef85
)
CodSpeed Performance Gauge
-54%
Improvement
22
Regression
3
Untouched
72
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 µs587 µs
benchmark_partial_charges
benchmarks/structure/benchmark_charges.py
CodSpeed Performance Gauge
×5.1
732.9 µs143.5 µ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.2 µs
benchmark_bond_list_creation
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
×3
815.7 µs269.1 µ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
×3
34.2 ms11.5 ms
benchmark_cell_list_creation
benchmarks/structure/benchmark_celllist.py
CodSpeed Performance Gauge
×2.8
941.6 µs338.5 µ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.2 ms
benchmark_read
benchmarks/structure/benchmark_pdb.py
CodSpeed Performance Gauge
+71%
3.5 ms2 ms
benchmark_get_structure[cif-True]
benchmarks/structure/benchmark_pdbx.py
CodSpeed Performance Gauge
+60%
124.5 ms77.8 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.8 µs
benchmark_conversion[get_all_bonds]
benchmarks/structure/benchmark_bonds.py
CodSpeed Performance Gauge
+21%
181.1 µs149.8 µs
benchmark_encode
benchmarks/sequence/benchmark_alphabet.py
CodSpeed Performance Gauge
+17%
183.1 µs156.6 µ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_deserialize_pdbx[bcif]
benchmarks/structure/benchmark_pdbx.py
CodSpeed Performance Gauge
+10%
110 ms100 ms
benchmark_cell_list_compute_contacts[MASK]
benchmarks/structure/benchmark_celllist.py
CodSpeed Performance Gauge
N/A
N/A19.7 ms
benchmark_cell_list_compute_contacts[MAPPING]
benchmarks/structure/benchmark_celllist.py
CodSpeed Performance Gauge
N/A
N/A18.5 ms
benchmark_cell_list_compute_contacts[PAIRS]
benchmarks/structure/benchmark_celllist.py
CodSpeed Performance Gauge
N/A
N/A18.4 ms

Commits

Click on a commit to change the comparison range
Base
main
2e5ef85
-54.28%
Make order of `BondType` enum member deterministic
845510e
6 days ago
by padix-key
© 2026 CodSpeed Technology
Home Terms Privacy Docs