hgrecco
pint
BlogDocsChangelog

Implement sorting units by dimension order

#1864Closed
Comparing
MichaelTiemannOSC:dim_order
(
957e9ca
) with
master
(
0f24b6f
)
CodSpeed Performance Gauge
+1%
Untouched
439

Benchmarks

439 total
test_parse_units[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+10%
52.5 µs47.7 µs
test_op2[mul-keys16]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+7%
121.6 µs114 µs
test_to_units_container_detached[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
46.4 µs43.7 µs
test_to_units_container_detached[True-meter]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
46.1 µs43.4 µs
test_to_units_container_registry[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
46.5 µs43.8 µs
test_op2[mul-keys18]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
121 µs114.1 µs
test_to_units_container_registry[True-meter]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
46.5 µs43.9 µs
test_parse_units[True-second]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
50.9 µs48 µs
test_op1[truth-float_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
41.2 µs38.9 µs
test_parse_units[True-meter]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
50.7 µs47.9 µs
test_parse_units[True-minute]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
50.8 µs48 µs
test_op1[truth-complex_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
39.7 µs37.5 µs
test_op2[mul-keys31]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
119.9 µs113.5 µs
test_parse_units[True-kilometer]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
50.7 µs48 µs
test_parse_units[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
50.7 µs48 µs
test_op2[mul-keys17]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
121.4 µs115 µs
test_op2[mul-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
120.1 µs114.1 µs
test_op2[add-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
169.5 µs161.4 µs
test_op2[add-keys7]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
168 µs160.1 µs
test_op2[truediv-keys15]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
125.1 µs119.5 µs
test_op2[truediv-keys33]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
124.2 µs118.9 µs
test_op2[mul-keys34]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
122.2 µs117 µs
test_getattr[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+4%
81.8 µs78.4 µs
test_op2[eq-keys11]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
72.3 µs69.4 µs
test_op2[mul-keys7]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
120.3 µs115.5 µs

Commits

Click on a commit to change the comparison range
Base
master
0f24b6f
+0.61%
Implement sorting units by dimension order
9320a32
2 years ago
by MichaelTiemannOSC
+0.07%
pre-commit fixes
cdf7e65
2 years ago
by MichaelTiemannOSC
+0.14%
Make sort_dims default and sorting user-defineable
1d7327a
2 years ago
by MichaelTiemannOSC
-0.58%
Documentation and code cleanups
eae6856
2 years ago
by MichaelTiemannOSC
-0.03%
Update formatting.py
58f2461
2 years ago
by MichaelTiemannOSC
-0.01%
Update tutorial.rst
b4b4616
2 years ago
by MichaelTiemannOSC
+0.27%
Update tutorial.rst
45a3909
2 years ago
by MichaelTiemannOSC
+0.01%
Update tutorial.rst
69f9474
2 years ago
by MichaelTiemannOSC
+0.09%
Merge remote-tracking branch 'upstream' into dim_order
f5ad245
2 years ago
by MichaelTiemannOSC
+1.01%
Add dim_order to BaseFormatter
f9e9dba
2 years ago
by MichaelTiemannOSC
-0.98%
Make black and ruff happy.
0b04965
2 years ago
by MichaelTiemannOSC
+1.34%
Update requirements_docs.txt
41dcc42
2 years ago
by MichaelTiemannOSC
-1.13%
Revert "Update requirements_docs.txt"
957e9ca
2 years ago
by MichaelTiemannOSC
© 2026 CodSpeed Technology
Home Terms Privacy Docs