Avatar for the hgrecco user
hgrecco
pint
BlogDocsChangelog

Converting units without default definition to prefixed forms (#2261)

#2282Merged
Comparing
PhilippVerpoort:bugfix/units-wo-default-unexpected-nans
(
8266050
) with
master
(
df412ef
)
CodSpeed Performance Gauge
0%
Untouched
448

Benchmarks

448 total
test_getattr[True-kilometer]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+9%
87.2 µs80.4 µs
test_parse_units[True-second]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
61.9 µs58.6 µs
test_op2[eq-keys12]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
62.7 µs59.4 µs
test_op2[eq-keys4]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
62.4 µs59.1 µs
test_op2[eq-keys14]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
61.7 µs58.5 µs
test_op2[eq-keys33]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
62.7 µs59.5 µs
test_op2[eq-keys23]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
63.3 µs60.1 µs
test_op2[eq-keys7]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
61 µs57.9 µs
test_op2[eq-keys35]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
61.9 µs58.8 µs
test_op2[eq-keys2]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
62.2 µs59 µs
test_op2[eq-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
62.4 µs59.3 µs
test_op2[eq-keys28]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
62.6 µs59.5 µs
test_op2[eq-keys24]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
62.7 µs59.6 µs
test_op2[eq-keys26]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
61.9 µs58.9 µs
test_op2[eq-keys16]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
63.7 µs60.6 µs
test_op2[eq-keys0]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
63.7 µs60.6 µs
test_op2[eq-keys21]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
62.1 µs59.2 µs
test_op2[eq-keys11]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
62.6 µs59.8 µs
test_build_by_mul[int]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
77.5 µs74.2 µs
test_finding_meter_getattr
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+3%
79.3 µs77 µs
test_op2[truediv-keys15]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
142.6 µs138.7 µs
test_base_units[False-meter]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+3%
82.5 µs80.3 µs
test_base_units[angstrom/minute]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+3%
74.2 µs72.3 µs
test_getattr[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+3%
80.6 µs78.5 µs
test_getattr[True-second]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+3%
82.4 µs80.3 µs

Commits

Click on a commit to change the comparison range
Base
master
df412ef
+0.45%
Converting units without default definition to prefixed forms (#2261)
8266050
11 days ago
by PhilippVerpoort
© 2026 CodSpeed Technology
Home Terms Privacy Docs