Avatar for the hgrecco user
hgrecco
pint
BlogDocsChangelog

to_compact: support uncertainties' Magnitudes , keeping warning

#1911Merged
Comparing
andrewgsavage:ndarray_strip
(
188c87e
) with
master
(
29a139f
)
CodSpeed Performance Gauge
+1%
Untouched
439

Benchmarks

439 total
test_create_empty_registry
pint/testsuite/benchmarks/test_01_registry_creation.py
CodSpeed Performance Gauge
+18%
769.5 µs650.5 µs
test_op2[truediv-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+8%
129 µs119.7 µs
test_op2[mul-keys31]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-7%
110.8 µs119.4 µs
test_op2[mul-keys15]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+7%
121.3 µs113.6 µs
test_op2[add-keys11]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+7%
172.5 µs161.7 µs
test_op2[truediv-keys7]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+7%
131.7 µs123.4 µs
test_base_units[True-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
-7%
65.3 µs70 µs
test_op2[truediv-keys10]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
128.3 µs120.6 µs
test_op2[truediv-keys25]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
128.6 µs121 µs
test_op2[add-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
169.5 µs159.6 µs
test_op1[neg-complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-6%
68.1 µs72.5 µs
test_base_units[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
-6%
70.8 µs75.3 µs
test_base_units[True-meter]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
-6%
71 µs75.4 µs
test_op2[truediv-keys24]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
126.6 µs119.6 µs
test_base_units[True-angstrom/minute]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
-6%
69.1 µs73.4 µs
test_op2[mul-keys25]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-6%
114.6 µs121.3 µs
test_op2[add0-keys3]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
-5%
176.2 µs186.3 µs
test_build_by_mul[complex]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
142.6 µs135.2 µs
test_op2[sub-keys31]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
168.8 µs160.3 µs
test_op2[truediv-keys4]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
128.4 µs122 µs
test_op2[eq-keys28]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
63.9 µs67.4 µs
test_op2[truediv-keys0]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
127.7 µs121.4 µs
test_op2[eq-keys24]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
70.3 µs66.9 µs
test_op2[mul-keys10]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
112.3 µs118.1 µs
test_op2[truediv-keys1]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
128.7 µs122.6 µs

Commits

Click on a commit to change the comparison range
Base
master
29a139f
-2.63%
check magnitude is array
d331aaf
3 years ago
by andrewgsavage
+1.01%
numpy check
526fc05
3 years ago
by andrewgsavage
+2.15%
allow uncertainties in to_compact
188c87e
3 years ago
by andrewgsavage
© 2026 CodSpeed Technology
Home Terms Privacy Docs